FreeMaster-LPUART implementation for Non-SDKs

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

FreeMaster-LPUART implementation for Non-SDKs

跳至解决方案
865 次查看
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
标记 (4)
0 项奖励
1 解答
844 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

it is detected with attached modified main.c

BR, Petr

在原帖中查看解决方案

0 项奖励
2 回复数
845 次查看
PetrS
NXP TechSupport
NXP TechSupport

Hi,

it is detected with attached modified main.c

BR, Petr

0 项奖励
832 次查看
KARTHKSARODE
Contributor III

Hi @PetrS 

Thanks for the solution , its working 

The Issue was with Interrupt configuration of LPUART

Best Regards
KARTHIK SV
0 项奖励