Email: Password: Remember Me | Create Account (Free)

Back to Subject List

Old thread has been locked -- no new posts accepted in this thread
???
02/14/05 23:29
Read: times


 
#87457 - Sorry
Responding to: ???'s previous message
Yes
1) CS Low
2) Address Byte, wait for Int
3) Data, wait for Int
4) Data, wait for Int
5) CS High

I did not realize you chip has SPI built in.

so insure the data direction is correct high or low bit first.
and the Data bytes go in the right order high or low byte first.

Once you get it working you may want to do the rs232 and SPI in interupts.

List of 7 messages in thread
TopicAuthorDate
acdu812 and spi. program question            01/01/70 00:00      
   Try            01/01/70 00:00      
   CS in SPI            01/01/70 00:00      
   thanks.. but....            01/01/70 00:00      
   Sorry            01/01/70 00:00      
   The problem may be....            01/01/70 00:00      
      re:SPI on ADuC812            01/01/70 00:00      

Back to Subject List