Not able to switch Stack pointer to PSP by setting CONTROL. | Cypress Semiconductor
Not able to switch Stack pointer to PSP by setting CONTROL.
By default, SP points to MSP on init.
1. Set MSP and PSP registers.
2. Assert SP reset to MSP upon setting.
3. Set CONTROL to switch SP to PSP.
4. Asset CONTROL as "high"
SP still points to MSP. SP is not switching to PSP.
Are you aware of such behaviour? if yes, Is there any work around?