EVAL-ADE7878EBZ Analog Devices Inc, EVAL-ADE7878EBZ Datasheet - Page 17

no-image

EVAL-ADE7878EBZ

Manufacturer Part Number
EVAL-ADE7878EBZ
Description
Energy Meter Eval. Board
Manufacturer
Analog Devices Inc
Datasheet

Specifications of EVAL-ADE7878EBZ

Silicon Manufacturer
Analog Devices
Application Sub Type
Energy Meter
Kit Application Type
Data Converter
Silicon Core Number
ADE7878
Features
External Transducers, LED Indicators, Logic Outputs
Kit Contents
Board
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
Q4472972
Q4684026
Q5015773
Preliminary Technical Data
0
1
2
Table 8. Reset—Answer from Microcontroller to PC
Byte
0
1
Table 9. I
Message from PC to Microcontroller
Byte
0
1
2
Table 10. I
Answer from Microcontroller to PC
Byte
0
1
Table 11. Data Write—Message from PC to Microcontroller
Byte
0
1
2
3
4
5
6
N+2
N+3
Table 12. Data Write—Answer from Microcontroller to PC
Byte
0
1
Table 13. Data Read—Message from PC to Microcontroller
Byte
0
1
2
3
4
Table 14. Data Read—Answer from Microcontroller to PC
Byte
‘C’=0x43 - toggle RESET pin and keep it low for at least
10msec
N=1
Data Byte 0: this byte can have any value
‘R’=0x52
‘~’=0x7E to acknowledge the operation was successful
‘D’=0x44 - Select I2C, SPI and initialize them. Then sets
CONFIG2[7:0]=0x2 to lock in the port choice. When I2C is
selected, enable also SSP0 of LPC2368 (used for HSDC)
N=1
Data Byte 0: 0x00=I2C, 0x01=SPI
‘E’=0x45
N= Number of bytes transmitted after this byte. N can be
1+2,2+2, 4+2 or 6+2
MS byte of the address
LS byte of the address
Data byte N-3 (MS)
Data byte N-4
Data byte N-5
Data byte 1
Data byte 0 (LS)
‘F’=0x46
N= Number of bytes transmitted after this byte. N=3
MS byte of the address
LS byte of the address
M=number of bytes to be read from the address above.
M can be 1, 2, 4 or 6
Description
Description
Description
Description
Description
‘R’=0x52
‘~’=0x7E to acknowledge the operation was successful
‘R’=0x52
‘~’=0x7E to acknowledge the operation was successful
Description
Description
2
C/SPI Select (Configure Communication)—
2
C/SPI Select (Configure Communication)—
Rev. PrB | Page 17 of 30
0
1
2
3
4
5
6
7
8
Table 15. Interrupt Setup—Message from PC to
Microcontroller
Byte
0
1
2
3
4
5
6
7
8
9
Table 16. Interrupt Setup—Message from Microcontroller to PC
Byte
0
1
2
3
4
The microcontroller executes the following operations once
Interrupt Setup command is received:
- Reads STATUS0[31:0] or STATUS1[31:0] (depending on the
address received from PC) and if it shows an interrupt already
triggered (one of its bits equal to 1), it erases it by writing it
back.
- Writes MASK0[31:0] or MASK1[31:0] with the value received
from PC.
- Waits for the interrupt to be triggered. If the wait gets more
than the time out specified in the command, then sends back
0xFFFFFFFF.
- If the interrupt is triggered, it reads STATUS0[31:0] or
STATUS1[31:0] and then writes it back to clear it. The value
‘R’=0x52
MS byte of the address
LS byte of the address
Byte 5, 3,1 or 0 (MS)read at the location indicated by
address. The location may contain 6, 4, 2 or 1 bytes. The
content is transmitted MS byte first.
Byte 4, 2 or 0
Byte 3, 1
Byte 2, 0
Byte 1
Byte 0
Description
‘J’=0x4A
N=8 - Number of bytes transmitted after this byte.
MS byte of MASK1[31:0] or MASK0[31:0] address
LS byte of MASK1[31:0] or MASK0[31:0] address
Byte3 of the desired value of MASK0[31:0] or
MASK1[31:0]
Byte2
Byte1
Byte0
Time Out Byte - Time the MCU must wait for the interrupt
to be triggered. It is measured in 3sec increments.
Time Out Byte (TOB)=0 means the timeout is disabled
IRQ timer - Time the MCU leaves the
before writing back to clear the interrupt flag. It is
measured in 10msec increments.
Timer=0 means the timeout is disabled
Description
‘R’=0x52
Byte3 of STATUS0[31:0] or STATUS1[31:0]
If the program waited for TOB*3sec and the interrupt was
not triggered, then the Byte3=Byte2=Byte1=Byte0=0xFF
Byte2 of STATUS0[31:0] or STATUS1[31:0]
Byte1 of STATUS0[31:0] or STATUS1[31:0]
Byte0 of STATUS0[31:0] or STATUS1[31:0]
EVAL-ADE7878EB
IRQx
, x=0,1pin low

Related parts for EVAL-ADE7878EBZ