Apollo2

From SEGGER Wiki
Revision as of 12:10, 8 March 2018 by Alex (talk | contribs) (Clock source)
Jump to: navigation, search

SWO

On the Apollo2 series devices from Ambiq Micro, SWO is supported. However, a few device specifics apply which are described in the following.

Clock source

For most devices, the SWO clock is derived from the current MCU clock. This is not the case for the Apollo2 series devices. On these devices, the SWO clock is derived from the internal 48 MHz High Frequency RC Oscillator (HFRC).

The SWO clock provided to the CoreSight SWO/trace units is not 1:1 the speed of the HFRC, but can be configured via the Apollo2 device specific register MCUCTRL.TPIUCTRL[CLKSEL]

CLKSEL meaning
Value Meaning
??? ???

Note: J-Link handles the current setting of this register automatically when calculating the SWO speed to be used. Note: When selecting the CPU frequency in IDEs for J-Link SWO usage, select 48 MHz for the Ambiq Apollo2 series devices.