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

Re: ADE7373A SPI questions

$
0
0

 

Thanks for helping us on this one, so sorry, maybe I am missing something...

 

By my calculations, reading and then writing the STATUS0 register consumes 14 bytes of SPI traffic, at 2.5Mhz each byte is about 3.2us, that's a total of about 44.8us, which only leaves 80.2us left to read working registers (out of the 125us DSP acquisition window) -- right?

 

OK, well, if you divide 80.2 by 3.2 that's only enough time to transact 25 bytes before the next DSP cycle starts.  Getting into burst mode is 3 bytes of overhead, that leaves only 70.6us (or 22 bytes) for working register data.  Each working register, like say IAWV, is 4 bytes.  This means I can only read a maximum of 5 working registers in each DSP cycle.  What I wanted was the first 7 registers (current and voltage), but it looks like I can only get current OR voltage (not both).

 

Please tell me what is wrong with the analysis above?

Thank you,


Viewing all articles
Browse latest Browse all 22030

Trending Articles



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