ProcessorExpert for S08P (PT60 etc)  has issue for startup code:  no code/property to wait FLL to lock and when enabling lock detector interrupt, it will hang

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

ProcessorExpert for S08P (PT60 etc)  has issue for startup code:  no code/property to wait FLL to lock and when enabling lock detector interrupt, it will hang

570 Views
william_jiang
NXP Apps Support
NXP Apps Support

ProcessorExpert for S08P (PT60/32/16, PA4, etc) with CodeWarrior 10.6 has issue for startup code:  no code/property to wait FLL to lock and when enabling lock detector interrupt, it will hang.

Suggest to add code to wait for PLL to lock before proceed before calling _Startup in cpu.c.

For hang issue when enabling FLL lock detector interrupt, move the code for enabling FLL lock detect interrupt to PE_low_level_init().

These issues should be fixed to allow customer UART communication work ok.

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

449 Views
TICS_Fiona
NXP Employee
NXP Employee

I have received the following answer from the PEx development team (waiting for LOCK must be done in application code if there are time sensitive operation, see also the reference manual MC9S08PT60RM, rev4, Chapter 8  Clock management):

There is no requirement in the manual to wait for the LOCK flag and the recommended initialization sequences do not include this check. If an application requires it, this check can be placed in the user code. Most applications don't need this check and would be impacted by the increased initialization time.

I can't reproduce any issue with the loss of lock interrupt. I activated it but the interrupt is not triggered. According to the manual "LOLS is set when lock detection is enabled and after acquiring lock, the FLL output frequency has fallen outside the lock exit frequency tolerance". So there will be no interrupt triggered before acquiring lock for the first time. Also changing the clock settings will cause the FLL to reacquire lock, but will not trigger the interrupt. Please provide more details on reproducing this issue or provide a test project.

Fiona Kuang

Technical Information & Commercial Support

-----------------------------------------------------------------------------------------------------------------------

Note: If this post answers your question, please click the Correct Answer button. Thank you!

-----------------------------------------------------------------------------------------------------------------------

0 Kudos

449 Views
TICS_Fiona
NXP Employee
NXP Employee

We have reported it to PE team as issue 46331067.  And will update this thread for any progress on it.

Sorry for this inconvenience you are experiencing with our tool.

Fiona Kuang

Technical Information & Commercial Support

0 Kudos