Home ·
  • SAM-BA lowlevel applet
  • SAM-BA lowlevel applet

    The lowlevel applet initializes the device clock tree: CPU clock, Master clock (MCK), PLLs, ... The targetted frequencies are specific to each device. This applet should be executed only once afer reset, prior to the extram applet.

    Applet initialization

    The lowlevel applet doesn't accept any parameter to be initialized. The only exceptions are SAM9X60 and SAMA7G5 devices. In this later case, the list of supported parameters to initialize the applet can be displayed with the following command:

    $ sam-ba -p serial -d sam9x60 -a lowlevel:help
    Syntax: lowlevel:[<preset>]
    Parameters:
        preset  System clock configuration
    Examples:
        lowlevel    use default board settings if defined, preset 0 otherwise
        lowlevel:0  use preset 0 for system clock configuration
    $ sam-ba -p serial -d sama7g5 -a lowlevel:help
    Syntax: lowlevel:[<preset>]:[<xtalf>]
    Parameters:
        preset  System clock configuration
        xtalf   Frequency (in kHz) of the Main Crystal Osciallator
    Examples:
        lowlevel           use default board settings if defined, preset 0 otherwise
        lowlevel:0         use preset 0 for system clock configuration
        lowlevel::24000    skip the main crystal detection and force its frequency at 24MHz

    CPU and Master clock frequencies

    DevicePresetCPU clock (MHz)Master clock (MHz)
    SAM9xx5N/A399133
    SAM9X600600200
    SAM9X601500166
    SAMA5D2N/A498166
    SAMA5D3N/A528133
    SAMA5D4N/A600200
    SAMA7G50800200
    SAMA7G51570142

    Supported commands

    The lowlevel applet doesn't support any command.


    Copyright © 2018 Microchip Technology
    SAM-BA Documentation