SPI driveer question

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

SPI driveer question

1,086 Views
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 Kudos
Reply
1 Reply

880 Views
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 Kudos
Reply