SPI driveer question

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

SPI driveer question

1,085件の閲覧回数
barbercolman
Contributor III

Hi

I have used the MQS spi to control an eeprom which the spi demo did with out any trouble. However, I now want to send and receive data packet  using the PSI port on a TWR-K60. I am not sure the SPI demo is still the correct demo to follow.

 

I want to send a 32 byte packet in master mode and at the same time receive the responce packet at the same time. Also I the K60 should be able to handle the SS line for me. Any examples or sample code?

0 件の賞賛
返信
1 返信

879件の閲覧回数
pavel_chromy
NXP Employee
NXP Employee

Hello,

the SPI example also shows how to perform duplex read/write operation using IO_IOCTL_SPI_READ_WRITE ioctl command. Please follow this part of the example.

Pavel

0 件の賞賛
返信