You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -150,3 +127,94 @@ if ((rfmUsbDevice.Irq & Irq.PayloadReady) == Irq.PayloadReady)
150
127
// Process packet
151
128
}
152
129
```
130
+
131
+
## Buffered Read And Writes
132
+
133
+
The maximum message size supported by direct read and write of the FIFO is limited to 64 bytes. To support message transmission and reception up to a maximum size of X bytes the RfmUsb IO buffer must be used.
134
+
135
+
### Receive IO Buffer
136
+
137
+
The steps required to receive a message via the IO buffer.
138
+
139
+
* Configure the RfmUsb radio
140
+
* Set the Dio mapping for **Dio0** to **DioMapping1** to capture the **PayloadReady** Irq
141
+
* Set the Dio mapping for **Dio1** to **DioMapping2** to capture the **FifoNotEmpty** Irq
142
+
* Setup the **PacketFormat** to either fixed or variable length
143
+
* Set **PayloadLength** to 0xFF
144
+
* Enable the IO buffer via the **BufferedIoEnable** setting
145
+
* Set the radio **Mode** to **RX**
146
+
* Wait for the **PayloadReady** Irq
147
+
* Read the message bytes to the IO buffer via the **Stream**
0 commit comments