Hi team,
Just to report...
Working with BCTU and DMA in S32K3_S32M27x Real-Time Drivers ASR R21-11 Version 6.0.0, I found that the following error:
'DMA_LOGIC_CH_0' undeclared here (not in a function); did you mean 'SA_DMA_LOGIC_CH_0'? Bctu_Ip_PBcfg.c
Such issue is easily fixed by adding in project/generate/src/Bctu_Ip_PBcfg.c every time the code is updated in Config Tools:
#define DMA_LOGIC_CH_0 ((uint8)0U)
For details, please refer to the following post:
S32M27x/S32K3 – eMIOS/BTCU/ADC/DMA – [RTD600] -> https://community.nxp.com/t5/S32M-Knowledge-Base/S32M27x-S32K3-eMIOS-BTCU-ADC-DMA-RTD600/ta-p/215554...
Is there a properly way to address such issue?
Thank you in advance for your help.
Have a nice day!
Best Regards,
Leonardo
Hi @_Leo_,
From my point of view, this issue is a bug of RTD driver. I raised a bug ticket (ARTD-202334) to the RTD team. I propose the solution as change "DMA_LOGIC_CH_0" to "SA_DMA_LOGIC_CH_0".
Best regards,
Dan