The radio transceiver is able to automatically calculate the FCS of a frame, to be transmitted. Therefore, the FCS does not need to be downloaded with the frame buffer write command (see
trx_frame_write). The automatic FCS calculation can be enabled, if a 1 is written into the sub register
SR_TX_AUTO_CRC_ON.
- Parameters:
-
| txcrc | If set to 1, the FCS is calculated automatically. Otherwise, the frame will be transmitted as it was downloaded.
0 1 2 L-1 L
+---+---+---+---+---+---+---+/.../+---+---+
| L | D | D | D | D | D | D | | F | F |
+---+---+---+---+---+---+---+/.../+-o-+-o-+
+---+
auto generated FCS if txcrc=1
or user-provided data if txcrc=0
|
- Code example
-