UART Not working always on-going transmission

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 

UART Not working always on-going transmission

225 次查看
AchrafOukheir
Contributor III

Hello all,
I am working with the HVBMS Battery Management Unit using S32K344 (BMU). I have started a project from scratch based on FreeRTOS and I want to add some components. I began with UART but I am facing an issue with it. I have configured the port and UART correctly to work with external components.

AchrafOukheir_0-1713469483756.png

 



I initialized the port using Siul2_Port_Ip_Init(NUM_OF_CONFIGURED_PINS, g_pin_mux_InitConfigArr); because Port_Init(NULL_PTR); doesn't work correctly. However, the main purpose of initializing the port driver, which is SIUL2_PORT_SUCCESS, is accomplished.

I also initialized the UART using Uart_Init(NULL_PTR);. After that, I created a UART task and implemented data transmission based on the uart_example_s32k344 example.

However, during debugging, I noticed that it is stuck in the ongoing transmission state (UART_STATUS_OPERATION_ONGOING == TransmitStatus). I have followed all the basic steps from the example, but nothing seems to happen. I have attached the project here in case someone wants to take a look.

Thank you in advance.

标记 (3)
0 项奖励
回复
1 回复

149 次查看
AchrafOukheir
Contributor III

Unfortunately, it seems like no one has any idea about what's going on with the UART work. It always returns the ongoing status.

0 项奖励
回复