Luca Ferrario

Codewarrior Expert SPI Events

Discussion created by Luca Ferrario on Jan 20, 2020
Latest reply on Jan 24, 2020 by Diana Batrlova


I've a problem with the expert code generator and SPI, I've setted SM1 SyncroMaster in this way:



My problem is that I don't see any event triggerd or any output on the pins (SCK, MOSI, MISO) and I am using for testing:

SM1_SendChar(0);          // Send zero

After 8 bit the senChar() function reply with ERR_TXFULL error. So No data is trasferred from the TX buffer.

There is something wrong in my settings?



Thank you!!