UART Not working always on-going transmission

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

UART Not working always on-going transmission

202件の閲覧回数
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 返信

126件の閲覧回数
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 件の賞賛