2012年9月17日 星期一

microblaze example code

SPI
1.須將所有相關code 加到src中 ,設定正確device id, 拿掉loopback的設定
2.必須設定XSpi_SetSlaveSelect(不是XSpi_SetSlaveSelectReg)而且必須在初始化之後

MISO,意思是,如果是master mode,就當作input;如果是slave mode, 就當作output

沒有留言:

張貼留言