I'm encountering an issue while using the S32G UART API in FreeRTOS. Here are my environment settings:
I am using RTD version: 4.0.2, with the OStype set to FreeRTOS in the baseNXP module.
Both the FreeRTOS and UART modules are using their default settings.
When I call Linflexd_Uart_Ip_AsyncSend within a task, it triggers the uart_irq_handler. Upon the transmission of the last piece of data,
the Linflexd_Uart_Ip_CompleteSendUsingInterrupts, Linflexd_Uart_Ip_SetInterruptMode, SchM_Enter_Uart_UART_EXCLUSIVE_AREA_02, and OsIf_SuspendAllInterrupts are invoked in the Uart_Irq_handler.
Finally, OsIf_SuspendAllInterrupts calls FreeRTOS's taskENTER_CRITICAL, which triggers configASSERT.
Could you please help me resolve this issue?
Should I use taskENTER_CRITICAL_FROM_ISR instead of taskENTER_CRITICAL in the Uart_irq_handler?


