2005249_en-US

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

2005249_en-US

2005249_en-US

Custom DMA configuration for reading BCTU FIFO results

Hi,

I would like to configure the DMA to transfer FIFO data into a custom buffer I created. I want the DMA to transfer the data every time the FIFO is full and store the FIFO data in a destination array of the size 5 times the FIFO size (watermark value defines this size). After 5 FIFO data transfers are completed, an interrupt should be hit.

The BCTU FIFO full trigger (Trigger Source) should be routed to the DMA via the DMAMUX.

We do not want to use the Bctu_FifoSetupDma configuration that comes with the default BCTU DMA transfer configuration as that does not suit our needs as the interrupt will be triggered too often.

I have attached my project where I am trying to implement this design, but it the DMA transfer completion callback (Fifo1DmaComplete) is not triggered. Could you help me identify the reason for this issue?

Ayaz_0-1733153427622.png

Ayaz_1-1733153443123.png

Ayaz_2-1733153461935.png


Re: Custom DMA configuration for reading BCTU FIFO results

Hi,

with below modifications and attached main.c it gives results into buffer as per needs

PetrS_0-1733317013647.png

PetrS_1-1733317044665.png

PetrS_2-1733317096561.png

Hope it helps.

BR, Petr


Re: Custom DMA configuration for reading BCTU FIFO results

Hi,

if you want to have custom setting for reading result FIFO, you will need to remove Result FIFOs config from BCTU module and do necessary setting on BCTU and DMA by own.
Let me check your project.

BR, Petr

Re: Custom DMA configuration for reading BCTU FIFO resultsI have not received anything answer yetRe: Custom DMA configuration for reading BCTU FIFO resultsAdditional information :
S32K344
RTD 5.00
タグ(1)
評価なし
バージョン履歴
最終更新日:
‎11-21-2025 12:51 PM
更新者: