I am trying to understand how to encode data with the PRU.
As an example, if you wanted to perform NRZ encoding on some data-stream sent out with the GPO Shift Out feature, you could add some external logic.
This logic might toggle the output state if the input was "1", or keep the output the same if the input was a "0".
This is usually done with external logic, or an FPGA if the project scale demands it.
I noticed the C2000 microcontrollers include "CLB" allowing custom logic block configurations...
1) Does the AM243x have some way to apply custom logic to inputs/outputs?
2) Could you recommend a way to achieve NRZ encoding on AM243x? (Some arbitrary data stored in DRAM0 is encoded, and pulled into R30/SH0/SH to be shifted out via GPO Shift Out feature)