Code cannot select MCG-MODE loops forever

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

Code cannot select MCG-MODE loops forever

702 次查看
volkancoskun
Contributor II

Hello!

 

I am trying to implement a simple LPUART0 and have tested the FRDM-KL27Z driver examples. The example work great and I can simply send data and receive it by the openSDA USB port. However when I manually try to use kinetis with the 1.2.0 sdk I get some strange error. 

 

1. Either when I try to send data by using LPUART_HAL_SENDDATA (...) i go directly to the hardfault handler.

2. or The MCG_mode is not selected and it is looping forever.

 

I am upploading pictures that will show my configurations. I find it very strange since the examples work but my code generation by using KDS does not work properly.

 

Am I missing somehting ?? 

 

I have uploaded some pictures. 

 

regards,

 

VC

标签 (1)
标记 (3)
0 项奖励
2 回复数

575 次查看
Jonathan_Iglesias
NXP TechSupport
NXP TechSupport

Dear Volkan Coskun,

I am deeply sorry for the delay.

I am starting to work on your post I will reply as soon as I have an answer.

Have a great day and Holidays.

Best Regards.

 

Jonathan

0 项奖励

575 次查看
volkancoskun
Contributor II

Additionally the FSL_UART_DRIVER and the fsl_Debug_console drivers do not work properly .. is these components compatible with the FRDM-KL27Z???

0 项奖励