Introduction

This application note describes using the ATA5831/ATA8510 microcontroller to implement the physical layer of the wireless M-Bus (wM-Bus) standard (EN13757-4:2005 standard) for the S-mode and the T-mode in the Flash software.

The wM-Bus is derived from the M-Bus, a European standard for remote reading of water, gas, electricity or other types of consumption meters. The M-Bus is a Two-Wire field bus, and the wM-Bus is the M-Bus extended with an RF radio that allows wireless bidirectional communication. For more details, refer to the EN13757-4:2005 Standard.

The wM-Bus supports several operating modes that differ in the number of channels, the data rate and the coding. The radio modules work at frequencies of 868.300 MHz and 868.950 MHz with a channel width of 100 kHz and a data rate between 300 bit/s and 16.4 kbit/s. The coding types are the Manchester coding and 3-of-6 coding. The data rate in the T operating modes (T-mode) is 66.66 kbit/s and in the eleven-channel R2 mode is 2.4 kbit/s.

The Microchip application library for the ATA8510 and the ATA5831 support the wireless M-Bus, S-mode and T-mode. The application library does not support the C-mode.

This application note provides the following:
  1. A sample code of the physical and data link layer of the wireless M-Bus.
  2. How to get started with the sample code.
  3. A description of the code and the software interfaces.
Note: For more detailed information about the wM-Bus protocol, refer to the EN13757-4:2005 Standard.