Digi Embedded Yocto provides a command line tool, mca_config_tool
, to configure internal variables of the Micro Controller Assist (MCA).
You can use the following application command line options:
Command line option | Action |
---|---|
|
Print help message (the information on this table) |
|
Perform a NVRAM reset to factory default settings. |
|
Get/set the time in ms that the PMIC_ON_REQUEST line is de-asserted during system boot (register PWROFF_BOOT_DURATION) |
|
Get/set the delay in ms that the MPU reset line will be asserted after the PMIC power-on event, at system boot |
|
Configure the SOM boot mode by selecting between ‘W4PK’ (wait for power key) or ‘BOP’ (boot on power). If W4PK is selected, the system doesn’t boot until the MCA PWR_IO line is asserted low. This line is commonly connected to the power button. If BOP is selected, the SOM automatically boots as soon as power is applied |
|
Get/set the RTC’s time compensation value in Hertz. The valid range of this value is from 32641.0 to 32896.0 (both inclusive) in integer or floating point format. Set this parameter to the measured frequency of the MCA’s 32 kHz signal to enable its time compensation system. The default value of this setting is 32768.0 Hz, which is the expected frequency of the 32 kHz signal. |
Get settings
You can read settings values from NVRAM. For example, to show the time that the MCA spends asserting the reset line, use the following command:
# mca_config_tool --reset_delay
Current Reset delay is 1 ms
Modify settings
You can modify settings and save the values to NVRAM. For example, to set a new value for the time that the MCA spends asserting the reset line, use the following command:
# mca_config_tool --reset_delay=50
Configuration saved.