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

BASCOM-AVR : simple spi soft problem : REPLY

$
0
0
hi Mark, Thanks for your answers Mark but fortunately I still have not any dialog SPI I read, read and test the samples I understand the master must send a byte first to the slave and the the slave return one and so on... On the help the clockrate must be a 1/4 than slave one, but I saw also : Config Spi = Hard , Interrupt = On , Data Order = Msb , Master = No , Polarity = Low , Phase = 0 , Clockrate = 128 '[u:a4eeeb8617]clock rate does not matter for a slave [/u:a4eeeb8617] I would like to use soft but hard will be convenient too - It is for two things use the DS3234 RTC TCXO Make a wiki about the SPI bus for all of us So a sample as Master send "abcdefgh" and a Slave which answers "123456789" Using new atmega as 644..168. for exemple... I tried both the 2313 doesn't work for me and the 8515 samples the 8515 give me errors of compilation I think it will be a real help for all of us and... I will do not the wiki ! :wink: :cry: Jean-Pierre

Viewing all articles
Browse latest Browse all 20887

Trending Articles



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