Configuring LPSPI to transfer data using DMA

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

Configuring LPSPI to transfer data using DMA

353 次查看
Amrit_9t8
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.

Thanks

0 项奖励
0 回复数