Datasheet HLW8032 (Hiliwi Technology) - 10

FabricanteHiliwi Technology
DescripciónSingle-phase metering IC in SOP8 package
Páginas / Página18 / 10 — HLW8032. UART communication interface
Formato / tamaño de archivoPDF / 1.2 Mb
Idioma del documentoInglés

HLW8032. UART communication interface

HLW8032 UART communication interface

Línea de modelo para esta hoja de datos

Versión de texto del documento

HLW8032 UART communication interface
HLW8032 has a simple UART interface and adopts asynchronous serial communication mode, which allows data communication via two one-way pins. The UART interface can realize isolated communication by only a low-cost photoelectric coupler. The UART interface operates at fixed frequency of 4800 bps and its interval for transmitting data is 50mS, which is suitable for design of low velocity. UART of HLW8032 uses two pins. The TX pin is used to transmit data from HLW8032, and data is transmitted in the least significant bit (LSB) with priority. The RX pin is used to receive the data from microcontroller. UART data format
T T N R P R 0 1 2 3 4 5 6 7 E A O 0 A D D D D D D D D V T T D T S E S S
起始位 LSB MSB 偶校验位 停止位 Fig.3 UART frame data Data format of HLW8032: Baud rate:4800bps Start bit+data bit (8bit) + even bit + stop bit Every complete transmission of data by HLW8032 is 24bytes. The transmission of a group of data starts from register 1 (State REG) and ends at register 11 (CheckSum REG), involving altogether 11 registers and data of 24 bytes. See register list for details. REV 1.5 10/16 www.hiliwi.com