Page 1
ST75MM in applications by describing the host interface, the available protocol services and the MIB accessible through the host interface. For ordering information, mechanical and electrical device characteristics, please refer to the ST75MM datasheet available at www.st.com. August 2017...
Page 3
UM2241 Contents Configuring the ST75MM .............. 23 PHY configuration (MIB index 2) ............. 23 MAC configuration (MIB index 3) ............ 24 Manufacturer data (MIB index 6) ............. 24 Custom frequencies (MIB index 23) ..........24 Revision history ................25 DocID030767 Rev 1 3/26...
Page 4
List of tables UM2241 List of tables Table 1: Command frame format ........................ 7 Table 2: Status message format ......................... 7 Table 3: Modem status format ........................8 Table 4: MIB status format .......................... 8 Table 5: Available commands ........................14 Table 6: List of error codes ........................
Page 5
UM2241 List of figures List of figures Figure 1: Host controller to ST75MM connection scheme ................6 Figure 2: TREQ negotiation timing diagram ....................9 Figure 3: DL_DATA_SLAVE.indication transaction .................. 10 Figure 4: DL_DATA_SLAVE.indication transaction in case of no ack ............11 Figure 5: MIB_Write.request transaction ....................
Host interface UM2241 Host interface Settings The host interface is used to interface the ST75MM to the host controller, it allows exchanging data, configuration and control messages. The host interface can be managed by the host controller with a half-duplex asynchronous serial port (UART) plus an additional synchronization signal which will be referenced, in this document as TREQ.
UM2241 Host interface Section 1.7: "Examples" contains some examples on how complex operations shall be managed between the host controller and the ST75MM. Acknowledge In order to improve the serial link robustness, every frame except the SM must be acknowledged by the receiver within a given period T (host interface timings are managed through a dedicated MIB object, see Section 3.1: "MIB objects"...
Host interface UM2241 Starting Field Size Value Description Byte SM start 0x3F Used to mark the start of the SM Modem Bit mask showing the status of the ST75MM modem status Bit mask showing which MIB objects have been MIB status reconfigured by the host controller The following table shows the modem status field possible values.
UM2241 Host interface Name MIB index Description Manufacturer data Physical address (ACA) of the modem and serial number Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved Reserved TREQ management Here below a timing diagram of the priority negotiation of the serial link is depicted, first of all the host controller wanting to send a command to the ST75MM drives low the TREQ line, waiting for the SM frame before sending the message.
Host interface UM2241 Figure 3: DL_DATA_SLAVE.indication transaction The same transaction, in case the acknowledge (the same applies in case the –indication is lost) is lost, is the one depicted in the next figure, where the second DL_DATA_SLAVE.indication message frame uses 0x03 as start of the frame byte instead 0x02 as the first one, to let the host controller check if the message has already been received or not.
UM2241 Host interface Figure 4: DL_DATA_SLAVE.indication transaction in case of no ack This is an example of the MIB_Write request coming from the host controller, as the initiator is the host controller, the session is started with the negotiation with the ST75MM to gain priority on the serial link DocID030767 Rev 1 11/26...
Host interface UM2241 Figure 5: MIB_Write.request transaction The MIB_Read request coming from the host controller follows the same mechanism as the MIB_Write. 12/26 DocID030767 Rev 1...
Host interface commands UM2241 Host interface commands Commands The following table is a summary of the available commands, each command will be better specified later on. Table 5: Available commands .confirm .confirm Command .request .indication Description (positive) (negative) Modifies the value of a specific MIB object (.request) or notifies MIB_Write...
UM2241 Host interface commands MIB_Write This command is initiated by the host controller to request a modification on a specific MIB object, the MIB object index and the expected new value are embedded in the payload of the .request message, while the .confirm messages carry the information about the success of the operation.
Host interface commands UM2241 Applicative payload (variable) Only commands having the protocol type equal to 0 shall be processed, if a command with a different protocol type is received it shall be discarded and no action performed. HI_Ping HI_Ping commands can be used to periodically test the serial link between the host controller and the ST75MM modem, and the healthy state of the modem itself.
UM2241 Management information base (MIB) Management information base (MIB) MIB objects The following table shows the MIB objects present in the ST75MM modem, reserved MIB objects should not be modified and notifications involving those MIB objects can be ignored. Table 8: MIB objects list Index Name Size...
Management information base (MIB) UM2241 Byte Field Sub-field Description and values 0: next transmitted frame will start immediately Zero crossing 1: next transmitted frame will start at the next zero crossing event 0: single channel operations RX channel 1: dual channel operations 0: transmit on high channel TX channel 1: transmit on low channel...
UM2241 Management information base (MIB) Table 12: Manufacturer data MIB object (6) Byte Field Sub-field Description and values 0-15 Device ID Device identification string 16-21 Physical address of the node (ACA) Table 13: Host interface timings MIB object (14) Sub- Byte Field Description and values...
Page 22
Management information base (MIB) UM2241 Byte Field Sub-field Description and values Discarded Counter of frames discarded from the MAC layer due to frames busy upper layers condition Overcurrent Number of overcurrent events in the last transmitted events frame 22/26 DocID030767 Rev 1...
UM2241 Configuring the ST75MM Configuring the ST75MM Only the four MIB objects detailed below need to be programmed/monitored to ensure correct operation as receiver-only in the CENELEC 132.5 kHz band. PHY configuration (MIB index 2) In order to configure the ST75MM modem to work as a single channel receiver in the CENELEC 132.5 kHz band the MIB object 2 shall be programmed with the following string: {0x31, 0x95, 0x0A, 0x3B, 0x58, 0x9B} Corresponding to the following configuration (selected values are in bold).
Configuring the ST75MM UM2241 Byte Field Sub-field Description and values Receiving mode for higher channel RX high 0: FSK modulation channel 1: any PSK modulation Reserved Reserved Reserved {0x3B, 0x58, 0x9B} MAC configuration (MIB index 3) In order to configure the ST75MM modem to work in the normal MAC mode the MIB object 3 shall be programmed with the following string: {0x01, 0x00} Corresponding to the following configuration (selected values are in bold).
UM2241 Revision history Revision history Table 19: Document revision history Date Revision Changes 09-Aug-2017 Initial release. DocID030767 Rev 1 25/26...
Page 26
ST products and/or to this document at any time without notice. Purchasers should obtain the latest relevant information on ST products before placing orders. ST products are sold pursuant to ST’s terms and conditions of sale in place at the time of order acknowledgement.
Need help?
Do you have a question about the METERS AND MORE UM2241 and is the answer not in the manual?
Questions and answers