Quantcast
Channel: MCS Electronics Forum
Viewing all articles
Browse latest Browse all 20577

BASCOM-AVR : SPI Multi byte communication : NEWTOPIC

$
0
0
I am trying to communicate ATMEGA8 micro controller with ADE7753, it fails every time. My code file is attached. This is my student project, I am confused 1- Sending a single byte as control byte to ADE7753, and receiving back 2 byte or 3 byte according to different registers and different length in return from ADE7753 . IC. 2. Also the clock frequency of CPU it should be 8, 4,2, or 1 mHz. 3. What is the dummy byte should i also send every time. thanks for any help. [b:dea2f99801][color=red:dea2f99801](BASCOM-AVR version : 2.0.7.5 , Latest : 2.0.7.6 )[/b:dea2f99801][/color:dea2f99801]

Viewing all articles
Browse latest Browse all 20577

Trending Articles



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