Example S32K312 SPI Transmit & Receive Using Interrupt DS3.5 RTD300

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

Example S32K312 SPI Transmit & Receive Using Interrupt DS3.5 RTD300

Example S32K312 SPI Transmit & Receive Using Interrupt DS3.5 RTD300

*******************************************************************************

 The purpose of this demo application is to present a usage of the
 LPSPI IP Driver for the S32K3xx MCU.

 The example uses LPSPI2 for transmit & receive Twelve bytes using the SPI Interrupt Lpspi_Ip_AsyncTransmit() methodMOSI MISO connected on Hardware in loopback.


 ------------------------------------------------------------------------------
* Test HW: S32K3X2EVB-Q172
* MCU: S32K312
* Compiler: S32DS3.5
* SDK release: RTD 3.0.0
* Debugger: PE micro
* Target: internal_FLASH
********************************************************************************

Interrupt Triggered :--
Dinesh_Guleria_0-1733909921359.png



Async callback triggered at the end of transfer/reception :--
Lpspi_Ip_AsyncTransmit(&MASTER_EXTERNAL_DEVICE, txBuffer, rxBuffer, numberOfBytes, lpspi_callback_int);

Dinesh_Guleria_1-1733909974233.png

 


 

Dinesh_Guleria_0-1733909770614.png

 

Attachments
No ratings
Version history
Last update:
‎12-11-2024 02:46 AM
Updated by: