Hi Sathish, Currently on s32k144evb the UART1 is used by the NSH, then you will not be example to use it directly if you want to stay with the NSH, but if you write your own application and remove the NSH from the USER_ENTRYPOINT you could use it.
Why don't use you use UART0 and UART2? This way you could still be enable to use the NSH that is very useful for debug and tests during the development phase. This is the step to enable the UARTs System Type ---> S32K1XX Peripheral Selection ---> [*] LPUART0 [*] LPUART1 [*] LPUART2 BR, Alan On 8/10/21, Sathish Touch energy <sath...@touchenergy.in> wrote: > Hi, > > I am using nuttx, with an S32K144 eval board. > > For debug messages and nsh, uart1 is being used now. > > I need to use another uart for communicating with a host application. > > I want to use UART0 for this purpose. > > Can both UART0 and UART1 be used simultaneously? > > If so, how to enable both of them in nuttx code? > > Thanks and Regards, > Sathish. >