1

I am using CS5463 for energy metering application. Is there any way to check if IC is working properly without communicating with the IC through SPI interface? I just want to make sure that the connections are right before programming the controller.

Khurram
  • 41
  • 3

2 Answers2

1

The IC has an “Auto-boot” Mode which allows setup from a serial E2PROM'. This does not meet the letter of your exact requirement but probably meets the spirit of it.

Page 40 of the data sheet provides detailed instructions of how to use this mode and what data to put in the EEPROM for a basic test setup - see below. A 21 byte sequence is required.

enter image description here

Russell McMahon
  • 150,303
  • 18
  • 213
  • 391
  • The datasheet gives default values for registers k has value 1 by default and N=4000. Datasheet says the default value are loaded on reset. So I guess without any calibration we should se square wave on its E1 pin since 'k' and N are the values that determine its frequency. But I am getting DC 5V on oscilloscope. Am I thinking in the right direction? – Khurram Dec 01 '15 at 06:52
  • @Khurram You should read ALL comments and seek to understand what they mean. 21 hours ago Andy said "If there is no ac connected to the inputs then E1 won't do anything I reckon." That seems reasonably likely. You MAY have to produce simulated I & V input signals. This is not very hard AND noise input from a wire in an AC mains environment may be enoughy. Or the IC MAY respond to DC which makes it even easier - the data sheet should tell you. – Russell McMahon Dec 01 '15 at 09:29
  • Sorry I did not mentioned that I used two separate function generators to produce simulated I and V(both being 200mV pk-pk) input signals and observed the resulting output on oscilloscope which was 5V DC. Today I used a single function generator and shorted current and voltage channels. The result is the same. – Khurram Dec 01 '15 at 09:59
  • @Khurram It helps to know what you are doing when you get a given result :-). | Can you provide the ACTUAL circut of you test setup? Quite oftenpeople say "the same as xxx" or "just like xxx or ..., and it more often than not happens that what they are doing is different or very different to the cct they refer to. Word pictures are a less satisfactory way of doing this unless they are "drwan" with great care and detail - and even thena diagram usually helps. – Russell McMahon Dec 01 '15 at 11:15
0

@Russel The test setup is shown in the following figure. test circuit

Khurram
  • 41
  • 3