S32K312 EVB : freemaster not working : UART not detected

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

S32K312 EVB : freemaster not working : UART not detected

跳至解决方案
2,507 次查看
Dinesh_Guleria
NXP Employee
NXP Employee

Hi S32K3 team,

I tried both polling & interrupt mode.
UART of S32K3 is not detected by fremaster.

Dinesh_Guleria_0-1661276108049.png


In atteched code CAN, PORT, ADC is working but UART is not detected on freemaster .

Issue is with UART-6.

I set UART base address to UART-6 :--
#define FMSTR_LPUART_BASE 0x40340000

I used :---

  • S32DS-3.5
  • RTD-2.0.0


Freemaster project location :--

  • S32K312_RTD_2_0_0___Tech_day_project\GUI_project\Project.pmpx

    Please suggest why UART port is not detected

Regards,
Dinesh


标签 (1)
0 项奖励
回复
1 解答
2,463 次查看
Dinesh_Guleria
NXP Employee
NXP Employee

Issue solved with Open SDA firmware version 1091.

Regards,
Dinesh

在原帖中查看解决方案

0 项奖励
回复
3 回复数
2,498 次查看
Dinesh_Guleria
NXP Employee
NXP Employee

I checked on Putty UART-6 working :--

I checked on Putty UART-6 working :--



   /* initialize the UART as the console serial communication port */
    Lpuart_Uart_Ip_Init(UART_LPUART_INTERNAL_CHANNEL, &Lpuart_Uart_Ip_xHwConfigPB_6_BOARD_INITPERIPHERALS);



   IntCtrl_Ip_InstallHandler(LPUART6_IRQn, LPUART_UART_IP_6_IRQHandler, NULL_PTR);
    IntCtrl_Ip_EnableIrq(LPUART6_IRQn);




   /* Uart_AsyncSend transmit data */
    lpuartStatus = Lpuart_Uart_Ip_AsyncSend(UART_LPUART_INTERNAL_CHANNEL, (const uint8 *)WELCOME_MSG_2, strlen(WELCOME_MSG_2));
    if (LPUART_UART_IP_STATUS_SUCCESS != lpuartStatus)
    {
        ///return FALSE;
        while(1)
        {
            __asm volatile ("nop");
        }
    }

 

Dinesh_Guleria_0-1661319615231.png



So issue seems to be with freeMASTER.
I set the PORT address of UART correctly in file --> freemaster_cfg.h.

Please suggest what could be the issue ?

Regards,
Dinesh

0 项奖励
回复
2,490 次查看
Dinesh_Guleria
NXP Employee
NXP Employee

I created new project in S32DS-3.4.. imported the MEX file from S32-DS-3.5.

Even I tested on S32DS-3.4, same result .

Dinesh_Guleria_0-1661347524588.png


Regards,
DInesh

0 项奖励
回复
2,464 次查看
Dinesh_Guleria
NXP Employee
NXP Employee

Issue solved with Open SDA firmware version 1091.

Regards,
Dinesh

0 项奖励
回复