Code cannot select MCG-MODE loops forever

cancel
Showing results for 
Search instead for 
Did you mean: 

Code cannot select MCG-MODE loops forever

190 Views
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

Labels (1)
Tags (3)
0 Kudos
2 Replies

63 Views
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 Kudos

63 Views
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 Kudos