pio_sm_put_blocking() unable to keep FIFO topped.

This commit is contained in:
giomba 2022-10-15 18:42:46 +02:00
parent 9b596c80aa
commit 8b67fe9eda

View File

@ -91,14 +91,16 @@ int main()
stdio_init_all(); stdio_init_all();
// "draw" an horizontal dotted line (?) // "draw" an horizontal dotted line (?)
for (unsigned int c = 0; c < 20; c += 3) for (unsigned int c = 0; c < 5; c++)
{ {
frames[0].data[80 * 64 + 50 + c] = 0x55; frames[0].data[80 * 64 + 30 + c] = 0x55;
} }
for (unsigned int c = 0; c < 20; c += 3) /*
for (unsigned int c = 0; c < 20; c++)
{ {
frames[0].data[80 * 128 + 50 + c] = 0x99; frames[0].data[80 * 128 + 30 + c] = 0x99;
} }
*/
// PIO and state machines // PIO and state machines
PIO pio = pio0; PIO pio = pio0;