The SmartACK concept is used to for bidirectional communication between energy autarkic sensors and line powered HW modules. The DolphinV4 API has a built in support for this concept. For detailed information how the SmartACK works be sure to read the SMACK Specification.pdf (not available in current install package).
The current installation package provides 3 SmartACK examples. One Controller, one sensor and TCM300 repeater. The TCM300 example supports smart ack repeating, where it has full post master functionality.
Usage of the example programs
- download the Controller application to the ASIC
- download the Sensor application to another ASIC
- test Controller functionality by sending data telegrams from a PTM switch
- when it works the ADIO3 should toggle by every telegram and the telegram should be received using WinEtel
- test Sensor functionality by waking up the sensor using Wake0, it will send a data telegram with data 0xEE - no controller learned on sensor side
- if no WAKE0 pin is pressed, the sensor wakes up periodically each hour and sends a DATA telegram
- enter the Controller to learn mode by pressing ADIO0 switch, ADIO4 should be on
- send a LearnReclaim telegram from the sensor using WAKE1
- exit learn mode by pressing ADIO0, ADIO4 should switch off
- now the Sensor ID is learned in the Controller and the Controller ID is learned in the Sensor
- to verify this, by pushing the WAKE0 the Sensor sends a data telegram which contains:
- 0x04 when there was no Data Acknowledge from the Controller on a 3x Data Reclaim tries with the previous telegram but controller ID is learned in
- 0x01 - 0x03 number of Data Reclaim tries until the Sensor has received Data Acknowledge from the controller
- 0xEE if no controller ID is learned
- note that the data from the sensor data telegram contains the status of the previous Reclaim process
- to learn out the sensor repeat the learn process again
Controller Application
Sensor Application