11/16/2006 WSN Mote- MCU & Sensor Hardware 1 ECET 581 Wireless Sensor Networks Mote – MCU & Sensor Hardware 2 of 3 Fall 2006

Slides:



Advertisements
Similar presentations
IO Interfaces and Bus Standards. Interface circuits Consists of the cktry required to connect an i/o device to a computer. On one side we have data bus.
Advertisements

Computer Organization, Bus Structure
INPUT-OUTPUT ORGANIZATION
Programmable Interval Timer
Serial Interfaces, Part Deux -I 2 C and SPI December 4, 2002 Presented by Eugene Ho.
Lecture 8: Serial Interfaces
Serial Communication Buses: I 2 C and SPI By Brody Dunn.
STUDY OF THE ARIZONA MICROCHIP MICRO CONTROLLERS MOSTEFA GHASSOUL DAMMAM TECHNICAL COLLEGE
Configuration. Mirjana Stojanovic Process of loading bitstream of a design into the configuration memory. Bitstream is the transmission.
9/20/6Lecture 3 - Instruction Set - Al Hardware interface (part 2)
Input/Output and Communication
INPUT-OUTPUT ORGANIZATION
Interfaces A practical approach. Lesson 2 I2C and SPI
Microcontrollers, Basics Fundamentals of Designing with Microcontrollers 16 January 2012 Jonathan A. Titus.
MSP432™ MCUs Training Part 5: Digital Peripherals
Serial Peripheral Interface Module MTT M SERIAL PERIPHERAL INTERFACE (SPI)
LSU 10/22/2004Serial I/O1 Programming Unit, Lecture 5.
Embedded Bus – i2c David E. Culler Lab 2 Feb 2, 2015
CHAPTER 5 I/O PRINCIPLE Understand the principles of System Bus
4.0 rtos implementation part II
Arduino Josh Villbrandt February 4, Digital Circuits Analog versus digital – What’s the difference? – How to represent an analog signal in a computer?
DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK–
SC200x Peripherals Broadband Entertainment Division DTV Source Applications July 2001.
Input/Output mechanisms
Cis303a_chapt06_exam.ppt CIS303A: System Architecture Exam - Chapter 6 Name: __________________ Date: _______________ 1. What connects the CPU with other.
7/23 Inter-chip Serial Communication: SPI and I 2 C Computer Science & Engineering Department Arizona State University Tempe, AZ Dr. Yann-Hang Lee.
S4525A Peripherals & Enhanced FLASH 1 © 1999 Microchip Technology Incorporated. All Rights Reserved. S4525A Peripherals & Enhanced FLASH 1 Peripherals.
Core of the Embedded System
Volume. 1-the idea of the program is to increase, decrease the volume. 2-the program does the following: A-PF8:decrease the volume B-Pf9:increase the.
1 SERIAL PORT INTERFACE FOR MICROCONTROLLER EMBEDDED INTO INTEGRATED POWER METER Mr. Borisav Jovanović, Prof.dr Predrag Petković, Prof.dr. Milunka Damnjanović,
Universal Synchronous/Asynchronous Receiver/Transmitter (USART)
Lecture 20: Communications Lecturers: Professor John Devlin Mr Robert Ross.
Universal Asynchronous Receiver/Transmitter (UART)
Computer Architecture Lecture10: Input/output devices Piotr Bilski.
DEVICES AND COMMUNICATION BUSES FOR DEVICES NETWORK
(More) Interfacing concepts. Introduction Overview of I/O operations Programmed I/O – Standard I/O – Memory Mapped I/O Device synchronization Readings:
 8251A is a USART (Universal Synchronous Asynchronous Receiver Transmitter) for serial data communication.  Programmable peripheral designed for synchronous.
MICROCONTROLLER SYSTEMS Part 1. Figure 1.1Elements of a digital controller CPU Central Processing Unit Input Peripherals Output Peripherals ROM Read Only.
CS-350 TERM PROJECT COMPUTER BUSES By : AJIT UMRANI.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
EA PROJETO EM ELETRÔNICA APLICADA Bruno Mourão Siqueira.
Embedded Network Interface (ENI). What is ENI? Embedded Network Interface Originally called DPO (Digital Product Option) card Printer without network.
Computer Hardware A computer is made of internal components Central Processor Unit Internal External and external components.
©2008 R. Gupta, UCSD COSMOS Summer 2008 Peripheral Interfaces Rajesh K. Gupta Computer Science and Engineering University of California, San Diego.
© 2009, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction  Purpose:  This course provides an overview of the serial communication.
DsPIC30F4011 Fall DIP Switches  The upper four switches of SW1 are used to enable LEDs connected to PORTB/C, PORTA/D, PORTE and PORTF. For example,
PART 7 CPU Externals CHAPTER 7: INPUT/OUTPUT 1. Input/Output Problems Wide variety of peripherals – Delivering different amounts of data – At different.
S4525A Peripherals & Enhanced FLASH 1 © 1999 Microchip Technology Incorporated. All Rights Reserved. S4525A Peripherals & Enhanced FLASH 1 Peripherals.
Essentials of Communication This simple model requires many guarantees. Sender Receiver Communication Link Data.
THE MICROPROCESSOR A microprocessor is a single chip of silicon that performs all of the essential functions of a computer central processor unit (CPU)
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an introduction to the peripheral functions.
11/16/2006 WSN Mote- MCU & Sensor Hardware 1 ECET 581 Wireless Sensor Networks Mote – MCU & Sensor Hardware 1 of 3 Fall 2006
Synchronous vs asynchornous communication. What is a USART A USART (Universal Synchronous/Asynchronous Receiver/Transmitter) is a microchip that facilitates.
Product Overview 박 유 진박 유 진.  Nordic Semiconductor ASA(Norway 1983)  Ultra Low Power Wireless Communication System Solution  Short Range Radio Communication(20.
Networked Embedded Systems Sachin Katti & Pengyu Zhang EE107 Spring 2016 Lecture 9 Serial Buses – SPI, I2C.
박 유 진.  2.4-GHz IEEE Compliant RF Transceiver  Excellent Receiver Sensitivity ( -97dBm) and Robustness to Interference  6-mm × 6-mm QFN40.
MICROCONTROLLER AND INTERFACING Presented by: Shefali Jethva ( ) Shivali Panchal ( ) Komal Soni ( ) Roll no. :- 14EC308.
Lab 9 Multiprocessor, Buses, SPI, I2C. Multiprocessors Why multiprocessors? The structure of multiprocessors. Elements of multiprocessors: – Processing.
Department of Computer Science and Engineering
Serial Communication Buses: I2C and SPI
Microcontrollers & GPIO
EE 107 Fall 2017 Lecture 5 Serial Buses – UART & SPI
CS 286 Computer Organization and Architecture
Communication Lines Fundamentals.
Subject Name: Microcontroller Subject Code: 10ES42
BJ Furman ME 106 Fundamentals of Mechatronics 15NOV2012
Introduction to Microprocessors and Microcontrollers
Serial Communication Interface: Using 8251
Digital Signal Processors-1
Presentation transcript:

11/16/2006 WSN Mote- MCU & Sensor Hardware 1 ECET 581 Wireless Sensor Networks Mote – MCU & Sensor Hardware 2 of 3 Fall

11/16/2006 WSN Mote- MCU & Sensor Hardware 2 WSN Mote & Sensor Hardware Timer Timer DMA – Direct Memory Access DMA – Direct Memory Access JTAG JTAG USART/USCI USART/USCI SPI – Serial Peripheral Interface SPI – Serial Peripheral Interface I2C I2C RF Transceiver RF Transceiver

11/16/2006 WSN Mote- MCU & Sensor Hardware 3 Timers on the MSP430 Timer_A3 Timer_A3 16-bit timer/counter with 3 capture/compare registers16-bit timer/counter with 3 capture/compare registers PWM outputPWM output Interval timingInterval timing InterruptsInterrupts Timer_B3 Timer_B3 Watch Dog Timer Watch Dog Timer

11/16/2006 WSN Mote- MCU & Sensor Hardware 4 DMA DMA – Direct Memory Access DMA – Direct Memory Access Move a block of data in memory from system RAM to/from a buffer without using the CPU Move a block of data in memory from system RAM to/from a buffer without using the CPU CPU bus access turned over to DMA controller CPU bus access turned over to DMA controller Applications Applications Network packet routingNetwork packet routing Audio playbackAudio playback Streaming videoStreaming video

11/16/2006 WSN Mote- MCU & Sensor Hardware 5 DMA 3-independent channels for DMA transfer 3-independent channels for DMA transfer DMACTL0- (DMA Control Register 0) - DMAxTSELx bits: triggering & data transfer DMACTL0- (DMA Control Register 0) - DMAxTSELx bits: triggering & data transfer DMACTL1 (DMA Control Register 1) DMACTL1 (DMA Control Register 1) Handle conflicts for simultaneous triggersHandle conflicts for simultaneous triggers PrioritiesPriorities DMAxCTL - DMA Channel Control Register DMAxCTL - DMA Channel Control Register Single TransferSingle Transfer Block Transfer – entire data blockBlock Transfer – entire data block Burst-Block Transfer – allow interleave CPU and DMABurst-Block Transfer – allow interleave CPU and DMA Repeated Single TransferRepeated Single Transfer Repeated Block TransferRepeated Block Transfer Repeated Burst-Block TransferRepeated Burst-Block Transfer

11/16/2006 WSN Mote- MCU & Sensor Hardware 6 MSP430 - JTAG JTAG (Joint Test Action Group) Flexible Printed Circuit Interface JTAG (Joint Test Action Group) Flexible Printed Circuit Interface IEEE Standard Test Access Port and Boundary-Scan Architecture IEEE Standard Test Access Port and Boundary-Scan Architecture MSP430 on-chip JTAG interface MSP430 on-chip JTAG interface 2-wire JTAG (Spy-Bi-Wire or SBW)2-wire JTAG (Spy-Bi-Wire or SBW) 4-wire JTAG (standard)4-wire JTAG (standard) TMS – In, signal to control the JTAG state machine TMS – In, signal to control the JTAG state machine TCK – In, JTAG clock input TCK – In, JTAG clock input TDI – In, JTAG data input/TCLK input TDI – In, JTAG data input/TCLK input TDO – Out, JTAG data output TDO – Out, JTAG data output JTAG In Circuit Debugger & Programmer JTAG In Circuit Debugger & Programmer TI MSP-FET430UIF connected to a USB portTI MSP-FET430UIF connected to a USB port TI MSP-FETP430 JTAG interface connected to the PC’s parallel portTI MSP-FETP430 JTAG interface connected to the PC’s parallel port

11/16/2006 WSN Mote- MCU & Sensor Hardware 7 MSP430 - JTAG Programming Flash-based MSP430 using the JTAG interface Programming Flash-based MSP430 using the JTAG interface High-level Macros High-level Macros IR_SHIFT (8-bit instruction)IR_SHIFT (8-bit instruction) Shifts an 8-bit JTAG instruction into the JTAG instruction register Shifts an 8-bit JTAG instruction into the JTAG instruction register DR_SHIFT16 (16-bit data)DR_SHIFT16 (16-bit data) Shifts a 16-bit data into the JTAG data register Shifts a 16-bit data into the JTAG data register DR_SHIFT20 (20-bit address)DR_SHIFT20 (20-bit address) Shifts a 20-bit address into the JTAG memory address bus register Shifts a 20-bit address into the JTAG memory address bus register MsDelay (time) – wait a specified msMsDelay (time) – wait a specified ms SetTCLK – set TCLK to 1SetTCLK – set TCLK to 1 clrTCLK – set TCLK to 0clrTCLK – set TCLK to 0 TDOvalue – variable containing the last value shifted out on TDOTDOvalue – variable containing the last value shifted out on TDO

11/16/2006 WSN Mote- MCU & Sensor Hardware 8 USART/USCI USART – Universal Synchronous/Asynchronous Receive Transmit using double-buffered transmit/receive channels USART – Universal Synchronous/Asynchronous Receive Transmit using double-buffered transmit/receive channels A clock – shared by sender and receiverA clock – shared by sender and receiver Asynchronous – full duplexAsynchronous – full duplex Synchronous – master, half duplexSynchronous – master, half duplex Synchronous – Slave, half duplexSynchronous – Slave, half duplex USART supports USART supports synchronous SPI (3 or 4 pin)synchronous SPI (3 or 4 pin) Asynchronous UARTAsynchronous UART I2C (standard mode 100kbps, fast mode 400 kbps)I2C (standard mode 100kbps, fast mode 400 kbps)

11/16/2006 WSN Mote- MCU & Sensor Hardware 9 SPI – Serial Peripheral Interface Synchronous serial communication of host processor and peripherals Synchronous serial communication of host processor and peripherals SPI Interface SPI Interface Based on a 8-bit shift registerBased on a 8-bit shift register SCK (serial shift clock) provided by the master device.SCK (serial shift clock) provided by the master device. SCK a gated clockSCK a gated clock Only generated during shiftingOnly generated during shifting SCK stays idle between transferSCK stays idle between transfer 3-wire 3-wire Serial clock (SCK)Serial clock (SCK) SDI – Data InSDI – Data In SDO – Data OutSDO – Data Out

11/16/2006 WSN Mote- MCU & Sensor Hardware 10 I2C Bus A serial computer bus, Inter-Integrated Circuit (I2C), invented by Philips for low-speed peripherals communications A serial computer bus, Inter-Integrated Circuit (I2C), invented by Philips for low-speed peripherals communications 2-wire bi-directional serial bus 2-wire bi-directional serial bus SCL - Clock LineSCL - Clock Line SDA – Data LineSDA – Data Line Introduced by Philips 20 years ago Introduced by Philips 20 years ago Three data transfer speeds Three data transfer speeds Standard mode kbpsStandard mode kbps Fast mode kbpsFast mode kbps High speed mode - up to 3.4 MbpsHigh speed mode - up to 3.4 Mbps Master and Slave Master and Slave

11/16/2006 WSN Mote- MCU & Sensor Hardware 11 CC2420 RF Transceiver 2.4 GHz IEEE /ZigBee-ready RF Transceiver 2.4 GHz IEEE /ZigBee-ready RF Transceiver MHz RF MHz RF Low-power and low-voltage wireless applications Low-power and low-voltage wireless applications DSSS (Digital direct sequence spread spectrum) based modem DSSS (Digital direct sequence spread spectrum) based modem Spreading gain of 9dB Spreading gain of 9dB Effective data rate of 250 kbps Effective data rate of 250 kbps Separate transmit and receive FIFOs: 128 byte each Separate transmit and receive FIFOs: 128 byte each 4-wire SPI interface, serial clock up to 10 MHz 4-wire SPI interface, serial clock up to 10 MHz

11/16/2006 WSN Mote- MCU & Sensor Hardware 12 CC2420 RF Transceiver Testing CC2420 Testing CC2420

11/16/2006 WSN Mote- MCU & Sensor Hardware 13 CC2420 RF Transceiver CC2400EB CC2400EB