078po

Three-phase power calculation expansion board

 
Overview
This is a three-phase power calculation expansion board based on the SkyStar development board. It uses the ADE7878 chip with isolation design to prevent strong current interference.
Voltage sampling uses resistor dividers to reduce cost while ensuring the safety of subsequent circuits through isolation.
Current sampling uses an integrated three-phase current transformer with a telephone port interface.
Connection to the development board is only required via SPI and power supply.
 
Hardware verification shows
that without applied voltage or current signals, the values ​​in the corresponding registers are all 0, making it impossible to determine the normal hardware status.
However, there is a CHECKSUM register, which, by default, has a specific value.
According to the datasheet, this register's value on the ADE7878 chip is 0x33666787.
 
 
This is a 4-byte register, read using the SPIRead4Bytes function.

uint32_t SPIRead4Bytes(uint16_t address)
{
    union{uint8_t bit[2];uint16_t all;}tempd16;//bit[0] is the low bit
    union{uint8_t bit[4];uint32_t all;}tempd32;//bit[0] is the low bit
    tempd16.all=address;
    ADE7878_CS_L();
    SPI2_ReadWritebit(0x01);
    SPI2_ReadWritebit(tempd16.bit[1]);//high bit
    SPI2_ReadWritebit(tempd16.bit[0]);
   
    tempd32.bit[3]=SPI2_ReadWritebit(0x00);//high bit
    tempd32.bit[2]=SPI2_ReadWritebit(0x00);//
    tempd32.bit[1] = SPI2_ReadWritebit(0x00); //
    tempd32.bit[0] = SPI2_ReadWritebit(0x00); //
    ADE7878_CS_H();

    return tempd32.all;
}
 
Function call:
 
Reading results during simulation debugging:
 
参考设计图片
×
 
 
Search Datasheet?

Supported by EEWorld Datasheet

Forum More
Update:2026-03-26 18:09:45
  • Voltage Follower Circuit
  • 【ESP8266】Board received
  • The most suitable color temperature range of LED lighting fixtures
  • How can I make the CRC checksum of a file to be zero?
  • Baby Show Gifts: DIY baby calendars are being shipped~~~
  • ARM debugging DAbt_Handler problem solution

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
community

Robot
development
community

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号