GS2101M IP2WiFi Adapter Command Reference Guide
1VV0301499
Rev. 2.0
43
2019-08-05
9. MCU sends the actual data.
10. When the size of data is less than 1024 bytes, the time GPIO37 takes to become low
after step 5 is 16 clock cycles (WRITE_RE Data Header). When the size of
data is more than 1024 bytes, the time taken wait cycle will be (Data length-1024+16)
clocks. This is because the PONG Tx buffer is of 1024 bytes in size and the initial
extra bytes (Data length - 1024) are put in PING Tx buffer.
shows the timing diagram from step 4 to step 8.
Figure 4 Transferring data from MCU to GS node (Contd.)
The following section provides steps involved while transferring data from GS node to
MCU using Interrupt based methodology
Transferring Data
from GS Node to
MCU
1. When GS node has data to be sent to MCU, it makes the GPIO37 high.
2. On receiving an interrupt (which is configured on rising edge of the pin connected to
GPIO37), MCU performs the following:
a. Rearms the interrupt handler to detect the low to high transition of GPIO37
b. Sends eight bytes of READ REQUEST to GS node
c. Waits for the low to high transition of GPIO37