|ARM Technical Support Knowledge Articles|
Applies to: PL022 Synchronous Serial Interface
As the Technical Reference Manual states in section 2.3.15 "Examples of master and slave configurations", PL022 was never intended to be used in a system where it is dynamically switched between acting as a master and slave and, as such, has never been tested in such a situation.
You would have to ensure that all transactions had completed before reconfiguring the device, ensuring that the TX FIFOs had been completely emptied. Disabling or dynamically switching from Master to Slave will cause the internal state machine to transition to the RESET state.
Did you find this article helpful? Yes No
How can we improve this article?