This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

PRU Enhanced GPIO / 28 bit shift mode - why?

Hi,

Can somebody explain to me what exactly is the intent for the 28-bit shift mode of the PRU? 28 bits is kind of a strange fixed length.  It makes me think that T.I. had some specific purpose in mind.  I'm just wondering what it is.

--Chris

  • In AM335x variants with the PRU subsystem, this mode is available. There is a 32-bit register into which data is shifted. Four MSBs are used for status information. Hence, 28-bits are available. It is possible that not all bits will be necessary in all applications but are available if needed. 

    This shift register mode can be used for interfacing to digital serial communication protocols that are used in a very broad range of applications. The purpose is to use PRU in such situations and may be avoid having to use external device(s).

    Thanks.

    PS: Please be sure to mention the device/part for which the question is intended.