2024183_en-US

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

2024183_en-US

2024183_en-US

BCTU DMA

I’m working on reading ADC data using DMA. I’ve set up the DMA to trigger each time the FIFO is full, but I’m encountering an issue where the DMA only triggers once. I’m monitoring this with the Fifo1DmaComplete callback function. I’ve attached my project files. Could you help me identify the problem?

Re: BCTU DMA

Hi@Ayaz

It is fixed,Please use the callback function below. 

  • Dma0_CH1_IRQHandle 
  • Dma0_CH16_IRQHandle

Those two function will be called again in the program.

  • Bctu_Ip_Bctu0Fifo1DmaComplete
  • Bctu_Ip_Bctu0Fifo2DmaComplete 

"


Re: BCTU DMA

Yes , but should this one be used 

Bctu_Ip_Bctu0Fifo1DmaComplete

Bctu_Ip_Bctu0Fifo2DmaComplete 

Or 

  • Dma0_CH1_IRQHandle 
  • Dma0_CH16_IRQHandleWhat is the difference?
Re: BCTU DMA

Hi@Ayaz

Yes, you are right, but the callback function for the highlighted part is incorrect, please check it carefully.

Senlent_0-1736822742184.png

Re: BCTU DMA

Thanks for the info 
for this specific configuration, do we need to set the handle as shown in the image below or should it be replaced by 
Bctu_Ip_Bctu0Fifo1DmaComplete 
Bctu_Ip_Bctu0Fifo2DmaComplete
 what is the difference?  Skærmbillede 2025-01-13 152000.png

Re: BCTU DMA

Hi@Ayaz

The usage provided by our RTD is fixed, and the DMA configuration has been completed for the user. P

lease refer to the following usage

Senlent_1-1736416535174.png

Read ADC data from "BctuDmaFifo1" in "BctuWatermarkNotifFIFO1"

Senlent_0-1736416516104.png



Tags (1)
No ratings
Version history
Last update:
‎11-21-2025 04:33 PM
Updated by: