Hi,
I need to clock my M484 with an external 12MHz clock source, instead of a 12MHz crystal. I tried the settings as in the RM: programmed '0' to CONIFIG0[27] (FMC) and SYS->GPF_MFPL &= ~(SYS_GPF_MFPL_PF2MFP_Msk | SYS_GPF_MFPL_PF3MFP_Msk) to set the GPIO mode. However, at the clock init stage the CLK->STATUS never indicates the HTX stable, also when trying to enable HSUSBD PHY (HSUSBD_Open()), it dead loops forever.
The 12MHz has been check clean with a DSO and if I bypass the CLK->STATUS the 192MHz PLL seems to work ok by an LED flashing test, although the HSUSBD still refuses to work.
Any clue? or better a sample code supporting the "external clock mode"?
Regards,
David
How to configure for external HXT source?
-
- Posts: 31
- Joined: 22 Mar 2017, 09:54
Hi David,
Please enable the CKO (clock output) function to check the HXT is fine or not.
We have a sample code which shows how to use the external clock as HXT clock source, but the readme file is written by Chinese:
https://www.nuvoton.com/hq/resource-dow ... 1219135320
Thanks
Please enable the CKO (clock output) function to check the HXT is fine or not.
We have a sample code which shows how to use the external clock as HXT clock source, but the readme file is written by Chinese:
https://www.nuvoton.com/hq/resource-dow ... 1219135320
Thanks
-
- Information
-
Who is online
Users browsing this forum: No registered users and 23 guests