Re: eeprom的寫入問題
|
||||
---|---|---|---|---|
版主
|
是的,沒用到 SPI 中斷,SPIxIE 就要設為 0。
發表於: 2009/9/4 17:06
|
|||
|
Re: eeprom的寫入問題
|
||||
---|---|---|---|---|
新會員
|
還有一個問題,我沒有用到spi的中斷,是不是可以不用設置spi的中斷寄存器
發表於: 2009/9/4 16:48
|
|||
|
Re: eeprom的寫入問題
|
||||
---|---|---|---|---|
新會員
|
不是我自己寫的,是microchip圖形庫中的程式,最新1.75b
demo程式中EEPROM.c裏面的 謝謝你的連接 我先換一下試試
發表於: 2009/9/4 16:45
|
|||
|
Re: eeprom的寫入問題
|
||||
---|---|---|---|---|
版主
|
你的SPI函數是自己寫的嗎? Microchip C30 的 SPI 函數跟你的不一樣,請參考一下 SPI Library:
C:\Program Files\Microchip\MPLAB C30\docs\periph_lib\dsPIC30F_dsPIC33F_PIC24H_SPI_Help.htm 參考底下的範例 : http://www.microchip.com.tw/modules/w ... lefile.php?cid=12&lid=397 或裡面的 SPI 章節: http://www.microchip.com.tw/modules/w ... glefile.php?cid=4&lid=229
發表於: 2009/9/4 13:34
|
|||
|