S32K312 EVB : freemaster not working : UART not detected

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32K312 EVB : freemaster not working : UART not detected

Jump to solution
2,042 Views
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


Labels (1)
0 Kudos
1 Solution
1,998 Views
Dinesh_Guleria
NXP Employee
NXP Employee

Issue solved with Open SDA firmware version 1091.

Regards,
Dinesh

View solution in original post

0 Kudos
3 Replies
2,033 Views
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 Kudos
2,025 Views
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 Kudos
1,999 Views
Dinesh_Guleria
NXP Employee
NXP Employee

Issue solved with Open SDA firmware version 1091.

Regards,
Dinesh

0 Kudos