Example S32K144 LPIT DMA LPSPI

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

Example S32K144 LPIT DMA LPSPI

Example S32K144 LPIT DMA LPSPI

********************************************************************************************
* Detailed Description:
* LPIT_ch0 triggers DMA_ch0 periodically (1ms).
* Every trigger starts a minor DMA loop (8 bytes) transfer to the LPSPI1 TX FIFO.
* There are 8 minor loops per one major loop (64 bytes in 8ms).
* LPSPI1 sends two 32bit frames every 1ms.

* LPSPI1 RX data are masked, they are not stored in the RX FIFO.
* ------------------------------------------------------------------------------
* Test HW: S32K144EVB-Q100
* MCU: S32K144 0N57U
* Debugger: S32DS 2.2, OpenSDA
* Target: internal_FLASH
********************************************************************************************

Attachments
%3CLINGO-SUB%20id%3D%22lingo-sub-1108628%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3EExample%20S32K144%20LPIT%20DMA%20LPSPI%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-1108628%22%20slang%3D%22en-US%22%20mode%3D%22CREATE%22%3E%3CP%3E********************************************************************************************%3CBR%20%2F%3E%20*%20Detailed%20Description%3A%3CBR%20%2F%3E%20*%20LPIT_ch0%20triggers%20DMA_ch0%20periodically%20(1ms).%3CBR%20%2F%3E%20*%20Every%20trigger%20starts%20a%20minor%20DMA%20loop%20(8%20bytes)%20transfer%20to%20the%20LPSPI1%20TX%20FIFO.%3CBR%20%2F%3E%20*%20There%20are%208%20minor%20loops%20per%20one%20major%20loop%20(64%20bytes%20in%208ms).%3CBR%20%2F%3E%20*%20LPSPI1%20sends%20two%2032bit%20frames%20every%201ms.%3C%2FP%3E%3CP%3E*%20LPSPI1%20RX%20data%20are%20masked%2C%20they%20are%20not%20stored%20in%20the%20RX%20FIFO.%3CBR%20%2F%3E%20*%20------------------------------------------------------------------------------%3CBR%20%2F%3E%20*%20Test%20HW%3A%20S32K144EVB-Q100%3CBR%20%2F%3E%20*%20MCU%3A%20S32K144%200N57U%3CBR%20%2F%3E%20*%20Debugger%3A%20S32DS%202.2%2C%20OpenSDA%3CBR%20%2F%3E%20*%20Target%3A%20internal_FLASH%3CBR%20%2F%3E%3CSPAN%3E********************************************************************************************%3C%2FSPAN%3E%3C%2FP%3E%3C%2FLINGO-BODY%3E
No ratings
Version history
Last update:
‎05-01-2020 08:22 AM
Updated by: