SPRUHZ7K August 2015 – April 2024 AM5706 , AM5708 , AM5716 , AM5718 , AM5718-HIREL
The procedure in Table 24-209 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 master or slave) as required. | MCSPI_MODULCTRL[8:0] | 0x- |
Write MCSPI_SYSCONFIG | MCSPI_SYSCONFIG | 0x- |