For now, I was able to fit my SMs into 32 lines by moving the non timing critical setup steps to sm.exec() statements outside of the pioasm code.
When this method runs out of steam, I will try remove_program.
Thanks!
Search found 2 matches
- Thu Jun 24, 2021 12:22 am
- Forum: Raspberry Pi microcontroller boards
- Topic: Size of multiple PIO state machines
- Replies: 3
- Views: 2338
- Tue Jun 22, 2021 9:59 pm
- Forum: Raspberry Pi microcontroller boards
- Topic: Size of multiple PIO state machines
- Replies: 3
- Views: 2338
Size of multiple PIO state machines
I am writing a program which uses multiple state machines. Once the total number of lines in all state machines exceeds 32, I see the dereaded message: OSError: [Errno 12] ENOMEM The datasheet states right in the first paragraph: The four state machines execute from a shared instruction memory. , so...