I used S32K312 RTD4.0.0. I referred to several examples in the forum, but encountered several problems when the code ran
1. Define whether uint8_t Rx_Buffer[MSG_LEN] needs to be written as __attribute__((aligned(32))) uint8_t Rx_Buffer[MSG_LEN] __attribute__((section. (".mcal_bss_no_cacheable"))); Why?
2. After the program runs, it will get stuck here, with the status always being busy and not running further. Uart_TransmitStatus = Lpuart_Uart_Ip_GetTransmitStatus(transChannel, &T_bytesRemaining);
3. I don't understand the difference between using DMA and the interrupt method. Is it because DMA reduces the number of times entering interrupts? When will DMA trigger an interrupt for me to read the group, or can I read the group by query? How can I know which address of the storage array should be found in this query by query?
