Forums Technical Articles Developer Docs 中文区 UART Decoder Module Database Models Quotes & Orders EN · 中文 · 日本語 · DE · ES

SPD1200ZG baud-rate table is different: Type 06 is 115200, not 07

Viewed 0

Frequently asked by integrators; answered by ERDI Engineering.

My driver for the SPD1200N2 sets the baud rate with the Type code 07 for 115200. On an SPD1200ZG it seems to do something else. Is the protocol different?

1 Answers

Yes, the SPD1200ZG manual uses its own baud-rate command, and reusing the N-series code is a classic copy-paste bug.

SPD1200ZG (manual section 6.1): request 55 AA 01 FF FF FF Type SUM[3:7], reply 55 AA 01 STA FF FF Type SUM[1:7]. The Type table has only eight entries:
01 = 9600, 02 = 14400, 03 = 19200, 04 = 38400, 05 = 56000, 06 = 115200 (default), 07 = 128000, 08 = 230400 bps. There is no 57600 entry.

SPD1200N-series and other family A parts: request 55 AA TYPE FF FF FF FF SUM[3:7], with the table 01 = 9600 ... 06 = 57600, 07 = 115200, 08 = 128000, 09 = 230400. The Type code sits in the function byte, and the setting takes effect after a restart.

The same code means different baud rates in the two manuals (06 is 57600 on the N series and 115200 on the ZG), so key your driver on the exact model name, never on the family.

Computed example for the ZG, setting 115200 (Type 06), using the manual's rule that the check byte is the low 8 bits of the sum of bytes 3 to 7: 0x01 + 0xFF + 0xFF + 0xFF + 0x06 = 0x304, so the frame is 55 AA 01 FF FF FF 06 04.

Other protocol differences on the ZG: it has angle and point-to-point commands whose replies are 12 bytes long, with the checksum being the sum of bytes 1 to 11. The manual says the byte-level conventions of those 12-byte replies (field scaling, signed encoding, checksum overflow) must be confirmed with the supplier. Datasheet does not specify them; email us and we confirm in writing before you build a parser for them.

Also note that the factory pack contains manuals headed SPD1200S2G and SPD1200ZG in one folder; tell us which designation is on your unit's label so we send the matching document.

Sources:

ERDI Verified Answer — checked against the datasheet by ERDI Engineering.

ERDI Engineering Community is run by ERDI TECH LTD (Chengdu, China) · erdilrf.com · GitHub · Civil applications only · Questions about modules from any brand are welcome.