BASICS OF MSP430 & INTERFACING MICRO-SD CARD WITH IT.

Slides:



Advertisements
Similar presentations
I/O Organization popo.
Advertisements

Operating Systems File Management.
INPUT-OUTPUT ORGANIZATION
International Data Encryption Algorithm
UBI >> Contents Chapter 7 Timers Laboratories MSP430 Teaching Materials Texas Instruments Incorporated University of Beira Interior (PT) Pedro Dinis Gaspar,
4-1 Timers Timers can be used for  timing  event counting  pulse width measurement  pulse generation  frequency multiplication There are 8 Timers.
Input and Output CS 215 Lecture #20.
The 8051 Microcontroller Chapter 5 SERIAL PORT OPERATION.
Instructor: Dr Aleksandar Milenkovic Lecture Notes
11/13/01CS-550 Presentation - Overview of Microsoft disk operating system. 1 An Overview of Microsoft Disk Operating System.
CS 104 Introduction to Computer Science and Graphics Problems Operating Systems (4) File Management & Input/Out Systems 10/14/2008 Yang Song (Prepared.
7-1 Digital Serial Input/Output Two basic approaches  Synchronous shared common clock signal all devices synchronised with the shared clock signal data.
Timers and Interrupts Shivendu Bhushan Summer Camp ‘13.
Counters and Registers
MSP Ultra-Low Power | High Integration | Easy-to-Use “How To” Series: Clock System.
Chung-Ta King National Tsing Hua University
ATMEL AVR 8 bit RISC MICROCONTROLLERS
General System Architecture and I/O.  I/O devices and the CPU can execute concurrently.  Each device controller is in charge of a particular device.
 FILE S SYSTEM  DIFFERENT FILE SYSTEMS  FILE SYSTEM COMPONENTS  FILE OPERATIONS  LOG STRUCTERD FILE SYSTEM  FILE EXAMPLES.
Renesas Electronics Europe GmbH A © 2010 Renesas Electronics Corporation. All rights reserved. RL78 Clock Generator.
1 4-Integrating Peripherals in Embedded Systems. 2 Introduction Single-purpose processors  Performs specific computation task  Custom single-purpose.
System Clocks.
1 Computer System Overview Chapter 1. 2 n An Operating System makes the computing power available to users by controlling the hardware n Let us review.
Computer System Overview Chapter 1. Operating System Exploits the hardware resources of one or more processors Provides a set of services to system users.
MSP430 Mixed Signal Microcontroller – Parte 2 Afonso Ferreira Miguel Source: slau056d – Texas instruments.
Clock Options and Sleep Modes. Clock Sources Flash Fuse bits can be programmed to choose one of the following Clock sources: 1. External RC Osc. f = 1/(3RC).
AT91 Embedded Peripherals
File System Implementation Chapter 12. File system Organization Application programs Application programs Logical file system Logical file system manages.
© 2008, Renesas Technology America, Inc., All Rights Reserved 1 Course Introduction Purpose  This course provides an overview of the CPU architecture.
MS-DOS / PC-DOS Lindsey Buranych Alan Crouch Matthew Letnaunchyn Sandy Saab Carl Shapiro.
The Functions of Operating Systems Desktop PC Operating Systems.
Timer Timer is a device, which counts the input at regular interval (δT) using clock pulses at its input. The counts increment on each pulse and store.
ATtiny23131 A SEMINAR ON AVR MICROCONTROLLER ATtiny2313.
Modes of transfer in computer
Embedded Systems Design: A Unified Hardware/Software Introduction 1 Chapter 4 Standard Single Purpose Processors: Peripherals.
Intel 8051 Another family of microcontroller is the Intel 8051 family. The basic 8051 microcontroller has four parallel input/output ports, port 0, 1,
INTRODUCTION TO PIC MICROCONTROLLER. Overview and Features The term PIC stands for Peripheral Interface Controller. Microchip Technology, USA. Basically.
I/O Devices. Characteristics of I/O Devices  Block Devices  Information are stored and accessed in fixed-size blocks  Addressable, can have sequential.
Network and Systems Laboratory nslab.ee.ntu.edu.tw.
Processor Memory Processor-memory bus I/O Device Bus Adapter I/O Device I/O Device Bus Adapter I/O Device I/O Device Expansion bus I/O Bus.
Chapter 12 Some PIC Microcontroller Advances The aims of this chapter are to introduce: To introduce in overview two microcontrollers which show some enhanced.
ECE 456 Computer Architecture Lecture #9 – Input/Output Instructor: Dr. Honggang Wang Fall 2013.
Silberschatz, Galvin and Gagne ©2011 Operating System Concepts Essentials – 8 th Edition Chapter 2: The Linux System Part 5.
Interrupts and Exception Handling. Execution We are quite aware of the Fetch, Execute process of the control unit of the CPU –Fetch and instruction as.
Components of a typical full-featured microcontroller.
1 4-Integrating Peripherals in Embedded Systems. 2 Introduction Single-purpose processors  Performs specific computation task  Custom single-purpose.
Case Study #1 Microcontroller System. What is a microcontroller? A microcontroller can be considered a self-contained system with a processor, memory.
Introduction to Microcontroller Technology
AT91 Power Management This training module describes the Power Management options provided by the AT91 family of microcontrollers. These options address.
Government Engg College Bhuj E. C. Engg. Department
ATMEL AVR 8 bit RISC MICROCONTROLLERS
Microprocessor VIVA/Interview Questions And Answers
Microcontrollers & GPIO
Timer and Interrupts.
UNIT – Microcontroller.
RL78 POC and LVD © 2010 Renesas Electronics Corporation. All rights reserved.
4-Integrating Peripherals in Embedded Systems
8051 Timers Timers are the peripherals of the 8051 Microcontroller.
4-Integrating Peripherals in Embedded Systems
Programming Microcontroller
Introduction to the Orbit Edu Board
Subject Name: Microcontroller Subject Code: 10ES42
Introduction to Microprocessors and Microcontrollers
Getting the Most Out of Low Power MCUs
MSP432™ MCUs Training Part 6: Analog Peripherals
AVR – ATmega103(ATMEL) Architecture & Summary
Chapter 2: The Linux System Part 5
8253 – PROGRAMMABLE INTERVAL TIMER (PIT). What is a Timer? Timer is a specialized type of device that is used to measure timing intervals. Timers can.
Wireless Embedded Systems
MSP430 Clock System and Timer
Presentation transcript:

BASICS OF MSP430 & INTERFACING MICRO-SD CARD WITH IT.

BASICS OF MSP430 MICROCONTROLLER INTRODUCTION TO MSP430 :- The MSP430 is a mixed signal processor family from Texas Instuments. Built around a 16-bit CPU, the MSP430 is designed for low cost and, specifically, low power consumption embedded applications. The MSP430 can be used for low powered embedded devices. The electric current drawn in idle mode can be less than 1 µA. The top CPU speed is 25 MHz. It can be throttled back for lower power consumption. The MSP430 also uses six different low-power modes, which can disable unneeded clocks and CPU. Additionally, the MSP430 is capable of wake-up times below 1 microsecond, allowing the microcontroller to stay in sleep mode longer, minimizing its average current consumption.

MORE ON CLOCK SYSTEMS IN MSP430 The UCS module includes up to five clock sources:- XT1CLK:-Generally 32KHz but may be extended VLOCLK:-10KHz REFOCLK:-32KHz DCOCLK:-internal DCO XT2CLK:-from 4 MHz to 32 MHz Conflicting requirements typically exist in battery-powered applications: Low clock frequency for energy conservation and time keeping High clock frequency for fast response times and fast burst processing capabilities Clock stability over operating temperature and supply voltage Low-cost applications with less-constrained clock accuracy requirements Three clock signals are available from the UCS module:- ACLK(32KHz),SMCLK(2MHz):-The ACLK is software selectable as XT1CLK, REFOCLK, VLOCLK,DCOCLK,DCOCLKDIV, and when available, XT2CLK.This are used by peripheral devices. MCLK(1MHz):-Same as above but this is used by CPU.

BASICS THAT WE WORKED ON FOR LAST WEEK:- Timers:-The 16-bit timer/counter register, TAxR(say), increments or decrements (depending on mode of operation) with each rising edge of the clock signal. TAxR can be read or written with software. Additionally, the timer can generate an interrupt when it overflows. Modes of operation :- Up Mode(counting upto TAXCCR0 value,on overflow generates interrupts) Up/Down Mode(same as up mode but also conts in reverse way) Continuous mode(counting upto FFFFh value,on overflow generates interrupts)

BASICS THAT WE WORKED ON FOR LAST WEEK:- RTC(Real Time Clock):-A real time clock can be powered by a Li-ion battery & can function even when the system is under standby -condition Calendar Mode:-A 32-bit register with 4 separate registers of 8-bit,each for secs,mins,hour & day of week.In RTCA of MSP430 there is also a facility for alarm.User enters the time & day for alarm to generate interuppt. Counter Mode:-This works exactly the same way as a 32 bit timer module.

BASICS THAT WE WORKED ON FOR LAST WEEK:- USCI [UART(Universal Asynchronous receival & transmission)]:- In UART mode, the USCI transmits and receives characters at a bit rate asynchronous to another device. Timing for each character is based on the selected baud rate of the USCI. The transmit and receive functions use the same baud-rate frequency.

INTERFACING MICRO-SD CARD WITH MSP430 As you all know why micro-sd card is used for,I would like to discuss more on Micro-sd interfacing. Well to put in raw data & fetching is as good as serial communication,However for a computer to input or see a Text File,a Doc File It interacts with micro-sd with certain protocols. In the same way for a controller to input a text file(say),it requires a set of standard file systems eg:-FAT,NTFS.

MORE ON FAT A volume's data area is divided up into identically sized clusters, small blocks of contiguous space. Cluster sizes vary depending on the type of FAT file system being used and the size of the partition; typically cluster sizes lie somewhere between 2 KB and 32 KB. Each file may occupy one or more of these clusters depending on its size; thus, a file is represented by a chain of these clusters (referred to as a singly linked list). However these clusters are not necessarily stored adjacent to one another on the disk's surface but are often instead fragmented throughout the Data Region. The File Allocation Table (FAT) is contiguous number of sectors immediately following the area of reserved sectors. It represents a list of entries that map to each cluster on the volume. Each entry records one of five things:- the cluster number of the next cluster in a chain a special end of cluster-chain (EOC) entry that indicates the end of a chain a special entry to mark a bad cluster a zero to note that the cluster is unused(deleted files) Each version of the FAT file system uses a different size for FAT entries. Smaller numbers result in a smaller FAT, but waste space in large partitions by needing to allocate in large clusters. The FAT12 file system uses 12 bits per FAT entry.

THANK YOU