SPRADT3 June 2026 AWR2188
On the software side, after AWR2188 powers on, the first operation of the external processor software is to reset AWR2188 through the ml_frontEndPowerOnDevice function (controlling the nReset pin level of AWR2188 from high to low and then to high), and during the reset period, by controlling the GPIO output level, configure the SOP and clock of AWR2188, where the SOP configuration is seen in Table 3-1, and the Clock configuration is seen in Table 2-1. After this function finishes execution, AWR2188 leaves the reset state and formally enters the RBL stage, executing the code solidified on the ROM side, performing initializations such as clock on AWR2188, and waiting to download the DFP image from the external processor.
/*Power up*/
pwrup.c_PowerControl = M_T_ML_FE_DEVICE_POWER_UP;· //上电宏
pwrup.c_SopBootCfg = M_ML_DEVICE_SOP_BOOT_SPI_MODE_0; //SPI模式
pwrup.c_SopClkCfg =M_ML_DEVICE_SOP_CLOCK_50MHZ_OSC_OUT_DISABLE; //时钟配置
status = ml_frontEndPowerOnDevice(DEVICE_INDEX, &pwrup);
| Configuration | Description |
|---|---|
| 0x01 | Functional Mode using SPI0 |
| 0x06 | Functional Mode using SPI1 |
| 0x07 | Functional Mode using I2C |
| 0x05 | Device Management Mode using UART |
| 0x03 | Debug Mode |