with S32K314, I am debugging Uart_AsyncSend on PIN140/PTC7/LPUART1_TX.
I plan to use DMA mode, the MCAL is generated with tresos studio 28.2
I can captuer the UART output data with oscilloscope, and the data is right what I send out.
But unfortunately, only one time transfer is OK.
After one time transfer, UartState/IsTxBusy is always '1'.
Solved! Go to Solution.
Hello @gufengzi,
The RM driver is the Resource driver in your RTD 2.0.3 configurator.
Anyway, the NVIC ISER registers are configured in Platform_Init().
Do you call the function?
Thank you,
BR, Daniel
I already checked DMATCD0_IRQn.
Hello @gufengzi,
I don't see the handler funtions in the screenshot you posted.
An example is attached to the case, it is for S32DS, but the configurator is very similar.
Regards,
Daniel
do you think the handler is Dma0_Ch0_IRQHander?
I already configured it.
Thank you, that looks correct.
What about the DMAMUX configuration in the RM configurator, can you share it?
Or can you share the whole project so that I can check it and test it on my side?
If you don't want to share it here, consider creating a support ticket.
Regards,
Daniel
hello Daniel,
I can not find DMAMUX and RM in my EB project.
Sorry the whole project can not be shared. how to create a support ticket?
Additionally, after I set 0xE000E100 to "1", it works well.
I think the reason is that I did not set the corresponding NVIC_ISER correctly.
Could you tell me how to set NVIC_ISER bit in EB project?
Thanks
Hello @gufengzi,
The RM driver is the Resource driver in your RTD 2.0.3 configurator.
Anyway, the NVIC ISER registers are configured in Platform_Init().
Do you call the function?
Thank you,
BR, Daniel