Part Number: CC1312R
Hi,
I have to bit bang 12 DIOs at high speed, uninterrupted, but also have to have radio capabilities.
Using an infinite loop and writing to GPIO addresses directly for setting and clearing (0x40022090 and 0x400220A0) yields somewhat decent results in terms of speed, but radio (TI 15.4) operations are needed, and these interruptions cause glitches in the IO, naturally.
I gave Sensor Controller Studio a try as a test to free the M4 core, but I could only get roughly 33 kHz for a simple toggle with:
while(1) {
scifSwTriggerExecutionCodeNbl(1 << SCIF_LED_BLINKER_TASK_ID);
}
where the sensor studio execution code is simply:
gpioToggleOutput(AUXIO_O_LED_CTRL);
Is this all I can hope for from the sensor core?
Ideally, I could get GPIO at a few MHz one way or another and I would appreciate suggestions on the best way to proceed.
Thanks in advance!