4 Flash Software
The wM-Bus Flash software currently supports the S-mode and the T-mode operation. It also performs the CRC encoding/decoding and 3-of-6 encoding/decoding (T1-mode).
Transmission/reception is realized in the Buffered mode. The maximum limit on the hardware data buffer (DFIFO) is 32-bytes, therefore, an additional SRAM buffer with 282 bytes is created to realize wM-Bus protocol.
The Flash software provides control and status registers, defined as global SRAM variables. For more details, see the table below. To start a wM-Bus transmission or reception, execute an SPI write access to the corresponding SRAM variable control register.
Monitor the transmission and receive status via SPI read accesses to the SRAM variable status register.