Re: 有人用dspic30f3011當spi的slave嗎?ss1為何沒有作用?
|
||||
---|---|---|---|---|
新會員
|
謝謝版主的回應,我已經知道原因了!
我的程式在其他地方將ADPCFGbits.PCFG2設為0導致這個問題,目前已ok了。 希望其他使用者不要犯了跟我一樣的錯誤喔。
發表於: 2008/1/8 16:21
|
|||
|
Re: 有人用dspic30f3011當spi的slave嗎?ss1為何沒有作用?
|
||||
---|---|---|---|---|
版主
|
Slave SPI 的 SPI1CON 暫存器裡的 SSEN 位元有沒有設為 "1"?
發表於: 2008/1/7 10:48
|
|||
|
有人用dspic30f3011當spi的slave嗎?ss1為何沒有作用?
|
||||
---|---|---|---|---|
新會員
|
各位先進:
我用dsPIC4011當Master,dsPIC3011當Slave,我已經將SPI1CON中的SSEN設為1,但是Slave不管SS1有無拉LOW,當Master來通訊時,都會接收DATA並將原本在SPI1BUF的DATA送出,有誰知道為什麼嗎?感恩
發表於: 2008/1/5 7:28
|
|||
|