LPC54018 peripheral clock initialization

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

LPC54018 peripheral clock initialization

Jump to solution
1,227 Views
Renuga_AKAS
Contributor I

Hi,

    I tried to configure 48MHz for flexcomm peripheral through clock attach clock function using kFRO_HF_to_FLEXCOMM9. But unable to do so. can yous suggest me how can i convert 98MHz clock frequency to 48MHz.

0 Kudos
Reply
1 Solution
1,187 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Yes. For example, When use FRO_HF, and set FRO_HF divider as 10, we get 9.6M Hz output.

ZhangJennie_0-1661769804509.png

 

View solution in original post

0 Kudos
Reply
6 Replies
1,218 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Renuga_AKAS 

We use FRO_HF divider to divide FRO96M. please see configuration as below

ZhangJennie_0-1661495506778.png

 

Hope this helps,

Jun Zhang

0 Kudos
Reply
1,200 Views
Renuga_AKAS
Contributor I

Hi,

    Thanks for the reply. I will try to configure the clock as you mentioned above. I have another doubt about clock configuration, is it possible to set clock frequency as below 12MHz?. If yes, it it the same way as mentioned above by dividing the FRO_12M frequency?

0 Kudos
Reply
1,191 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Hi Renuga_AKAS 

According to UM11060, Chapter 8, Fig 21,Fig 22. FRO_HF has FRO clock divider but FRO_12M doesn't have.

ZhangJennie_0-1661767754175.png

 

So we can't find the same option if using FRO_12M  in clock configuration tool.

 

Hope this helps

Jun Zhang

 

0 Kudos
Reply
1,189 Views
Renuga_AKAS
Contributor I

Hi,

    Thanks for the useful reply. I still need a clarification is it possible to configure peripheral clock below 12MHz?.

0 Kudos
Reply
1,188 Views
ZhangJennie
NXP TechSupport
NXP TechSupport

Yes. For example, When use FRO_HF, and set FRO_HF divider as 10, we get 9.6M Hz output.

ZhangJennie_0-1661769804509.png

 

0 Kudos
Reply
1,182 Views
Renuga_AKAS
Contributor I

Hi,

    Thanks for the solution.

0 Kudos
Reply