Configuring LPSPI to transfer data using DMA

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

Configuring LPSPI to transfer data using DMA

366件の閲覧回数
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 返答(返信)