Confused by missing (?) warning about max UDB clock speed

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

cross mob
lock attach
Attachments are accessible only for community members.
ChRe_4711096
Level 4
Level 4
50 replies posted 25 replies posted 25 sign-ins

In the attached project I've set clk_peri to 72 MHz and my (UDB/datapath based) peripherals are clocked at 36 MHz (clk_udb), which is 72/2 MHz. I did this because 72 MHz or similarly high clock speed resulted in an error because clock_udb may not exceed clk_peri/2.

However, this error does NOT appear when I set clk_udb clock to 48 MHz, which is clearly faster than clk_peri/2. Why does this error message not appear then? It comes back when I increase from 48 to 56 MHz.

0 Likes
1 Solution
lock attach
Attachments are accessible only for community members.
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hello ChRe_4711096​,

UDB can be clocked at a maximum of 100Mhz.

Also, by default the clk_peri divider is set to 2. In order to clock the UDB component to upto 100 MHz kindly make the following changes in the clock settings:

In the Configure Systems Clock dialogue box:

1.Under the FLL/PLL tab set the PLL to a frequency of 100Mhz.

pastedImage_0.png

2. Under the High Frequency Clocks tab set the clk_peri divider to 1.

pastedImage_0.png

3. Now in the top design set the clock to a frequency of 56 Mhz and the project should build successfully.

Please refer to the following Forum post which mentions in detail how to make the clock settings to clock a upto UDB component: Re: How to clock a UDB component at 100MHz

I have modified the project to set the clk to 56Mhz and attached below.

Please let me know if this resolves the issue at your end.

Best Regards

Ekta

View solution in original post

0 Likes
2 Replies
lock attach
Attachments are accessible only for community members.
Ekta_N
Moderator
Moderator
Moderator
750 replies posted First like given 250 solutions authored

Hello ChRe_4711096​,

UDB can be clocked at a maximum of 100Mhz.

Also, by default the clk_peri divider is set to 2. In order to clock the UDB component to upto 100 MHz kindly make the following changes in the clock settings:

In the Configure Systems Clock dialogue box:

1.Under the FLL/PLL tab set the PLL to a frequency of 100Mhz.

pastedImage_0.png

2. Under the High Frequency Clocks tab set the clk_peri divider to 1.

pastedImage_0.png

3. Now in the top design set the clock to a frequency of 56 Mhz and the project should build successfully.

Please refer to the following Forum post which mentions in detail how to make the clock settings to clock a upto UDB component: Re: How to clock a UDB component at 100MHz

I have modified the project to set the clk to 56Mhz and attached below.

Please let me know if this resolves the issue at your end.

Best Regards

Ekta

0 Likes

I looked into my top level design again and indeed the error disappeared when using the existing Clk_Peri (72 MHz) instead of a new clock.

Side note: The reason I won't go up to 100 MHz is that the ADC is supposed to run at 18 MHz, and 72 is the highest multiple of that while still allowing the M4F to run at more than 100 MHz (2*72 MHz = 144 MHz).

There's still a setup time violation going on, but that will go into a different question.

0 Likes