PSoC6 clocking

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Chva_1477726
Level 4
Level 4
25 sign-ins 10 sign-ins First solution authored

I am busy with a design where I need to run the CM4 core at 150MHz and also use USB (device). I am using a 12MHz external crystal for the ECO in order to get 48MHz and be below the 0.25% tolerance that USB requires via the PLL. I cannot use the FLL for USB as it has a ~1% tolerance and it can also only go up to 100MHz so  cannot reach the 150MHz mark.

I can also use the 8MHz IMO through the PLL and still make the required 0.25% tolerance for USB, but it doe not slve my 150MHz problem

What am I missing?

Regards

Chris

0 Likes
1 Solution
RodolfoGL
Employee
Employee
250 solutions authored 250 sign-ins 5 comments on KBA

Hi,

You actually can use the FLL to drive the USB HFCLK if you set the coefficients manually. Even if you use the IMO. Here is how the FLL should look like:

pastedImage_0.png

Also make sure that IMO is trimmed with USB.If you want to use ECO, just drop the Lock tolerance to 2 and increase the Multiplier/Reference.

View solution in original post

0 Likes
5 Replies
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hello Chris,

You are right that FLL can a provide a frequency above 100 MHz, also is has a tolerence of 1% which is higher than that required by USB. You will have to use an ExtClk to get 48MHz (with 0.25% tolerence) . Since PSoC 6 has only one PLL, it can be used either to obtain a frequency of 150 MHz or a Frequency of 48 MHz.

Regards

Ekta

RodolfoGL
Employee
Employee
250 solutions authored 250 sign-ins 5 comments on KBA

Hi,

You actually can use the FLL to drive the USB HFCLK if you set the coefficients manually. Even if you use the IMO. Here is how the FLL should look like:

pastedImage_0.png

Also make sure that IMO is trimmed with USB.If you want to use ECO, just drop the Lock tolerance to 2 and increase the Multiplier/Reference.

0 Likes

Is there any benefit to using an ECO instead of FLL for USB?  Are there accuracy problems with using FLL?  I want to remove the ECO in my design.  It is being used for USB only.

0 Likes

There is no benefit, since the ECO will consume more power and the FLL will introduce accuracy errors in any case. The chip has an option to trim the IMO based on the USB (start-of-frame), so that's the preferred method to achieve the accuracy required by the USB.

0 Likes

Thank you all for your inputs, especially RodolfoG for the insight on the FLL, much appreciated. It will resolve my problem.

0 Likes