300 likes | 474 Views
2.4 RBX430-1. Topics to Cover…. MSP430F2274 RBX430-1 Development Board Interfaces ADC10 Ports USART I 2 c Peripherals Timer_A /B Watchdog FRAM Switches Speaker. Modern 16-bit RISC CPU 1K to 128KB+ ISP Flash 14- to 100-pin options Intelligent peripherals boost performance
E N D
Topics to Cover… • MSP430F2274 • RBX430-1 Development Board • Interfaces • ADC10 • Ports • USART • I2c • Peripherals • Timer_A/B • Watchdog • FRAM • Switches • Speaker RBX430
Modern 16-bit RISC CPU 1K to 128KB+ ISP Flash 14- to 100-pin options Intelligent peripherals boost performance Embedded emulation 0.1µA power down 0.8µA standby mode 250µA / 1MIPS <1µs clock start-up Zero-power BOR <50nA pin leakage Ultra-low Power + High-Performance RBX430
MSP430F2274 MSP430 Typical Applications Handheld Measurement • Air Flow measurement • Alcohol meter • Barometer • Data loggers • Emission/Gas analyser • Humidity measurement • Temperature measurement • Weight scales Medical Instruments • Blood pressure meter • Blood sugar meter • Breath measurement • EKG system Utility Metering • Gas Meter • Water Meter • Heat Volume Counter • Heat Cost Allocation • Electricity Meter • Meter reading system (RF) Sports equipment • Altimeter • Bike computer • Diving watches Security • Glass break sensors • Door control • Smoke/fire/gas detectors Home environment • Air conditioning • Control unit • Thermostat • Boiler control • Shutter control • Irrigation system • White goods (Washing machine,..) Misc • Smart card reader • Taxi meter • Smart Batteries RBX430
MSP430F2274 IMPORTANT!!! Beware of static electricity, don't touch the components directly. Never disconnect a target board from the USB programmer if still plugged into the computer or from the battery unit with jumper on. Otherwise you destroy the board! RBX430
Development Board Computrol Facilities RBX430
Development Board Printed Circuit Boards RBX430
Development Board Apply Solder Paste RBX430
Development Board Robots Place Parts RBX430
Development Board Discrete Parts Added RBX430
Development Board Flow Soldered RBX430
Development Board 276 Solder Bath RBX430
Development Board Final Inspection RBX430
Development Board MSP430F2274 RBX430
Development Board RBX430-1 Development Board External Power 8-bit Port Ferrite RAM Servo Hookups External Battery Real-time Clock w/crystal LaunchPad USB Hookup Accelerometer MSP430F2274 Potentiometers Power Source Digital Thermometer Headphone Jack 160 x 160 Pixel LCD LEDs Push Buttons Speaker RBX430
Development Board RBX430-1 Hookups J16 Header Servo Power (Rev E only) J15 Header (External 6VDC) J8 Header (Ports) J9 Header (8-bit I/O) J1 Header (External Battery) J2-J5 Header (Servos) J7 Header (Strain relief end) Cross-over Cable (Rev D only) J12 Header (Enable RTC) USB Cable J3 Header (Disable Speaker) RBX430 Power Switch (EXT, BAT, USB) Use USB to Program Board J6 GND to Vcc RBX430
Development Board RBX430-1 Pin-outs Push button Switches Servos 160 x 160 Pixel LCD I2c Communication FRAM, RTC, Temp, Accelerometer, I/O Potentiometers LCD Backlight Speaker LEDs RBX430
Computer Peripherals Computer Peripherals/Interfaces • A computer peripheral is an electronic device connected to the CPU via a computer interface. • Printer • LCD • Disk • Real-time Clock • A computer interface is an electronic device that connects the CPU with a computer peripheral. • Serial Port • Parallel Port • A/D or D/A Convertor • Voltage Amplifier • JTAG or Spy-by-wire RBX430
Interfaces / Peripherals RBX430-1 Interfaces / Peripherals • Timers A/B • PWM LEDs • PWM Servos • PWM Speaker • USCI A/B • USART – Universal Serial Asynchronous Rx/Tx • SPI – Serial Peripheral Interface • IrDA – Infrared Data • i2c – Inter-Integrated Circuit • FRAM (8k) • 3 Axis Accelerometer • RTC (w/battery backup) • Temperature Sensor • 8-bit I/O Parallel Port • Watchdog+ • A/D Converter (ADC10) • Potentiometers (Left & Right) • Thermistor (10k ) • Operational Amps (OA0-3) • Ports (P1-P4) • LEDs • Switches • LCD • LCD Backlight • Servos • Speaker • Power Module • Digitally Controlled Oscillator (DCO) • Very Low Frequency Oscillator (VLO) • 4.5v AC Line Power • 4.5v DC Battery Power RBX430
Peripheral Interface ADC10 High-performance 10-bit analog-to-digital conversions • More than 200k samples/sec • Programmable sample & hold • Initiation by software or Timer_A • 8 external input channels • Selectable voltage reference (1.5v or 2.5v) • Internal storage RBX430
Port1 Port3 Port2 Port4 Function Select Register PxSEL yes yes Interrupt Edge Select Register PxIES yes no Interrupt Enable Register PxIE yes no Interrupt Flag Register PxIFG yes no Direction Register PxDIR yes yes Output Register PxOUT yes yes Input Register PxIN yes yes 7 6 5 4 3 2 1 0 Peripheral Interface Ports - Digital I/O Independently programmable individual I/Os • 4 ports (P1 – P4) • Each has 8 I/O pins • Each pin can be configured as input or output • P1 and P2 pins can be configured to assert an interrupt request RBX430
Peripheral Interface USART - Serial Port The Universal Synchronous/Asynchronous Receive/Transmit peripheral interface supports two serial modes with one hardware module • UART • SPI (Synchronous Peripheral Interface) • IrDA • I2C (Inter-Integrated Circuit) • Double-buffered • Baud-rate generator RBX430
Peripheral Interface i2c – Inter-Integrated Circuit • Inter-Integrated Circuit • 2-wire serial interface (Serial data SDA, Serial clock SCL) • master/slave (slaves have unique 7-bit address) • 100-400 kbit/sec (relatively slow) • Master provides clock Slave acknowledgment Stop condition Start condition Write SDA RBX430 SDA stable Read SDA SDA may change
Peripherals A computer peripheralis a auxiliary device that connects to and works with a computer. A peripheralexpands the computer's capabilities but does not form part of the core computer architecture.
Peripheral Timer_A/B Timer_A/B are 16-bit timer/counters with three capture/compare registers • Capture external signals • Compare PWM mode • SCCI latch for asynchronous communication RBX430
Peripheral Watchdog Timer WDT module performs a controlled system restart after a software problem occurs • Can serve as an interval timer (generates interrupts) • WDT Control register is password protected • Note: Powers-up active RBX430
Peripheral FRAM (Ferrite RAM) • Ferro-electric Non-volatile RAM • i2c serial bus, address 0x50 • 8192 x 8 bits • 100 times faster than flash using half the power • Ultra-fast writes • Unlimited R/W cycles (1014 = 100 Trillion) • Immune to magnetic fields – no iron! • Addresses 21st century macro trends • Wireless • Low Power • Security • Endurance RBX430
Peripheral Switches MSP430F2274 RBX430
Peripheral Speaker MSP430F2274 RBX430