Tool/software:
Hi there,
I am evaluating processors in the AM62x family for use in two different upcoming system design projects.
My understanding is that each PRU core on the AM62x has access to 20 enhanced GPIs and 20 enhanced GPOs. The high-speed, low-latency access of the PRU cores to GPIOs is perfect for my needs. However, I actually need more than 20 GPIs.
Is there any way to increase the number from 20 to 30? For example, would it be possible to remap some of the GPOs to be GPIs in order to increase the number of GPIs? Or some other technique?
There are enough bits in the r31 register to accommodate more pins (see Figure 7-21, "PRU Module Interface", in the TRM, which shows 30 bits available in r31 for GPIs). I did see the section 7.4.2.2 "PRUSS Fast GPIO pins" in the TRM, but I didn't fully understand it. Is there something in the programming that can be used to increase the number of GPIs that are allocated to one of the PRU cores to more than 20?
Just to provide a bit more information on what I am trying to do, I have a dual-channel 14-bit ADC that provides parallel CMOS output. I want to read this output using the GPIs on the PRU cores. The catch is that the ADC is running at a ~48 MHz sampling rate, which is quite fast and gives very little margin for latency or error. I have this successfully implemented where each channel (14 bits/GPIs) is handled by one PRU core. But I need to free up one of the PRUs to handle interfacing with a different component (DAC), so I wanted to see if there was a way to increase the number of GPIs on one PRU so that I could handle both channels (a total of 28 bits/GPIs) on a single PRU, leaving the other one free.
Thanks,
Cody