MSP430 ez430-rf2500. Guillaume Salagnac. November 29, 2011
|
|
- Basil Reynolds
- 6 years ago
- Views:
Transcription
1 1 MSP430 ez430-rf2500 Guillaume Salagnac November 29, 2011
2 2 Embedded Systems Wikipedia An embedded system is a computer system designed for specific control functions within a larger system, often with real-time computing constraints. It is embedded as part of a complete device often including hardware and mechanical parts.
3 Consumer Electronics 3
4 Highly integrated, ultra-low-power MSP430 MCU with 16-MHz ez430-rf2500 performance SLAU227A.pdf p.2 Two general-purpose digital I/O pins connected to green and red LEDs for visual feedback Interruptible push button for user feedback Spy Bi-Wire & MSP430 Appliation UART Pushbutton 2x LEDs CC2500 Chip Antenna USB Powered MSP430F Accessible Pins Figure 1. ez430-rf
5 ez430-rf2500 SLAU227A.pdf p.3 Figure 2. ez430-rf2500 Battery Board 2. Kit Contents, ez430-rf2500 The hardware includes: Two ez430-rf2500t target boards One ez430-rf USB debugging interface 5
6 6 Low-power Operation Power 1mW 0.1µW Time
7 7 Outline 1 Introduction 2 Schematics and Pinout 3 Internal structure 4 Digital Input/Output 5 Interrupts 6 Managing time 7 Serial Communication 8 Analog Input/Output 9 Conclusion
8 Target board schematics SLAU227A.pdf p.16 8
9 9 Target board PCB layout SLAU227A.pdf p.17 Top Layer Bottom Layer Figure 12. ez430-rf, USB Debugger, PCB Layout Figure 13. ez430-rf2500t, Target Board, PCB Layout 17
10 10 Figure 8. ez430-rf, USB Debugging Interface, Schematic Debugger board schematics SLAU227A.pdf p ez430-rf2500 Schematics
11 11 Debugger board schematics SLAU227A.pdf p.15 Figure 9. ez430-rf, USB Debugging Interface, Schematic
12 12 SLAS504B JULY 2006 REVISED JULY 2007 MSP430F2274 device pinout SLAS504B.pdf p.5 MSP430x22x4 device pinout, RHA package P2.5/Rosc DVCC DVCC TEST/SBWTCK P1.7/TA2/TDO/TDI P1.6/TA1/TDI/TCLK P1.5/TA0/TMS P1.4/SMCLK/TCK P1.3/TA2 P1.2/TA1 DVSS XOUT /P2.7 XIN /P2.6 DVSS RST/NMI/SBWTDIO P2.0/ACLK /A0/OA 0I0 P2.1/TAINCLK /SMCLK /A1/OA0O P2.2/TA 0/A2/OA0I1 P3.0/UCB 0STE /UCA 0CLK /A5 P3.1/UCB 0SIMO /UCB 0SDA P1.1/TA 0 P1.0/TACLK /ADC 10CLK P2.4/TA 2/A4/VREF+/VeREF+/OA1I0 P2.3/TA 1/A3/VREF /VeREF /OA1I1/OA1O P3.7/A7/OA 1I2 P3.6/A6/OA 0I2 P3.5/UCA 0RXD /UCA 0SOMI P3.4/UCA 0TXD /UCA 0SIMO P4.7/TBCLK P4.6/TBOUTH/A15/OA 1I3 P3.2/UCB0SOMI/UCB0SCL P3.3/UCB0CLK/UCA0STE AVSS AVCC P4.0/TB0 P4.1/TB1 P4.2/TB2 P4.3/TB0/A12/OA0O P4.4/TB1/A13/OA1O P4.5/TB2/A14/OA0I3
13 Spy Bi Wire Reg SPI, I2C 13 MSP430F2274 Functional Block Diagram SLAS504B.pdf p.6 RST/NMI NOTE: See port schematics section for detailed I/O information. MSP430x22x4 functional block diagram VCC VSS P1.x/P2.x P3.x/P4.x 2x8 2x8 XIN XOUT ACLK Basic Clock System+ SMCLK MCLK Flash 32kB 16kB 8kB RAM 1kB 512B 512B ADC10 10 Bit 12 Channels, Autoscan, DTC OA0, OA1 2 Op Amps Ports P1/P2 Ports P3/P4 2x8 I/O Interrupt 2x8 I/O capability, pull up/down pull up/down resistors resistors 16MHz CPU incl. 16 Registers MAB MDB Emulation (2BP) JTAG Interface Spy Bi Wire Brownout Protection Watchdog WDT+ 15/16 Bit Timer_A3 3 CC Registers Timer_B3 3 CC Registers, Shadow Reg USCI_A0: UART/LIN, IrDA, SPI USCI_B0: SPI, I2C RST/NMI NOTE: See port schematics section for detailed I/O information.
14 14 MSP bit Memory Map SLAU144D.pdf p.1-4
15 15 Outline 1 Introduction 16MHz CPU incl. 16 Registers Emulation (2BP) JTAG Interface Spy Bi Wire MAB MDB Brownout Protection Watchdog WDT+ 15/16 Bit Timer_A3 3 CC Registers Timer_B3 3 CC Registers, Shadow Reg USCI_A0: UART/LIN, IrDA, SPI USCI_B0: SPI, I2C 2 Schematics and Pinout RST/NMI NOTE: See port schematics section for detailed I/O information. MSP430x22x4 functional block diagram 3 Internal structure 4 Digital Input/Output 5 Interrupts 6 Managing time VCC XIN XOUT ACLK Basic Clock Flash System+ SMCLK 32kB 16kB MCLK 8kB 16MHz MAB CPU incl. 16 Registers MDB Emulation (2BP) JTAG Brownout Interface Protection Spy Bi Wire VSS RAM 1kB 512B 512B ADC10 10 Bit 12 Channels, Autoscan, DTC Watchdog WDT+ 15/16 Bit OA0, OA1 2 Op Amps Timer_A3 3 CC Registers P1.x/P2.x 2x8 Ports P1/P2 2x8 I/O Interrupt capability, pull up/down resistors Timer_B3 3 CC Registers, Shadow Reg P3.x/P4.x 2x8 Ports P3/P4 2x8 I/O pull up/down resistors USCI_A0: UART/LIN, IrDA, SPI USCI_B0: SPI, I2C 7 Serial Communication RST/NMI NOTE: See port schematics section for detailed I/O information. 8 Analog Input/Output 9 Conclusion 6 POST OFFICE BOX DALLAS, TEXAS POST OFFICE BOX 1443 HOUSTON, TEXAS
16 GPIO Port Registers Figure 10. ez430-rf2500t, Target Board and Battery Bo P1DIR: direction, 0=in, 1=out P1OUT: set output P1IN: read input 16
17 17 Example char *P5OUT = (char*) 0x0042; *P5OUT = 0x13; volatile unsigned char P5OUT = asm("0x0042"); P5OUT = 0x13; #include <io.h> P5OUT = 0x13;
18 18 GPIO Port Schematics Example (from another MSP430) input/output schematic (continued) port P3, P3.1, input/output with Schmitt trigger SYNC MM STC STE P3SEL.1 P3DIR.1 DCM_SIMO P3OUT1 (SI)MO0 From USART : Input 1: Output Pad Logic P3.1/SIMO0 P3IN.1 SI(MO)0 To USART0 EN D P3SEL: 0=GPIO, 1=another peripheral
19 MSP430x22x2, MSP430x22x4 MIXED SIGNAL MICROCONTROLLER Pin Sharing SLAS504B.pdf p.9 SLAS504B JULY 2006 REVISED JULY 2007 P1.0/TACLK/ ADC10CLK NAME TERMINAL DA NO. Terminal Functions, MSP430x22x4 RHA NO. I/O I/O General-purpose digital I/O pin Timer_A, clock signal TACLK input ADC10, conversion clock DESCRIPTION P1.1/TA I/O General-purpose digital I/O pin Timer_A, capture: CCI0A input, compare: OUT0 output/bsl transmit P1.2/TA I/O General-purpose digital I/O pin Timer_A, capture: CCI1A input, compare: OUT1 output P1.3/TA I/O General-purpose digital I/O pin Timer_A, capture: CCI2A input, compare: OUT2 output P1.4/SMCLK/ TCK P1.5/TA0/ TMS P1.6/TA1/ TDI/TCLK I/O General-purpose digital I/O pin / SMCLK signal output Test Clock input for device programming and test I/O General-purpose digital I/O pin / Timer_A, compare: OUT0 output Test Mode Select input for device programming and test I/O General-purpose digital I/O pin / Timer_A, compare: OUT1 output Test Data Input or Test Clock Input for programming and test P1.7/TA2/ I/O General-purpose digital I/O pin / Timer_A, compare: OUT2 output TDO/TDI Test Data Output or Test Data Input for programming and test P2.0/ACLK/A0/OA0I0 8 6 I/O General-purpose digital I/O pin / ACLK output ADC10, analog input A0 / OA0, analog input I0 P2.1/TAINCLK/SMCLK/ A1/OA0O P2.2/TA0/ A2/OA0I1 P2.3/TA1/ A3/V REF /V eref /OA1I1/OA1O 9 7 I/O General-purpose digital I/O pin / Timer_A, clock signal at INCLK SMCLK signal output ADC10, analog input A1 / OA0, analog output 10 8 I/O General-purpose digital I/O pin Timer_A, capture: CCI0B input/bsl receive, compare: OUT0 output ADC10, analog input A2 / OA0, analog input I I/O General-purpose digital I/O pin Timer_A, capture CCI1B input, compare: OUT1 output ADC10, analog input A3 / negative reference voltage output/input OA1, analog input I1 / OA1, analog output P2.4/TA2/ A4/V REF+/V eref+ /OA1I I/O General-purpose digital I/O pin / Timer_A, compare: OUT2 output ADC10, analog input A4 / positive reference voltage output/input OA1, analog input I0 P2.5/ 3 40 I/O General-purpose digital I/O pin 19
20 20 " Ports 1 et 2 avec interruptions GPIO " Registres Port Schematics PxIFG (flag) et Example PxIE (interrupt enable) (from another MSP430) input/output schematic port P1, P1.0 to P1.7, input/output with Schmitt trigger P1SEL.x P1DIR.x Direction Control From Module P1OUT.x Module X OUT Pad Logic P1.0/TACLK.. P1.7/TA2 P1IN.x Module X IN P1IRQ.x EN D P1IE.x Q P1IFG.x Interrupt Flag EN Set Interrupt Edge Select P1IES.x P1SEL.x
21 21 GPIO Example #include <io.h> #define BIT_GREEN (1 << 1) #define BIT_RED (1 << 0) void wait(unsigned int n) { int i; for(i=0;i<n;i++) { asm(" nop;"); asm(" nop;"); } } int main(void) { unsigned char b; P1DIR = (BIT_GREEN BIT_RED); P1SEL &= ~(BIT_GREEN BIT_RED); P1OUT &= ~(BIT_GREEN BIT_RED); b = 0x01; while (1) { wait(50000); wait(50000); wait(50000); wait(50000); P1OUT = b; b <<= 1; if (b == 0x4) b = 0x01; } return 0; }
22 22 Bitwise Operators in C...illustrated with non-c syntax A = 0b ~A = 0b A<<2 = 0b A<<2 = 0b A = 0b => A=0b A&=~0b => A=0b A^= 0b => A=0b
23 23 Outline 1 Introduction 16MHz CPU incl. 16 Registers Emulation (2BP) JTAG Interface Spy Bi Wire MAB MDB Brownout Protection Watchdog WDT+ 15/16 Bit Timer_A3 3 CC Registers Timer_B3 3 CC Registers, Shadow Reg USCI_A0: UART/LIN, IrDA, SPI USCI_B0: SPI, I2C 2 Schematics and Pinout RST/NMI NOTE: See port schematics section for detailed I/O information. MSP430x22x4 functional block diagram 3 Internal structure 4 Digital Input/Output 5 Interrupts 6 Managing time VCC XIN XOUT ACLK Basic Clock Flash System+ SMCLK 32kB 16kB MCLK 8kB 16MHz MAB CPU incl. 16 Registers MDB Emulation (2BP) JTAG Brownout Interface Protection Spy Bi Wire VSS RAM 1kB 512B 512B ADC10 10 Bit 12 Channels, Autoscan, DTC Watchdog WDT+ 15/16 Bit OA0, OA1 2 Op Amps Timer_A3 3 CC Registers P1.x/P2.x 2x8 Ports P1/P2 2x8 I/O Interrupt capability, pull up/down resistors Timer_B3 3 CC Registers, Shadow Reg P3.x/P4.x 2x8 Ports P3/P4 2x8 I/O pull up/down resistors USCI_A0: UART/LIN, IrDA, SPI USCI_B0: SPI, I2C 7 Serial Communication RST/NMI NOTE: See port schematics section for detailed I/O information. 8 Analog Input/Output 9 Conclusion 6 POST OFFICE BOX DALLAS, TEXAS POST OFFICE BOX 1443 HOUSTON, TEXAS
24 24 Interrupts An interrupt can only occur when both bit General Interrupt Enable (GIE) set in status register Interrupt Enable bit set in specific peripheral register e.g. PxIE in ports 1 and 2 Acknowledgement is implicit for single-source interrupts necessary for multiple-source interrupts e.g. PxIFG in port 1 and 2 Interrupt nesting is disabled by default GIE is cleared upon entering ISR
25 25 ISR Example using GCC intrisincs interrupt (PORT1_VECTOR) PORT1_ISR(void) { if (P1IFG & (P1IE & (1<<2) )) { SWITCH_RED_LED(); } } P1IFG=0;
26 26 MSP bit Memory Map SLAU144D.pdf p.1-4
27 MIXED SIGNAL MICROCONTROLLER MSP430F2274 SLAS504B JULY 2006 REVISED Peripherals JULY 2007 mapping SLAS504B.pdf p PERIPHERALS WITH BYTE ACCESS (continued) Basic Clock System+ Basic clock system control 3 Basic clock system control 2 Basic clock system control 1 DCO clock frequency control Port P4 Port P3 Port P2 Port P1 Port P4 resistor enable Port P4 selection Port P4 direction Port P4 output Port P4 input Port P3 resistor enable Port P3 selection Port P3 direction Port P3 output Port P3 input Port P2 resistor enable Port P2 selection Port P2 interrupt enable Port P2 interrupt edge select Port P2 interrupt flag Port P2 direction Port P2 output Port P2 input Port P1 resistor enable Port P1 selection Port P1 interrupt enable Port P1 interrupt edge select Port P1 interrupt flag Port P1 direction Port P1 output Port P1 input Special Function SFR interrupt flag 2 SFR interrupt flag 1 SFR interrupt enable 2 SFR interrupt enable 1 BCSCTL3 BCSCTL2 BCSCTL1 DCOCTL P4REN P4SEL P4DIR P4OUT P4IN P3REN P3SEL P3DIR P3OUT P3IN P2REN P2SEL P2IE P2IES P2IFG P2DIR P2OUT P2IN P1REN P1SEL P1IE P1IES P1IFG P1DIR P1OUT P1IN IFG2 IFG1 IE2 IE1 053h 058h 057h 056h 011h 01Fh 01Eh 01Dh 01Ch 010h 01Bh 01Ah 019h 018h 02Fh 02Eh 02Dh 02Ch 02Bh 02Ah 029h 028h 027h 026h 025h 024h 023h 022h 021h 020h 003h 002h 001h 000h
28 28 Outline 1 Introduction 16MHz CPU incl. 16 Registers Emulation (2BP) JTAG Interface Spy Bi Wire MAB MDB Brownout Protection Watchdog WDT+ 15/16 Bit Timer_A3 3 CC Registers Timer_B3 3 CC Registers, Shadow Reg USCI_A0: UART/LIN, IrDA, SPI USCI_B0: SPI, I2C 2 Schematics and Pinout RST/NMI NOTE: See port schematics section for detailed I/O information. MSP430x22x4 functional block diagram 3 Internal structure 4 Digital Input/Output 5 Interrupts 6 Managing time VCC XIN XOUT ACLK Basic Clock Flash System+ SMCLK 32kB 16kB MCLK 8kB 16MHz MAB CPU incl. 16 Registers MDB Emulation (2BP) JTAG Brownout Interface Protection Spy Bi Wire VSS RAM 1kB 512B 512B ADC10 10 Bit 12 Channels, Autoscan, DTC Watchdog WDT+ 15/16 Bit OA0, OA1 2 Op Amps Timer_A3 3 CC Registers P1.x/P2.x 2x8 Ports P1/P2 2x8 I/O Interrupt capability, pull up/down resistors Timer_B3 3 CC Registers, Shadow Reg P3.x/P4.x 2x8 Ports P3/P4 2x8 I/O pull up/down resistors USCI_A0: UART/LIN, IrDA, SPI USCI_B0: SPI, I2C 7 Serial Communication RST/NMI NOTE: See port schematics section for detailed I/O information. 8 Analog Input/Output 9 Conclusion 6 POST OFFICE BOX DALLAS, TEXAS POST OFFICE BOX 1443 HOUSTON, TEXAS
29 Oscillators and clocks 29
30 Basic Clock Module 3$4, !"#$% &'(%) *(+,'-.!'(%) 9$"42": 08638; 84*87 U!"#$% &'(%) *(+,'-. /012(+,%1$(0 $/012 SLAU144D.pdf p.5-3 =%AQ 4JFC( 879:+38; 7%FD() +L (FC( $%&%'() *+*,*-*. &"#$ 6> :+>2 3FGHI 9:> 9/< L0 87 9: U 876OO 9:+6OO 965: L :+ 6CH%FF@DG) >N8=2 LL $/0= :,677 9:,> =%AQ 4JFC( 7%FD() L+ +L ++ $%&%'() *+*,*-*. L +!"#$ 9:,/< 9: 3GAA(HD(' GAFB RS(A 9:, AGD T)(C(AD GA""HS%T =@%A >BCD(E 3FGHI 9:,65: 9:, 6CH%FF@DG) U =6$2 033 =G'JF@DG) $36M >3?L M>N82 $362 >N8> $/0>2 >3?+ MGCH U L + GOO $3?(A()@DG) A $36 AP+ L + =%AQ 4JFC 7%FD() $3638; L + $%&%'() *+*,*-*. L + %!"#$ >JK >BCD(E 3FGHI ' ()*+, -+./0+1%2+0/3/0 "4)05 678/7*/)9: 30
31 31! L>' %<O' F762 J<&?-?;<&C> J'&;''4 &>' %('AB'4CD?'9'C&'5 JD &>' 6,72 J<&? )45 &>' 4'2& ><=>'( %('AB'4CD?'& JD 6,72TQE U>'4 6,72 3 R#>- &>' F762 J<&? >)O' 4: '%%'C& J'C)B?' &>' 6,7 <? )9(')5D SLAU144D.pdf )& &>' ><=>'?& p.5-7?'&&<4= %:( &>'?'9'C&'5./012 ()4='E Digitally-Controlled Oscillator, :0$%"' ;&/< ="35- "3+ =>?@< >2-0# % 6,7 KRRRR XYZ./01 3 Q! QRRR XYZ./01 3 #./013R QRR XYZ 6,73R 6,73Q 6,73K 6,738 6,73V 6,73! 6,73W 6,73#
32 %&' 17;"<7;'8 /74'3, :7 $.8' = '4 ;0:& :&' L* 32 "';%< Sleep =4$$#(& modes =+(-40"&'+( +> A#B';#- B- SLAU144D.pdf!"#$%&'() p.2-14 *+, +#G +,, O LL P H.:#(QD!I,!!G #F, #+G?, $G!,, K LL M+K K LL M!@!K GG +! #I ##,@?,@I,@#,@#, H( J*(, J*(! J*(+ J*($ N<'8.:065 (74'3
33 33 Timers A timer is a 16-bit counter which counts cycles from a selectable clock source in a certain way (up, down, continuous) Can be used in two ways : memorize its value on certain events (capture mode) or trigger an interrupt when reaching a given value (compare mode) Each timer has two interrupt lines: implicit acknowledgement: TxCCR0 vector ack. must be done by software: TxIV vector
34 34 Timer A /"0-%$ !"#$%&' "90%9#!"#$%&' ()*%+,-.*"+) SLAU144D.pdf p ?'7* %=&;Q 3F//AN0,50 4%0!-. %&'() *+,-. 3F%NO F%NO /4%NO,E%NO...!!.!! 5?H?87*!I"IJIK %=7)* 3F%NB!L##M?+ 3?'7* 3FB B% %&6:+ 4&87 A@2. /7+ 3F,PD!!"$!!"#!!"/ %%,/0 %40 =&>?; %1< /%/ %%,"F %%,"G DE5 <%%...!!.!! %)(+6*7 4&87 3?'7* %=&;Q /9:;.!!-. 3F%%B" %%, %&'()*)+&* " A@2" %FS /%%, R F AE.! /7+ 3F%%B" %%,PD A@ (6+ 2:?+" 5 3?'7* %=&;Q B7C7+ 123" /?>:)= S1B
35 35 Timer B /"0-%$ !"#$%&' '5+.6 7"80%8#!"#$%&' ()*%+,-.*"+) SLAU144D.pdf p K88AN4,34 1?&6) $=%;O!-. 2$4 *+,-. /0123 1K$NU S$NU 82$NU...!!.!! 3?E?76)!FGFHFI 1K$NMBD4 M)%5' N%(7 N%>?; $=6() 1K$NB!+##J?* 1?&6) 1KB B$ I!.!G!+ $%5:* 2%76 $R1N4...!!.!! A@0. 86* 1K,LM!!"$!!"%!!"&!!"'!!"(!!") $$,84 $24 =%>?; $/<!!"# $$,+S.. $('*5)6 $$,+K.! 2%76 MR3!. 1?&6) $=%;O <$$!! $NN34 $$, <$$.. 1KBP..! A@0.!. 0DF3/QR!! 8$8. 89:;! M)%5' N%(7 N%>?; $$B- $$BH $$B!!-. 1K$$B+ N%(7 $%&'()6 N(*;T 1K$N+ $%&'()(*%) + A@0+ $SD.! 86* 1K$$B+ $$,LM A@0. /01 /5*'5* 0:?*+ 3 1?&6) $=%;O B6C6* /01+ 8?>:(= /012/34 D/B
36 C&'3 6&83<-3< %=>>?4 A&-9' 0&' 0-*'1 -. -/ 0&' 3'A )'1-+, -. <1'80'1 36 Timers: Up mode."/0%$ ) 6,7$ 4& %=>>?4 0-*'1 1' (30-3< /1+* E'1+7 F/ () *+,' -..'9'60', A&'3 0&' 0-*'1 ;89(' -. <1'80'1 0&83 0&' 0-*'1 -**',-80'9: 1' (30-3< /1+* E'1+7 SLAU144D.pdf p & %=>>?4."/0%$ 12 3:4 5) 6,7$.;*/ <$++"-/ 4& %-*'1 >9+6I %&' %=>>?4 >>F5G -30'11()0 /98< -..'0 A&'3 0&' 0-*'1 8, &' %=>>?4 ;89('7 %&' %=F5G -30'11()0 /98< -..'0 A&'3 0&' 0-*'1 8,0-+9 /1+* %=>>?4 0+ E'1+7 5-<(1'!"##H.&+A. 0&' /98<.'0 6:69'7 %&' %=>>?4 >>F5G -30'11()0 /98< -..'0 A&'3 0&' 0-*'1 8, &' %=>>?4 ;89('7 %&' %=F5G -30'11()0 /98< -..'0 A&'3 0&' 0-*'1 8,0-+9 /1+* %=>>?4 0+ E'1+7 5-<(1'!"##H.&+A. 0&' /98<.'0 6:69'7."/0%$ 12 3:4 5) %-*'1 6,7$.;*/ >>?4##! <$++"-/ >>?4 4&!& >>?4##! >>?4 4& J'0 %=F5G %-*'1 >9+6I J'0 %=>>?4 >>F5G %-*'1 >>?4##! >>?4 4&!& >>?4##! >>?4 4& J'0 %=F5G J'0 %=>>?4 >>F5G!"#$%&$% '"( )(*&+, -(%&.'(* /0!!-1
37 Timers: Continuous mode 5 6,-+"-0,07 8,9$!"#$ :-+$%;*<7 SLAU144D.pdf p.12-8 %>??@!2 %>??@!( DAAAA& %>??@D2 %>??@D( %>??@D0 %>??@!1 %>??@!0 %>??@D1 + D + D + D +! +! +! %,/',*+'4617. (1* 2' 54)0-('0 C,+& )+&'4 /)0'. 1. C'77< C&'4' %>??@D,. -.'0 1. +&' 5'4,)0 4'3,.+'4: %&',4 &1*07,*3,. /)4' ()/57'=.,*(' +&'.-/ )8 37
38 !"#$%&' 38 Timers: Up-down mode (.+).+ /-"+ "- /)78,9- :,;$ SLAU144D.pdf p $JJJJ& -.//0$ -.//0! -.//0" $& W'*9 -,4' Q73@73 R:9' SN -:++2'FH'3 Q73@73 R:9' "N -:++2'F0'6'3 TUV! TUV! TUV! TUV! -.LJP -.LJP TUV$ TUV$ TUV" TUV" TUV" TUV" L(3'557@3 T='(36
39 39 Outline 1 Introduction 16MHz CPU incl. 16 Registers Emulation (2BP) JTAG Interface Spy Bi Wire MAB MDB Brownout Protection Watchdog WDT+ 15/16 Bit Timer_A3 3 CC Registers Timer_B3 3 CC Registers, Shadow Reg USCI_A0: UART/LIN, IrDA, SPI USCI_B0: SPI, I2C 2 Schematics and Pinout RST/NMI NOTE: See port schematics section for detailed I/O information. MSP430x22x4 functional block diagram 3 Internal structure 4 Digital Input/Output 5 Interrupts 6 Managing time VCC XIN XOUT ACLK Basic Clock Flash System+ SMCLK 32kB 16kB MCLK 8kB 16MHz MAB CPU incl. 16 Registers MDB Emulation (2BP) JTAG Brownout Interface Protection Spy Bi Wire VSS RAM 1kB 512B 512B ADC10 10 Bit 12 Channels, Autoscan, DTC Watchdog WDT+ 15/16 Bit OA0, OA1 2 Op Amps Timer_A3 3 CC Registers P1.x/P2.x 2x8 Ports P1/P2 2x8 I/O Interrupt capability, pull up/down resistors Timer_B3 3 CC Registers, Shadow Reg P3.x/P4.x 2x8 Ports P3/P4 2x8 I/O pull up/down resistors USCI_A0: UART/LIN, IrDA, SPI USCI_B0: SPI, I2C 7 Serial Communication RST/NMI NOTE: See port schematics section for detailed I/O information. 8 Analog Input/Output 9 Conclusion 6 POST OFFICE BOX DALLAS, TEXAS POST OFFICE BOX 1443 HOUSTON, TEXAS
40 40 Serial Communication Examples of serial protocols: Morse code, USB, Firewire, USB, Ethernet, RS232, I 2 C, SPI... The MSP430F2274 has two UARTs (both interrupt-capable): USCI_A0: UART, I 2 C, SPI, IrDA USCI_B0: SPI, I 2 C Asynchronous communication (UART) : Both ends have to agree on the communication protocol: encoding, frame length, reference frequency,...
41 41!"#$#A C0,D-. Asynchronous Serial Protocol <+=8(' #C)()9*'( <,(7)* )0- &'() /-3 >+3*4/. 50+S% 6% H6=;3-!"##R. 7+%565/5 +> 4 5/43/ 96/. 5-8-% +3-6=0/,4/4 96/5. 4% -8-%N+,,N%+ D436/: 96/. 4% 4,, / Q4,,3-55#96/ *+,-P. 4%, +%- +3 /S+ 5/+D 96/5< )0- &2X1J 96/ 7+%/3+?5 /0-,63-7/6+% +> /0- /34%5>-3 4%, 5-?-7/5 U1J +3 X1J >635/< U1J#>635/ 65 /:D674??: 3-@;63-, >+3 &'() 7+**;%674/6+%< SLAU144D.pdf p ) \] \^ \_ '\ A' 1A 1A X43C 1D47- YLD/6+%4? J6/. 2+%,6/6+%[ YR%, 1/+D J6/. &21AJ T![ YA436/: J6/. &2AGZ T![ Y',,3-55 J6/. &2XL\GE T!][ Y`/0 \4/4 J6/. &2_J$) T ][!-+4'(5)6 "'(+)6 #,778-+9)*+,- $-*'(:)9';!/01 2,3'!"#"
42 42!"#$ $%&'()*+&,(%-!./0 1()2 USCI Block Diagram: UART Mode :,;*'2 <= B6(+C D,5;'57-!./0 1()2 E!#"FG# H IJ SLAU144D.pdf p >F4K4 4,,&, C)*G8 3.>F4>> 3.%E; ? 3.;E>% 3.>F?>0K N 3.C4 17+ C)*G8 3.E4 >797<=7 1+*+7 %*9I<A7 17+ >FKC@ >FKC@ ?> ;;>:3.K;/4 3.K>>F6/ 3.K>>FC/5 3.K>>FC4 >797<=7?(JJ7, 3.2>F?3C 3.K>4H B 3./K1M4H! K,;- ;79&'7, 2 3.2>F! >797<=7 1I<J+ >7G<8+7, 2 2! 3.64H 3.6-> 3.%1? 3.L?KM 3.-?4H 3.114/5 3.2?>5 3.2./0 22!B -./0 2! 6,789*)7,:;<=<'7, 1%./0!2?>./0 1%./0!! %&'()*+&, >797<=7.)&9P M,*A8O<+.)&9P $ D 3.?>C5 3.?>15 3.E1!B 3.64H 3.6-> 3.%1? 3.L?KM 3.K>4H M,*A8O<+ 1I<J+ >7G<8+7, 2 M,*A8O<+?(JJ7, 3.2MF?3C K,;- 4A9&'7, B! 3.2MF 3.K>MF6/5 M,*A8O<+ 1+*+7 %*9I<A MFKC@ 3.MF?>0 3.MF-;;> N 3.%E; ?
43 !"#$ $%&'()*+&,(%- ".$ /()0 USCI Block 8,9*'0 :; Diagram: <:=!"#$ SPI ".$ /()0Mode SLAU144D.pdf p.14-4 B3539:3 )=6=3 *65C9A3 )3=,&L- B3539:3 <FDD32,&.BG<,H,&.)L*J B3539:3 )C9D= B3E94=32 +!! +,&*)<,&I<JK,&))-'.,&.<B. <9= /0% %&'( )*&'( ++ +!!+ <B&'(!" :9;32 &7>5? 89235=9>AN 1C643 6A; 1>7629=O,&.&'( )*&'(!!,&*)<,&I<JK,&.)J*L K26A4M9= )C9D= B3E94=32,&*L8-. K26A4M9= <FDD32,&.KG<,H R,&.)K- K26A4M9= -A6Q73 &>A=2>7 )3=,&H- K26A4M9= )=6=3 *65C9A3 43
44 44!"#$ $%&'()*+&,(%- $.# /() USCI Block Diagram: I 2 8,9*'1 :; <:=!"#$ $ C Mode. #/()1 SLAU144D.pdf p.17-4,&%!+,&?&-o MN@ %::0122,&!M% A )E8F< A1G82<10,&.)7% A ;HFF10,&!AI;,J KL& )<4<1 *43E8@1 C04@2D8< ;HFF10,&!CI;,J C04@2D8< )E8F< A1G82<10 )5491 %::0122,&!)%,&)'%!+,&.)&',&))-'. ;8< &5=3>?1@104<=0,&.;A.,&!&'( %&'( )*&'( ++ +!!+ ;A&'(!B / :10,&*)C )*&'(!!
45 45 Outline 1 Introduction 16MHz CPU incl. 16 Registers Emulation (2BP) JTAG Interface Spy Bi Wire MAB MDB Brownout Protection Watchdog WDT+ 15/16 Bit Timer_A3 3 CC Registers Timer_B3 3 CC Registers, Shadow Reg USCI_A0: UART/LIN, IrDA, SPI USCI_B0: SPI, I2C 2 Schematics and Pinout RST/NMI NOTE: See port schematics section for detailed I/O information. MSP430x22x4 functional block diagram 3 Internal structure 4 Digital Input/Output 5 Interrupts 6 Managing time VCC XIN XOUT ACLK Basic Clock Flash System+ SMCLK 32kB 16kB MCLK 8kB 16MHz MAB CPU incl. 16 Registers MDB Emulation (2BP) JTAG Brownout Interface Protection Spy Bi Wire VSS RAM 1kB 512B 512B ADC10 10 Bit 12 Channels, Autoscan, DTC Watchdog WDT+ 15/16 Bit OA0, OA1 2 Op Amps Timer_A3 3 CC Registers P1.x/P2.x 2x8 Ports P1/P2 2x8 I/O Interrupt capability, pull up/down resistors Timer_B3 3 CC Registers, Shadow Reg P3.x/P4.x 2x8 Ports P3/P4 2x8 I/O pull up/down resistors USCI_A0: UART/LIN, IrDA, SPI USCI_B0: SPI, I2C 7 Serial Communication RST/NMI NOTE: See port schematics section for detailed I/O information. 8 Analog Input/Output 9 Conclusion 6 POST OFFICE BOX DALLAS, TEXAS POST OFFICE BOX 1443 HOUSTON, TEXAS
46 46 ADC10 /.0,)1 2% 3$4!"#$% 56*-7 ".80)89!"#$% &'()*+,-(.*' ;*4HDG " / 4HDIN@ %4HD/ ;4HDG 35</"%4 / "!PU;.+ /9U;.7!9U; 4*B*7*+R* 4HDIJ KJ<-LW"3E 3; << ; 4HD##8; *4HD## 3; << 4*BPL KJ<-L S // /" "/ "" %4HD/ %4HD" 3Y2. <IJ%HXL 3; %% 35</"I%< 3" 3/ 3! 3$ 3S 3U 3T 3V 3/! Z 3/$ Z 3/S Z 3/U Z """" """/ ""/" ""// "/"" "/"/ "//" "/// /""" /""/ /"/" /"// //"" //"/ ///" //// %4HD! / " 35</"IJ 35</"%%H=L 35</"5K;L %&'()* ;4## ;4G "" &+, 5161,*7 "/ 3<=> -.), /"##012 %34 8/ 99 8: /"?<=> %8- <.+6*72 // %?<=> 35</"<=> %-%L MN%O K%%- HJ< "" %3?F<IJ %-K " "/ 8S8:8/T8TS / %Q+R 3; << 35</"5D 35</"%-@L?%< [ KJ<-LW"ME 4*BPL 35</"?H? 4 + <.+27.))*7 43?C D)&AEC F*71(E*71&)A 4 35</"%3 3; %% 35</"<@ 35</"@M 35</"M/ Z?%FS$"L!!LL,*61R*A.+)Q9 <E&++*)A 3/!#3/U 21*, 2. RE&++*) 3// 1+.2E*7,*61R*A [@3/.+?%FS$"L!"L!,*61R*A
47 47 Conclusion: MSP430 ez430-rf2500 Development platform cheap very limited resources Microcontroller architecture all peripherals are memory-mapped low-power modes Not presented: CC2500 Radio Module wireless communication
The digital I/O is configured with user software. The setup and operation of the digital I/O is discussed in the following sections.
Digital I/O Introduction www.ti.com 8. Digital I/O Introduction MSP43 devices have up to eight digital I/O ports implemented, P to P8. Each port has up to eight I/O pins. Every I/O pin is individually
More informationIntro. MEB/ Texas Instruments Inc, Slide 1
Intro MEB/0404 2004 Texas Instruments Inc, Slide 1 MSP430 Agenda Core Architecture Integrated Peripherals Device Roadmap Ideal Applications Development Tools MEB/0404 2004 Texas Instruments Inc, Slide
More informationMSP430x43x1, MSP430x43x, MSP430x44x1, MSP430x44x MIXED SIGNAL MICROCONTROLLER
Low Supply-Voltage Range,.8 V to 3.6 V Ultralow-Power Consumption: Active Mode: 28 µa at MHz, 2.2 V Standby Mode:. µa Off Mode (RAM Retention):. µa Five Power Saving Modes Wake-Up From Standby Mode in
More informationMSP430-EasyWeb3 development board Users Manual
MSP0-EasyWeb development board Users Manual Page INTRODUCTION: MSP0-EasyWeb is TCP/IP board with MPS0F9 based on Andreas Dannenberg easyweb TCP/IP. On the board, there are JTAG connector, two extension
More informationCPE 323 Introduction to Embedded Computer Systems: MSP430 System Architecture An Overview
CPE 323 Introduction to Embedded Computer Systems: MSP430 System Architecture An Overview Aleksandar Milenkovic Electrical and Computer Engineering The University of Alabama in Huntsville milenka@ece.uah.edu
More informationIV B.Tech. I Sem (R13) ECE : Embedded Systems : UNIT -2 1 UNIT 2
IV B.Tech. I Sem (R13) ECE : Embedded Systems : UNIT -2 1 UNIT 2 1. Block diagram of MSP430x5xx series micro-controller --------------------- 1 2. CPU architecture of MSP430x5xx ------------------------------------------------
More informationMSP430. More on MSP430
MSP430 More on MSP430 CodeComposer TI recently launched Code Composer Essentials v3. This IDE s latest version (version 3) supports all available MSP430 devices. The new features of CCE v3 include: - Free
More informationAVAILABLE OPTIONS PACKAGED DEVICES PLASTIC 64-PIN QFP (PM) MSP430C1331IPM MSP430C1351IPM
SLAS34B SEPTEMBER 2 REVISED SEPTEMBER 24 Low Supply-Voltage Range,.8 V to 3.6 V Ultralow-Power Consumption: Active Mode: 6 µa at MHz, 2.2 V Standby Mode:.9 µa Off Mode (RAM Retention) :. µa Five Power-Saving
More informationMSP-RFLINK development board Users Manual
MSP-RFLINK development board Users Manual All boards produced by Olimex are ROHS compliant Revision Initial, May 0 Copyright(c) 0, OLIMEX Ltd, All rights reserved Page INTRODUCTION: MSP-RFLINK is wireless.4
More informationD On-Chip Comparator D Supply Voltage Supervisor/Monitor With. D Brownout Detector D Bootstrap Loader D Serial Onboard Programming,
D D Low Supply-Voltage Range: 1.8 V to 3.6 V Ultralow Power Consumption: - Active Mode: 355 μa at1mhz,2.2v - Standby Mode: 0.9 μa - Off Mode (RAM Retention): 0.1 μa D Ultrafast Wake-Up From Standby Mode
More informationChapter 1 MSP430 Microcontroller Family
Chapter 1 1-1 Introduction 1.1 Introduction The MSP430 is a 16-bit microcontroller that has a number of special features not commonly available with other microcontrollers: Complete system on-a-chip includes
More informationSLAS272F JULY 2000 REVISED JUNE 2004
Low Supply-Voltage Range,.8 V... 3.6 V Ultralow-Power Consumption: Active Mode: 28 µa at MHz, 2.2V Standby Mode:.6 µa Off Mode (RAM Retention):. µa Five Power-Saving Modes Wake-Up From Standby Mode in
More information2.996/6.971 Biomedical Devices Design Laboratory Lecture 6: Microprocessors II
2.996/6.971 Biomedical Devices Design Laboratory Lecture 6: Microprocessors II Instructor: Dr. Hong Ma Oct. 1, 2007 Structure of MSP430 Program 1. Declarations 2. main() 1. Watch-dog timer servicing 2.
More informationNetwork Embedded Systems Sensor Networks Fall Hardware. Marcus Chang,
Network Embedded Systems Sensor Networks Fall 2013 Hardware Marcus Chang, mchang@cs.jhu.edu 1 Embedded Systems Designed to do one or a few dedicated and/or specific functions Embedded as part of a complete
More informationLab 1: I/O, timers, interrupts on the ez430-rf2500
Lab 1: I/O, timers, interrupts on the ez430-rf2500 UC Berkeley - EE 290Q Thomas Watteyne January 25, 2010 1 The ez430-rf2500 and its Components 1.1 Crash Course on the MSP430f2274 The heart of this platform
More informationdescription F435, F436, and F437 devices F447, F448, and F449 devices
Low Supply-Voltage Range,.8 V to 3.6 V Ultralow-Power Consumption: Active Mode: 28 µa at MHz, 2.2 V Standby Mode:. µa Off Mode (RAM Retention):. µa Five Power Saving Modes Wake-Up From Standby Mode in
More information// Conditions for 9600/4=2400 Baud SW UART, SMCLK = 1MHz #define Bitime_5 0x05*4 // ~ 0.5 bit length + small adjustment #define Bitime 13*4//0x0D
/****************************************************************************** * * * 1. Device starts up in LPM3 + blinking LED to indicate device is alive * + Upon first button press, device transitions
More informationDesigning for Ultra-Low Power with MSP430
Designing for Ultra-Low Power with MSP430 Christian Hernitscheck MSP430 FAE Europe Texas Instruments 2006 Texas Instruments Inc, Slide 1 Agenda Introduction to Ultra-Low Power Looking for Ultra-Low Power
More informationWhat is an Interrupt?
MSP430 Interrupts What is an Interrupt? Reaction to something in I/O (human, comm link) Usually asynchronous to processor activities interrupt handler or interrupt service routine (ISR) invoked to take
More informationMSP430x13x, MSP430x14x, MSP430x14x1 MIXED SIGNAL MICROCONTROLLER
Low Supply-Voltage Range,.8 V... 3.6 V Ultralow-Power Consumption: Active Mode: 28 µa at MHz, 2.2V Standby Mode:.6 µa Off Mode (RAM Retention):. µa Five Power-Saving Modes Wake-Up From Standby Mode in
More informationInterfacing CMA3000-D01 to an MSP430 ultra low-power microcontroller
Interfacing CMA3000-D01 to an MSP430 ultra low-power microcontroller 1 INTRODUCTION The objective of this document is to show how to set up SPI/I2C communication between VTI Technologies CMA3000-D01 digital
More informationMSP430-PG2231 development board Users Manual
MSP430-PG3 development board Users Manual All boards produced by Olimex are ROHS compliant Revision A, June 0 Copyright(c) 0, OLIMEX Ltd, All rights reserved Page INTRODUCTION: MSP430-PG3 is prototype
More informationdescription I2C is a registered trademark of Philips Incorporated.
Low Supply-Voltage Range,.8 V... 3.6 V Ultralow-Power Consumption: Active Mode: 33 µa at MHz, 2.2 V Standby Mode:. µa Off Mode (RAM Retention):.2 µa Five Power-Saving Modes Wake-Up From Standby Mode in
More information8051 Microcontroller
8051 Microcontroller The 8051, Motorola and PIC families are the 3 leading sellers in the microcontroller market. The 8051 microcontroller was originally developed by Intel in the late 1970 s. Today many
More informationMSP430F149 P3.4/UTXD0 P3.5/URXD0 P1.5 P1.6 P1.7 MSP430F149 P1.0 P5.4 P5.3 P5.2 P5.1. Figure B-1. BSL Replicator Block Diagram
Appendix B Appendix B MSP430 BSL Replicator Author: Greg Morton, MSP430 Applications B.1 BSL Replicator Overview The BSL Replicator application, executing on a host MSP430F149 device, uses the BSL protocol
More informationInterconnects, Memory, GPIO
Interconnects, Memory, GPIO Dr. Francesco Conti f.conti@unibo.it Slide contributions adapted from STMicroelectronics and from Dr. Michele Magno, others Processor vs. MCU Pipeline Harvard architecture Separate
More information6. General purpose Input/Output
Chapter 6 6. General purpose Input/Output This chapter starts with a description of one of the simplest integrated peripherals of the MSP430 the General Purpose 8-bit Input Output (GPIO). The Input/Output
More informationInterfacing CMR3000-D01 to an MSP430 ultra low-power microcontroller
Interfacing CMR3000-D01 to an MSP430 ultra low-power microcontroller 1 INTRODUCTION The objective of this document is to show how to set up SPI/I2C communication between VTI Technologies CMR3000-D01 digital
More informationTEST/VPP V CC P2.5/R OSC V SS XOUT/TCLK XIN RST/NMI P2.0/ACLK P2.1/INCLK P2.2/TA0
查询 MSP430 供应商 捷多邦, 专业 PCB 打样工厂,24 小时加急出货 Low Supply Voltage Range 2.5 V to 5.5 V Ultralow-Power Consumption: Active Mode: 330 µa at, 3 V Standby Mode:.5 µa Off Mode (RAM Retention): 0. µa Wake-up From
More informationDistributed by: www.jameco.com 1-800-831-4242 The content and copyrights of the attached material are the property of its owner. MSP430F11x2/12x2 Device Erratasheet Current Version Devices MSP430F1122
More informationCONTENTS: Program 1 in C:
CONTENTS: 1) Program 1 in C (Blink) 2) Program 2 in C (Interrupt ) 3) ADC example 4) Addressing Modes 5) Selected Assembly instructions 6) ADC10 register descriptions Program 1 in C: /* * PHYS319 Lab3
More informationTEST V CC P2.5/R osc V SS XOUT/TCLK XIN RST/NMI P2.0/ACLK P2.1/INCLK P2.2/TA0
Low Supply Voltage Range 1.8 V to 3.6 V Ultralow-Power Consumption: Active Mode: 200 µa at 1 MHz, 2.2 V Standby Mode: 0.8 µa Off Mode (RAM Retention): 0.1 µa Wake-Up From Standby Mode in less than 6 µs
More informationECE2049: Embedded Computing in Engineering Design A Term Fall Lecture #9: Exam Review w/ Solutions
ECE2049: Embedded Computing in Engineering Design A Term Fall 2018 Lecture #9: Exam Review w/ Solutions Reading for Today: Review all reading and notes, Davies Ch 1, 2, 4,7, MSP430 User's Guide Ch 6.1,
More informationLab 4 Interrupts ReadMeFirst
Lab 4 Interrupts ReadMeFirst Lab Folder Content 1) ReadMeFirst 2) Interrupt Vector Table 3) Pin out Summary Objectives Understand how interrupts work Learn to program Interrupt Service Routines in C Language
More informationMSP430 Interrupts. Change value of internal variable (count) Read a data value (sensor, receive) Write a data value (actuator, send)
MSP430 Interrupts What is an Interrupt? Reaction to something in I/O (human, comm link) Usually asynchronous to processor activities interrupt handler or interrupt service routine (ISR) invoked to take
More informationAVAILABLE OPTIONS PLASTIC 20-PIN TSSOP (PW) MSP430C1101IPW MSP430C1111IPW MSP430C1121IPW MSP430F1101AIPW MSP430F1111AIPW MSP430F1121AIPW
Low Supply Voltage Range.8 V to 3.6 V Ultralow-Power Consumption Active Mode: 6 µa at MHz, 2.2 V Standby Mode:.7 µa Off Mode (RAM Retention):. µa Wake-Up From Standby Mode in less than 6 µs 6-Bit RISC
More informationLecture 5: MSP430 Interrupt
ECE342 Intro. to Embedded Systems Lecture 5: MSP430 Interrupt Ying Tang Electrical and Computer Engineering Rowan University 1 How A Computer React to Inputs? Polling: the processor regularly looks at
More informationMSP430 Microcontroller Basics
MSP430 Microcontroller Basics John H. Davies AMSTERDAM BOSTON HEIDELBERG LONDON NEW YORK OXFORD PARIS SAN DIEGO SAN FRANCISCO SINGAPORE SYDNEY TOKYO Newnes is an imprint of Elsevier N WPIGS Contents Preface
More informationUser Manual For CP-JR ARM7 USB-LPC2148 / EXP
CP-JR ARM7 USB-LPC2148 / EXP 38 CR-JR ARM7 USB-LPC2148 which is a Board Microcontroller ARM7TDMI-S Core uses Microcontroller 16/32-Bit 64 Pin as Low Power type to be a permanent MCU on board and uses MCU
More informationTimers and Clocks CS4101 嵌入式系統概論. Prof. Chung-Ta King. Department of Computer Science National Tsing Hua University, Taiwan
CS4101 嵌入式系統概論 Timers and Clocks Prof. Chung-Ta King Department of Computer Science, Taiwan Materials from MSP430 Microcontroller Basics, John H. Davies, Newnes, 2008 Recall the Container Thermometer Container
More informationdescription F435, F436, and F437 devices F447, F448, and F449 devices
Low Supply-Voltage Range,.8 V to 3.6 V Ultralow-Power Consumption: Active Mode: 28 µa at MHz, 2.2 V Standby Mode:. µa Off Mode (RAM Retention):. µa Five Power Saving Modes Wake-Up From Standby Mode in
More informationCPE/EE 323 Introduction to Embedded Computer Systems Homework V
CPE/EE 323 Introduction to Embedded Computer Systems Homework V 1(15) 2(15) 3(25) 4(25) 5(20) Total Problem #1 (15 points) Power, Low power systems A sensor platform features a microcontroller, a sensor,
More informationUniversity of Texas at El Paso Electrical and Computer Engineering Department. EE 3176 Laboratory for Microprocessors I.
University of Texas at El Paso Electrical and Computer Engineering Department EE 3176 Laboratory for Microprocessors I Fall 2016 LAB 08 UART Communication Goals: Learn about UART Communication and the
More informationCPE 323: MSP430 Timers
CPE 323: MSP430 Timers Aleksandar Milenkovic Electrical and Computer Engineering The University of Alabama in Huntsville milenka@ece.uah.edu http://www.ece.uah.edu/~milenka Outline Watchdog Timer TimerA
More informationCopyright 2015 by Stephen A. Zajac & Gregory M. Wierzba. All rights reserved..spring 2015.
Copyright 2015 by Stephen A. Zajac & Gregory M. Wierzba. All rights reserved..spring 2015. Copyright 2015 by Stephen A. Zajac & Gregory M. Wierzba. All rights reserved..spring 2015. Copyright 2015 by Stephen
More informationTexas Instruments Mixed Signal Processor Tutorial Abstract
Texas Instruments Mixed Signal Processor Tutorial Abstract This tutorial goes through the process of writing a program that uses buttons to manipulate LEDs. One LED will be hard connected to the output
More informationECE2049-E17 Lecture 6 1. ECE2049: Embedded Computing in Engineering Design E Term Lecture #6: Exam Review
ECE2049-E17 Lecture 6 1 ECE2049: Embedded Computing in Engineering Design E Term 2017 Lecture #6: Exam Review Administrivia Exam 1: Next Tuesday (6/6) HW2: Due Tonight at 7pm Lab 1: Due next Tuesday (6/6),
More informationPRODUCT PREVIEW. MSP430x11x2, MSP430x12x2 MIXED SIGNAL MICROCONTROLLER. description
MSP43xx2, MSP43x2x2 Low Supply Voltage Range.8 V 3.6 V Ultralow-Power Consumption: Active Mode: 2 µa at MHz, 2.2 V Standby Mode:.7 µa Off Mode (RAM Retention):. µa Five Power Saving Modes Wake-Up From
More informationECE2049-E18 Lecture 6 Notes 1. ECE2049: Embedded Computing in Engineering Design E Term Lecture #6: Exam Review
ECE2049-E18 Lecture 6 Notes 1 ECE2049: Embedded Computing in Engineering Design E Term 2018 Lecture #6: Exam Review Administrivia Exam 1: Next Tuesday (6/5) HW4: Short assignment, due Tuesday Lab 1: Due
More information2006 Mixed Signal Products SLAU049F
User s Guide 2006 Mixed Signal Products SLAU049F Related Documentation From Texas Instruments Preface About This Manual This manual discusses modules and peripherals of the MSP430x1xx family of devices.
More information2006 Mixed Signal Products SLAU144B
User s Guide 2006 Mixed Signal Products SLAU144B IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements,
More informationAlex Milenkovich 1. CPE/EE 421 Microcomputers: The MSP430 Introduction. Outline
Outline CPE/EE 421 Microcomputers: The MSP430 Introduction Instructor: Dr Aleksandar Milenkovic Lecture Notes MSP430: An Introduction The MSP430 family Technology Roadmap Typical Applications The MSP430
More informationApplication Report. 1 Overview. Marc Sousa... Power Supply ABSTRACT
Application Report PSE Control Marc Sousa... Power Supply ABSTRACT Texas Instruments provides POE solutions for both the powered devices (PDs) as well as power sourcing equipment (PSE). The TPS2384 is
More informationIntroduction to Microcontroller Apps for Amateur Radio Projects Using the HamStack Platform.
Introduction to Microcontroller Apps for Amateur Radio Projects Using the HamStack Platform www.sierraradio.net www.hamstack.com Topics Introduction Hardware options Software development HamStack project
More informationdescription x412 and x413 devices F415 and F417 devices
Low Supply-Voltage Range,.8 V... 3.6 V Ultralow-Power Consumption: Active Mode: 2 µa at MHz, 2.2 V Standby Mode:.7 µa Off Mode (RAM Retention):. µa Five Power-Saving Modes Wake-Up From Standby Mode in
More informationProduct Specification
Product Specification 15mm x 27mm Description One of the most capable Bluetooth modules available, the BT-21 Bluetooth OEM Module is designed for maximum flexibility. The BT-21 module includes 14 general
More informationCPE 325: Embedded Systems Laboratory Laboratory #7 Tutorial MSP430 Timers, Watchdog Timer, Timers A and B
CPE 325: Embedded Systems Laboratory Laboratory #7 Tutorial MSP430 Timers, Watchdog Timer, Timers A and B Aleksandar Milenković Email: milenka@uah.edu Web: http://www.ece.uah.edu/~milenka Objective This
More informationMSP430FG4618 Programming Reference Revision 3
MSP430FG4618/F2013 Experimenter Board MSP430FG4618 Programming Reference Revision 3 George Mason University 1. CPU Registers The CPU incorporates sixteen 20-bit registers. R0, R1, R2 and R3 have dedicated
More informationLab 4: Interrupt. CS4101 Introduction to Embedded Systems. Prof. Chung-Ta King. Department of Computer Science National Tsing Hua University, Taiwan
CS4101 Introduction to Embedded Systems Lab 4: Interrupt Prof. Chung-Ta King Department of Computer Science, Taiwan Introduction In this lab, we will learn interrupts of MSP430 Handling interrupts in MSP430
More informationAVR XMEGA Product Line Introduction AVR XMEGA TM. Product Introduction.
AVR XMEGA TM Product Introduction 32-bit AVR UC3 AVR Flash Microcontrollers The highest performance AVR in the world 8/16-bit AVR XMEGA Peripheral Performance 8-bit megaavr The world s most successful
More information@databasescaling Wednesday, 18 th April 2013
andyjpb@ashurst.eu.org @databasescaling Wednesday, 18 th April 2013 OSHUG #24 1 / 56 Writing C For Constrained Systems a@jpb.li @databasescaling Wednesday, 18 th April 2013 OSHUG #24 2 / 56 Writing C For
More informationEmbedded Technosolutions
MSP430 Tutorial Very Important Low Power Processor For Embedded Systems Applications Introduction Although there are many resources dedicated to teaching microcontrollers and the MSP430 in particular,
More informationApplication Report. 1 Hardware Description. John Fahrenbruch... MSP430 Applications
Application Report SLAA309 June 2006 Low-Power Tilt Sensor Using the MSP430F2012 John Fahrenbruch... MSP430 Applications ABSTRACT The MSP430 family of low-power microcontrollers are ideal for low-power
More informationECE2049 Homework #2 The MSP430 Architecture & Basic Digital IO (DUE Friday 9/8/17 at 4 pm in class)
ECE2049 Homework #2 The MSP430 Architecture & Basic Digital IO (DUE Friday 9/8/17 at 4 pm in class) Your homework should be neat and professional looking. You will loose points if your HW is not properly
More informationACT-IR8200P. IrDA Compliant Protocol Processor Preliminary Specification. Copyright 2003 ACTiSYS Corporation, All Rights Reserved
48511 Warm Springs Blvd., Suite 206, Fremont, CA 94539 Tel: (510) 490-8024 Fax: (510) 623-7268 Website: http://www.actisys.com E-mail: irda-info@actisys.com IrDA Compliant Protocol Processor Preliminary
More informationProduct Specification
Product Specification Features Amp ed RF, Inc. Description 15mm x 27mm The added class 1 power, +18dBm, of the BT-11, gives this module one of the best ranges in the industry. It s completely pin compatible
More informationECE2049 E17 Lecture 4 MSP430 Architecture & Intro to Digital I/O
ECE2049-E17 Lecture 4 1 ECE2049 E17 Lecture 4 MSP430 Architecture & Intro to Digital I/O Administrivia Homework 1: Due today by 7pm o Either place in box in ECE office or give to me o Office hours tonight!
More information3.3V regulator. JA H-bridge. Doc: page 1 of 7
Digilent Cerebot Board Reference Manual Revision: 11/17/2005 www.digilentinc.com 215 E Main Suite D Pullman, WA 99163 (509) 334 6306 Voice and Fax Overview The Digilent Cerebot Board is a useful tool for
More informationECE PRACTICE EXAM #2 Clocks, Timers, and Digital I/O
ECE2049 -- PRACTICE EXAM #2 Clocks, Timers, and Digital I/O Study HW3, Class Notes, Davies Ch 2.6, 5.8, 8, 9.2-3, 9.7, MSP43F5529 User's Guide Ch 5, 17, 28 Work all problems with your note sheet first
More informationVLSI Design Lab., Konkuk Univ. Yong Beom Cho LSI Design Lab
AVR Training Board-I V., Konkuk Univ. Yong Beom Cho ybcho@konkuk.ac.kr What is microcontroller A microcontroller is a small, low-cost computeron-a-chip which usually includes: An 8 or 16 bit microprocessor
More informationBLE MODULE SPECIFICATIONS
WIRELESS-TAG BLE MODULE SPECIFICATIONS nrf51-01/02/dk Bluetooth Low Energy (BLE) module of nrf51-01/02 is the next generation BLE module released by SEMITRION electronics. The modules use nrf51822 from
More informationMSP430F20xx Device Erratasheet
Errata MSP430F20xx Device Erratasheet 1 Current Version Devices Rev: BCL12 CPU4 FLASH16 SDA3 TA12 TA16 TA22 USI4 USI5 XOSC5 XOSC8 MSP430F2001 D ü ü ü ü ü ü ü ü MSP430F2011 D ü ü ü ü ü ü ü ü MSP430F2002
More informationThe Atmel ATmega168A Microcontroller
Ming Hsieh Department of Electrical Engineering EE 459Lx - Embedded Systems Design Laboratory The Atmel ATmega168A Microcontroller by Allan G. Weber 1 Introduction The Atmel ATmega168A is one member of
More informationThis Part-A course discusses techniques that are used to reduce noise problems in the design of large scale integration (LSI) devices.
Course Introduction Purpose This Part-A course discusses techniques that are used to reduce noise problems in the design of large scale integration (LSI) devices. Objectives Understand the requirement
More informationCPE/EE 421 Microcomputers
CPE/EE 421 Microcomputers Instructor: Dr Aleksandar Milenkovic Lecture Note S19 CPE/EE 421/521 Microcomputers 1 Course Administration Instructor: URL: Aleksandar Milenkovic milenka@ece.uah.edu www.ece.uah.edu/~milenka
More informationCN310 Microprocessor Systems Design
CN310 Microprocessor Systems Design Microcontroller Nawin Somyat Department of Electrical and Computer Engineering Thammasat University Outline Course Contents 1 Introduction 2 Simple Computer 3 Microprocessor
More informationWHICH MICRO? What does MCU needs to do in my system? What are the tasks? Dr. Adriana Becker-Gomez
1 WHICH MICRO? What does MCU needs to do in my system? What are the tasks? Dr. Adriana Becker-Gomez Email: axbeec@rit.edu Office: 9-3477 2 Specs System design: High level definition (functional specs)
More informationCPE/EE 421 Microcomputers
CPE/EE 421 Microcomputers Instructor: Dr Aleksandar Milenkovic Lecture Note S13 *Material used is in part developed by Dr. D. Raskovic and Dr. E. Jovanov CPE/EE 421/521 Microcomputers 1 MSP430 Documentation
More informationTimer Module Timer A. ReadMeFirst
Timer Module Timer A ReadMeFirst Lab Folder Content 1) ReadMeFirst 2) TimerModule Lecture material 3) PinOutSummary 4) InterruptsVectorTable 5) Source code for screencast Interrupt Review Overview A Timer
More information联系人黄生 : QQ: General Description The KN02GxxA series are low-cost 32-bit microcontroller with embedded ARM Cortex -M0 core for i
联系人黄生 :18665986378 QQ:1604039260 ARM Cortex -M0 32-bit microcontroller www.kiano-electronic.com 1 of 10 Release Date: 18 December 2013 Rev: 1.0 联系人黄生 :18665986378 QQ:1604039260 1 General Description The
More informationMICROCONTROLLER AND PLC LAB-436 SEMESTER-5
MICROCONTROLLER AND PLC LAB-436 SEMESTER-5 Exp:1 STUDY OF MICROCONTROLLER 8051 To study the microcontroller and familiarize the 8051microcontroller kit Theory:- A Microcontroller consists of a powerful
More information2002 Mixed Signal Products SLAU056B
User s Guide 22 Mixed Signal Products SLAU56B IMPORTANT NOTICE Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements,
More informationMSP430 Ultra-Low-Power Microcontrollers
MSP430 Ultra-Low-Power Microcontrollers 2008 2 MSP430 Microcontrollers Key Features Ultra-low-power architecture and flexible clock system extends battery life: 0.1-µA RAM retention
More information임베디드시스템기초 (# ) #11. Serial Communications 한림대학교전자공학과이선우
임베디드시스템기초 (#514115 ) #11. Serial Communications 한림대학교전자공학과이선우 Contents General Serial communications Asynchronous serial communications (UART) 2 Parallel vs. Serial 패러럴 ( 병렬 ) 데이터통신 복수의신호선을이용 ( 대개 8/16/32bit)
More informationXE166 Family AP Application Note. Microcontrollers. X E D r i v e C a r d H a r d w a r e D e s c r i p t i o n Board REV.
XE166 Family AP16160 X E 1 6 4 D r i v e C a r d H a r d w a r e D e s c r i p t i o n Application Note V1.0, 2009-03 Microcontrollers Edition 2009-03 Published by Infineon Technologies AG 81726 Munich,
More informationProduct Overview. ADNK-5033-TN24 Optical Mouse Designer s Kit. Description. Features of ADNK-5033-TN24
ADNK-0-TN Optical Mouse Designer s Kit Product Overview Description Avago Technologies has produce a new wireless optical mouse reference design kit. This design guide describes the design of a low power
More informationGetting Started with the Texas Instruments ez430
1 of 6 03.01.2009 01:33 HOME Running Your Code>> Getting Started with the Texas Instruments ez430 Working with the Workbench Software Step 1: Each program needs an associated project. The project includes
More informationMSP430 Interface to LMP91000 Code Library
Application Note 2230 Vishy Viswanathan July 13, 2012 MSP430 Interface to LMP91000 Code 1.0 Abstract The MSP430 is an ideal microcontroller solution for low-cost, low-power precision sensor applications
More informationAnalog Peripherals. Introduction. Objectives
Analog Peripherals Introduction In this section we ll take a look at the MSP430 analog peripherals. It s not possible in this limited amount of time to give you a complete overview of the possible analog
More informationEEL 4924 Electrical Engineering Design (Senior Design) Team Baudiophile. Wireless Headphones
EEL 4924 Electrical Engineering Design (Senior Design) Final Design Report 25 April 2012 Team Baudiophile Wireless Headphones Team Members: Name: Stephen Brewer Name: Eli Chen Project Abstract Our project
More informationBlock diagram of processor (Harvard)
Block diagram of processor (Harvard) Register transfer view of Harvard architecture Separate busses for instruction memory and data memory Example: PIC 16 load path OP REG AC 16 16 store path rd wr data
More informationName: Clint Furrer Project Number: TI003 Project Description: Safety Walking Lights. Description:
Description: This project addresses the concern and problem of pedestrians walking with automotive traffic. I walk to and from a bus stop every morning and evening for work. There is usually low light
More informationECE2049: Embedded Computing in Engineering Design C Term Spring 2018
ECE2049: Embedded Computing in Engineering Design C Term Spring 2018 Lecture #19: Using SPI The LCD Screen and DAC Reading for Today: User's Manual Ch 35, Davies 101.5, DAC datasheet Reading for Next Class:
More informationAVR Training Board-I. VLSI Design Lab., Konkuk Univ. LSI Design Lab
AVR Training Board-I V., Konkuk Univ. Tae Pyeong Kim What is microcontroller A microcontroller is a small, low-cost computeron-a-chip which usually includes: An 8 or 16 bit microprocessor (CPU). A small
More informationMICROPROCESSOR BASED SYSTEM DESIGN
MICROPROCESSOR BASED SYSTEM DESIGN Lecture 5 Xmega 128 B1: Architecture MUHAMMAD AMIR YOUSAF VON NEUMAN ARCHITECTURE CPU Memory Execution unit ALU Registers Both data and instructions at the same system
More informationXC2000 Family AP Application Note. Microcontrollers. XC2236N Drive Card Description V1.0,
XC2000 Family AP16179 Application Note V1.0, 2010-07 Microcontrollers Edition 2010-07 Published by Infineon Technologies AG 81726 Munich, Germany 2010 Infineon Technologies AG All Rights Reserved. LEGAL
More informationECE 480 Team 5 Introduction to MAVRK module
ECE 480 Team 5 Introduction to MAVRK module Team Members Jordan Bennett Kyle Schultz Min Jae Lee Kevin Yeh Definition of MAVRK Component of MAVRK starter Kit Component of umavrk Module design procedure
More informationUniversität Dortmund. IO and Peripheral Interfaces
IO and Peripheral Interfaces Microcontroller System Architecture Each MCU (micro-controller unit) is characterized by: Microprocessor 8,16,32 bit architecture Usually simple in-order microarchitecture,
More informationCM5000 DATASHEET v0.1
CM5000 DATASHEET - 2 - http://www.advanticsys.com/cm5000.html v0.1 Table of Contents 1. INTRODUCTION... 5 2. HARDWARE CHARACTERISTICS... 6 2.1 CM5000 DIAGRAMS... 6 2.2 MICROCONTROLLER DESCRIPTION - TI
More informationThe Atmel ATmega328P Microcontroller
Ming Hsieh Department of Electrical Engineering EE 459Lx - Embedded Systems Design Laboratory 1 Introduction The Atmel ATmega328P Microcontroller by Allan G. Weber This document is a short introduction
More information