Need help for ADC in DMA mode for S32K144 microcontroller

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

Need help for ADC in DMA mode for S32K144 microcontroller

369件の閲覧回数
rohit1749
Contributor III

Can someone help me by providing an example on how to use ADC in DMA mode. I'm facing difficulty with the calling sequence of DMA SDK driver APIs.

0 件の賞賛
返信
1 返信

132件の閲覧回数
yisey
Contributor I

To use ADC in DMA mode, first initialize and configure the ADC and DMA peripherals. Then, start the ADC with DMA by calling: HAL_ADC_Start_DMA(&hadc, (uint32_t*)buffer, buffer_length); Implement the DMA completion callback (e.g., HAL_ADC_ConvCpltCallback) to handle the data after transfer. Make sure DMA is properly configured to read from the ADC data register and write to your buffer. By the way, just like understanding complex processes in coding, sometimes in life we realize things about relationships too—like when we come across one sided friendship quotes that make us reflect on who truly puts effort into connections. Ask ChatGPT

0 件の賞賛
返信