SPRUHZ7K August 2015 – April 2024 AM5706 , AM5708 , AM5716 , AM5718 , AM5718-HIREL
The selection of the working mode is done with the MCSPI_CHxCONF register.
Step | Register/Bit Field/Programming Model | Value |
---|---|---|
Set receive mode for the channel. | MCSPI_CHxCONF[13:12] TRM | 0x1 |
Configure SPI clock polarity/phase, clock divider, word length, and others for the channel. | MCSPI_CHxCONF | 0x- |
Reset the status bits. | MCSPI_IRQSTATUS | 0x0 |
Step | Register/Bit Field/Programming Model | Value |
---|---|---|
Set transmit mode for the channel. | MCSPI_CHxCONF[13:12] TRM | 0x2 |
Configure SPI clock polarity/phase, clock divider, word length, and others for the channel. | MCSPI_CHxCONF | 0x- |
Reset the status bits. | MCSPI_IRQSTATUS | 0x0 |
Step | Register/Bit Field/Programming Model | Value |
---|---|---|
Set transmit and receive mode for the channel. | MCSPI_CHxCONF[13:12] TRM | 0x0 |
Configure SPI clock polarity/phase, clock divider, word length, and others for the channel. | MCSPI_CHxCONF | 0x- |
Reset the status bits. | MCSPI_IRQSTATUS | 0x0 |