Introduction - If you have any usage issues, please Google them yourself
This source is the use STM32 operating ATT7022E, and a simple example of the basic reading communication parameters. STM32 using R8T6, metering chip is ATT7022E. Analog SPI routines to manipulate ATT7022E, register operations inside the initialization, school tables are made in accordance ATT7022E user manuals and application notes for the latest register. I hope this example will bring help to use the chip to make electricity meters.