FreeMaster-LPUART implementation for Non-SDKs

cancel
Showing results for 
Search instead for 
Did you mean: 

FreeMaster-LPUART implementation for Non-SDKs

Jump to solution
337 Views
KARTHKSARODE
Contributor III

Hi 

As stated in the subject , I wanted to explore freemaster using LPUART for S32K144 

I couldn't find much resource for Non-SDK implementation , but I wanted to implement in Non-SDKs

  1. First I added FreeMaster Serial Communication files to the project 
  2. Configured LPUART1 of 9600 baud, 1 stop bit, 8 bit format, no parity 
  3. Configured Pins for the same 
  4. Enabled the interrupt for LPUART1 
  5. Called FMSTR_Init() function once , called FMSTR_Poll() function in infinite for loop 
  6. Called FMSTR_Isr()  inside LPUART1_RxTx_IRQHandler()

Project is getting complied and running successfully

Once I try to connect using FreeMaster , it is throwing error as No Board detected on any specified UART Communication Board ( I have tried to connect after reset )

Please find the attached project 

Please help me to rectify this issue 

 

Best Regards
KARTHIK SV
0 Kudos
1 Solution
316 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

it is detected with attached modified main.c

BR, Petr

View solution in original post

0 Kudos
2 Replies
317 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

it is detected with attached modified main.c

BR, Petr

0 Kudos
304 Views
KARTHKSARODE
Contributor III

Hi @PetrS 

Thanks for the solution , its working 

The Issue was with Interrupt configuration of LPUART

Best Regards
KARTHIK SV
0 Kudos