SPRUIM2H May 2020 – October 2023 AM2431 , AM2432 , AM2434 , AM6411 , AM6412 , AM6421 , AM6422 , AM6441 , AM6442
The procedure in Table 12-340 can be used to initialize MCSPI when performing software reset.
Step | Register/Bit Field/Programming Model | Value |
---|---|---|
Perform a software reset. | MCSPI_SYSCONFIG[1] SOFTRESET | 1 |
Wait until reset is finished? | MCSPI_SYSSTATUS[0] RESETDONE | =1 |
Configure static settings (such as SPI controller or peripheral) as required. | MCSPI_MODULCTRL[8-0] | 0x- |
Write MCSPI_SYSCONFIG | MCSPI_SYSCONFIG | 0x- |