Hello,
I am using the RM57Lx Hercules Launchpad and I need to read 14 GIO pins in less than 100 nano seconds (from an external ADC). The max clock speed of the RM57L is, I understand, 330MHz, and I am currently using the gioGetBit(); method to read pins. However, I see that this method takes ~80 clock cycles every time it is executed (I used the profile clock in CCS to determine this).
Basically, my attempt is the following:
int pin[14];
pin[0] = gioGetBit(gioPORTA, 7);
pin[1] = gioGetBit(gioPORTA, 6);
... and so on.
So my question is the following: is there another faster way to read gio pins? Or in order to read 14 pins from an external ADC in less than 100ns, I need an MCU with clock frequency capabilities higher than 330MHz?
Any advice is appreciated.
Regards