Re: SPI的SCK跑不出CLOCK?
|
||||
---|---|---|---|---|
版主
|
老問題,請注意一下 SPI 有四種 Mode,你必須確定你的加速規是在那種模式下工作的,30F4011 這裡也要跟著配合,還是相同的話請用示波器再次確認 SCK 的 Idle 電位?
發表於: 2010/2/23 10:35
|
|||
|
Re: SPI的SCK跑不出CLOCK?
|
||||
---|---|---|---|---|
新會員
|
您程式中有SPI傳送DATA的部份嗎?
應只有在DATA放置SPI buffer後,SPI傳輸時SCK才有CLOCK產生~~
發表於: 2010/2/22 13:52
|
|||
|
Re: SPI的SCK跑不出CLOCK?
|
||||
---|---|---|---|---|
版主
|
你用那一顆 16-bit 的 PIC? 是不是有 PPS 的功能元件?
還是他有兩組 SPI 的介面元件?
發表於: 2010/2/22 9:56
|
|||
|
SPI的SCK跑不出CLOCK?
|
||||
---|---|---|---|---|
高級會員
|
各位先進你們好
小弟在測試SPI的每個接腳 發現SCLK這個接腳沒有訊號 都維持高準位(5V) 後來我把在這下載SPI的範例程式 把主要程式忽略 只保留SPI那部份 也就是只打開SPI 也跑不出CLOCK 不知道問題出現在哪?
發表於: 2010/2/20 18:38
|
|||
|