Hello community!
I'm trying to work with to UART communications on my S32K116EVB.
One for communicating with serial PC (LPUART0) and other one to communicate/control a peripheral (LPUART1).
LPUART0 is configured with the SDA and connected through USB to the PC. This one is working well, I'm able to read and write.
For LPUART1 I want to use pins PTC7 and PTC6 as LPUART1_TX and LPUART1_RX, respectively, as marked in documentation. I'm unable to receive or send data through it, so I think is not well configured.
I used as a based the example lpuart_echo_s32k116, and I'm using Processor expert to configure my ports.
ProcessorExpert_PinsConfig.PNG
Generated code on pin_mux.c :
Pin_mux_Cfile.PNG
I also created a new component for lpuart2:
HayZam_3-1649457229736.png
This is my initialization on my .c file:
HayZam_2-1649457021231.png
With this simple code it gets stucked on LPUART_DRV_GetTransmitStatus function.
HayZam_1-1649456941107.png
Can you please tell me if I'm doing something wrong, or how to configure my UART channel with processor Expert?
Thanks in advance.
HayZam