AnsweredAssumed Answered

KE04  SPI  READ WRITE

Question asked by jun yamada on Aug 1, 2019
Latest reply on Aug 6, 2019 by jun yamada

Thank you for your help.

 

I ask you a very basic question.
1. Use "SDK_2.6.0_MKE04Z128xxx4" for SPI communication.
When writing to the SPI device, set CS = L, write the register address or command, and send the data to be written next. This can be done with "SPI_MasterTransferNonBlocking".
When reading out, use "SPI_MasterTransferNonBlocking", write the register address and command, and then read out. At that time, for example, output 0 as a dummy and adopt the data input simultaneously with that clock. What?

 

2. If you have typical samples for writing and reading, please let us know.

Thank you.

Outcomes