HCS08 ICS configuration

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

HCS08 ICS configuration

458 Views
Rob23
Contributor I

I am moving over from the ancient PEMicro HCS08 assembly development environment to CW and C. I can run the PEMicro debugger and S08SH8 at 20MHz bus speed but in CW I can't seem to configure the ICS to go above 16MHz. I have already used CW and C for slower bus applications but this project needs 20MHz. 

Cheers

Rob

 

0 Kudos
3 Replies

387 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Rob23,

Please look into AN2616, chapter 4.8 (Set Clock Frequency) which explains the formula to calculate bus frequency as well as an example code on how to configure the clock in C.

Best regards,
Julián

0 Kudos

354 Views
Rob23
Contributor I

Thanks for your reply. I did eventually manage to work it out. I feel a bit silly for enquiring so soon. LOL
I'll hang on to the AN for future. Thanks

Rob

PS, Do you know of a resource for converting PE Micro assembly to CW assembly? 

 

0 Kudos

337 Views
Julián_AragónM
NXP TechSupport
NXP TechSupport

Hi @Rob23,

I apologize for the inconvenience, but we currently do not support tools or services for code converting.

Best regards,
Julián. 

0 Kudos