Quantcast
Channel: EngineerZone: Message List
Viewing all articles
Browse latest Browse all 36216

Re: ADE7878 doesn't respond on SPI.

$
0
0

Hello hmani,

 

I am facing similar issue to what uriy had. I am using ADE Evaluation Board along with PIC in a separate breadboard. I opened JP7 (as mentioned in evaluation board manual) and JP2 (as mentioned by you in ade7878 spi problem) and gave a 3.3V supply to P9 and didn't give any supply to P12. I powered PIC from a different power source. I am connecting PM1 directly to ground so that ADE will be powered up in PSM0 mode.

 

I am driving RESET pin of ADE to low from PIC. After a sufficient delay (more than that mentioned in the ADE datasheet) I check the IRQ1 input to PIC. I could see that it went low suggesting that transition is complete. No I need to right 0xFF to STATUS1 register so that I can drive IRQ1 pin back up.

 

I am writing 0xAA to an address 0xEBFF three times so that CS pin will get toggled three times. In order to lock SPI I am writing to CONFIG2 register. But while trying to read from CONFIG2 after the write, I am not getting any signal in MISO. But I could see CS going down and 0x01, 0xEC, 0x01 and 0xFF (passing dummy data to ADE so that CONFIG2 register value is returned back).

 

Could you tell me what I did wrong?

 

Please do reply at the earliest as I have been stuck here for quite some time now.


Viewing all articles
Browse latest Browse all 36216

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>