18.01.2013 Views

Atmel AVR944: Atmel LED Driver Library for 8 ... - Atmel Corporation

Atmel AVR944: Atmel LED Driver Library for 8 ... - Atmel Corporation

Atmel AVR944: Atmel LED Driver Library for 8 ... - Atmel Corporation

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

6 Electrical connections<br />

6.1 TWI<br />

6.2 SPI<br />

8 <strong>Atmel</strong> <strong>AVR944</strong><br />

To connect a MSLxxxx as a TWI slave to AVR master (megaAVR or XMEGA), pull up<br />

SDA and SCL lines with a 10kΩ resistor as shown in Figure 6-1. In this figure, R1 and<br />

R2 are 10kΩ resistors. Devices 1 to n are multiple MSLxxxx TWI slaves.<br />

Figure 6-1. TWI connections.<br />

To connect a MSLxxxx as a SPI slave to tinyAVR SPI (or USI) master, do not pull-up<br />

MISO, MOSI, SCK, or CSB, but add a 33Ω series resistor on MISO between the AVR<br />

and MSLxxxx as shown in Figure 6-2.<br />

Figure 6-2. SPI connections.<br />

SCK<br />

MOSI<br />

SS<br />

MISO<br />

33Ω<br />

SCK<br />

MOSI<br />

SS<br />

MISO<br />

<strong>Atmel</strong> AVR MCU <strong>Atmel</strong> <strong>LED</strong> driver<br />

8464A-AVR-11/11

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!