Regarding the PRU’s GPO Shift-Out mode capability.
I see there is a Fixed Packet Length Mode.
Is it possible to ping-pong with just 10-bits in SH0/SH1?
For example:
Write data to R30[9:0] and put in SH0; re-write R30[9:0] and put in SH1.
Enable shift-out, and after SH0[9] is shifted out, the PRU will move to SH1[0]?
(est.10~20Mbps data rates)
The 16-bit buffer is great for data bytes (8-bits), but trying to send out encoded data (i.e. 4B/5B or 8B/10B) gets complicated.
Being able to ping-pong with 10-bits would be a huge help – is that capability possible?
I know there are “hacks” like watching SHIFT_CLK to count when 10-bits were shifted, then disable/enable the peripheral while moving data around, etc…
But all that added processing takes away from time budget.