- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi,
I understand that when using a 19.2 or 38.4 MHz clock, the system clock frequency will be 384 MHz.
When using a 26 or 52 MHz clock, the system clock will be 416 MHz.
Is there a way to check in the firmware which frequency the system clock is running on?
Thank you.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please note that when clockConfig.setSysClk400 = CyTrue; system clock will be set to greater then 400MHz.
To check the system clock frequency, please call this API CyU3PDeviceGetSysClkFreq. This function can be used to identify the current SYS_CLK frequency on the FX3 device. This should only be called
after the CyU3PDeviceInit API has been called.
Rashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
Please note that when clockConfig.setSysClk400 = CyTrue; system clock will be set to greater then 400MHz.
To check the system clock frequency, please call this API CyU3PDeviceGetSysClkFreq. This function can be used to identify the current SYS_CLK frequency on the FX3 device. This should only be called
after the CyU3PDeviceInit API has been called.
Rashi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
If I have
clock.Config.setSysClk400 = CyFalse;
Will the sysclock stay at 384MHz even with a 26MHz clock attached to the chip?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
As per the source of CyU3PDeviceInit API in the SDK, the system clock frequency will be set as 416 MHz when clock source of 26MHz or 52MHz is used.
To confirm the system clock frequency, please call CyU3PDeviceGetSysClkFreq
Rashi