Search found 2 matches
- Mon Sep 14, 2009 1:14 pm
- Forum: Components (Comms)
- Topic: SPI communication
- Replies: 2
- Views: 6676
Re: SPI communication
Hi Benj, We used to toggle the cs line with a digital I/O pin on the MCU. But that's also not working. So we decided, according to page 20 figure 5a, to permanently pull down the cs line to ground. According to figure 6 on page 20 the clock polarity should be idle high. We're not sure about the othe...
- Mon Sep 14, 2009 11:11 am
- Forum: Components (Comms)
- Topic: SPI communication
- Replies: 2
- Views: 6676
SPI communication
Hi, I use a MCU (18f4685) and ADC (AD7738). I've connected SDO (MCU) to DIN (ADC), SDI (MCU) to DOUT (ADC), SCK (MCU) to SCK (ADC) and connected the #CS (ADC) to the ground. In my attached flowcode programme first I init the SPI hardware and reset the ADC by sending 0,1,1,1 over SPI. After that I se...