bit RISC Microcontroller
15 pages
English

Découvre YouScribe en t'inscrivant gratuitement

Je m'inscris

Découvre YouScribe en t'inscrivant gratuitement

Je m'inscris
Obtenez un accès à la bibliothèque pour le consulter en ligne
En savoir plus
15 pages
English
Obtenez un accès à la bibliothèque pour le consulter en ligne
En savoir plus

Description

Niveau: Supérieur, Master
8-bit RISC Microcontroller Application Note AVR151: Setup And Use of The SPI Features • SPI Pin Functionality ? Multi Slave Systems ? SPI Timing ? SPI Transmission Conflicts ? Emulating the SPI ? Code examples for Polled operation ? Code examples for Interrupt Controlled operation 1. Introduction This application note describes how to setup and use the on-chip Serial Peripheral Interface (SPI) of the AVR micro-controller. Most AVR devices come with an on board SPI and can be configured according to this document. After a theoretical background it will be shown how to configure the SPI to run in both master mode and slave mode Figure 1. Master and Slave Interface. Receive Buffer MOSI MISOShift-Register DATABUS Receive Buffer MISO MOSI DATABUS Slave Mode SPI Clock Generator Master Mode MISO MOSI SCK SS VCC SS Shift- Register Rev. 2585C–AVR–07/08

  • spi

  • ss pin

  • multi slave

  • spi timing ?

  • sck mosi

  • configuration spi

  • interaction between

  • rising falling


Informations

Publié par
Nombre de lectures 6
Langue English

Extrait

AVR151: Setup And Use of The SPI
Features SPI Pin Functionality Multi Slave Systems SPI Timing SPI Transmission Conflicts Emulating the SPI Code examples for Polled operation Code examples for Interrupt Controlled operation
1.
Introduction
This application note describes how to setup and use the onchip Serial Peripheral Interface (SPI) of the AVR microcontroller. Most AVR devices come with an on board SPI and can be configured according to this document. After a theoretical background it will be shown how to configure the SPI to run in both master mode and slave mode
Figure 1.Master and Slave Interface.
Master Mode
DATABUS
Receive Buffer
Shift MOSI MISO Register
SPI Clock Generator
MISO
MOSI
SCK
SS V CC
SS
Receive Buffer
Shift MISO MOSI Register
Slave Mode
DATABUS
8-bit RISC Microcontroller
Application Note
Rev. 2585C–AVR–07/08
  • Univers Univers
  • Ebooks Ebooks
  • Livres audio Livres audio
  • Presse Presse
  • Podcasts Podcasts
  • BD BD
  • Documents Documents