Configuring LPSPI to transfer data using DMA


Configuring LPSPI to transfer data using DMA

145 次查看
Contributor I

Hi everyone,

I need help configuring the LPSPI module of the IMXRT1062 processor to use DMA unit to transfer data to an external DAC from a sine lookup table. I want to generate a 1 kHz AM sine wave. The CPU is preoccupied with other necessary tasks and assigning the generation of the sine wave to the CPU would badly affect the system performance. I also want a callback function to be called when a complete cycle of a sine wave is generated. The lookup table has 128 entries for a complete sine wave cycle. We are using MQX RTOS. Any help and preferably examples would be greatly appreciated.


0 项奖励
0 回复数