Hello All,
I am trying to understand exactly how fast the micro is running (what is ClkCPU) when using RC32M for the USB clock
I am confused, as it appears that the micro is running at 48MHz - however the datasheet seems to indicate that 32MHz is the max CPU clock frequency!?
What am I missing?
I am using ASF to generate the code required for USB.
FWIW: This is the relevant bits from Conf_clock.h
#define CONFIG_SYSCLK_SOURCE SYSCLK_SRC_RC32MHZ /* Fbus = Fsys / (2 ^ BUS_div) */ #define CONFIG_SYSCLK_PSADIV SYSCLK_PSADIV_1 #define CONFIG_SYSCLK_PSBCDIV SYSCLK_PSBCDIV_1_1 #define CONFIG_USBCLK_SOURCE USBCLK_SRC_RCOSC #define CONFIG_OSC_RC32_CAL 48000000UL #define CONFIG_OSC_AUTOCAL_RC32MHZ_REF_OSC OSC_ID_USBSOF
The things runs fine but I am concerned that/if I am running so far out of spec.
Regards,
Ivan Vernot
//realtimedesigns.com.au
*This is about the XMega, so it is moved to the XMega forum. Moderator.*