Hi all,
I want to ask informations about CC3200 pins GPIO. I've read in datasheed that there is 2 registers GPIODIR and GPIODATA, each record of this registers have 8bit informations about pin directions and pin state data.
Since there is 8bit per each port, suppose I'll connect an IC that communicate 8bit samples at very high rate(about 10Mhz). What i need is to read this 8 bit very fast and i can't do that with a common library that require more than 8 clock cycle. What I need is to direct read them with a low code istruction.
What I ask is:
- I'm going to read directly registers of this 8 bit port. But how I do that? I directly read register each clock cycle, or I need to do more operations?(like: Write register and Read register?) So how much minimum clock cycle I will need to read this pins?
- Related to first questions, this register, in case of 8bit input port, is automatically updated each clock or a software commad is need to do that?
- All this operations use MCU processor power or there is an embedded bus controller that can do that while MCU process another operation?
Now, I want to send this data directly to embedded WiFi processor that has the task to send data through WiFi.
- How communication work between embedded MCU and WiFi processor, it's a parallel connection?
- Since WiFi is a serial communication, WiFi processor will shift this data? How max. dimension may have the total amout of data?
- If the connection is parallel of 32bit, to keep less operation as possible, is it possible to write 8bit data in one single 32bit register(or 4 consecutive registers) and after that read and send them via wifi with a single istruction?
Thank you!