Quantcast
Channel: Raspberry Pi Forums
Viewing all articles
Browse latest Browse all 8051

General • Re: PIO restart

$
0
0
Tested with SWD debugger, PC is not altered, neither the enalble/running status.

Probably is safer to manually stop the SM before restart/clear, then starting it again from SM_ENABLE.

Actually a restart from 0 wouldn't be so useful for those SMs which don't have the starting code located at 0.

Can also reset the entire PIO (with all 4 SMs contained) from RESETS: RESET Register, toggling the respective bit.
This one sets al PCs to 0, but the instruction memory remains unchanged.

Statistics: Posted by gmx — Sun Mar 01, 2026 1:07 am



Viewing all articles
Browse latest Browse all 8051

Trending Articles