240 likes | 256 Views
TI ARM I/O Programming Chapter 2. Microcontroller Course. www.MicroDigitalEd.com. Topics. Texas Instruments Tiva TM4C123GH6PM Microcontroller GPIO I/O Pins in TI Tiva LaunchPad Direction and Data Registers Data Register (GPIODATA) in TI ARM Seven-segment LED interfacing and programming.
E N D
TI ARM I/O ProgrammingChapter 2 Microcontroller Course www.MicroDigitalEd.com
Topics • Texas Instruments Tiva TM4C123GH6PM Microcontroller • GPIO • I/O Pins in TI Tiva LaunchPad • Direction and Data Registers • Data Register (GPIODATA) in TI ARM • Seven-segment LED interfacing and programming Produced by Sh. Yaghni
Texas Instruments Tiva TM4C123GH6PM Microcontroller(TI Tiva TM4C123GH6PM Microcontroller High-Level Block Diagram) Produced by Sh. Yaghni
Texas Instruments Tiva TM4C123GH6PM Microcontroller(TI Tiva LaunchPad Trainer board) Produced by Sh. Yaghni
Texas Instruments Tiva TM4C123GH6PM Microcontroller(Memory Map in TM4C123GH6PM) Produced by Sh. Yaghni
Texas Instruments Tiva TM4C123GH6PM Microcontroller(Memory Map ) Produced by Sh. Yaghni
GPIO(GPIO Memory Map) Produced by Sh. Yaghni
I/O Pins in TI Tiva LaunchPad(TM4C134GH6PM Pin-out) Produced by Sh. Yaghni
Direction and Data Register(The Data and Direction Registers and a Simplified View of an I/O pin) Produced by Sh. Yaghni
Data Register (GPIODATA) in TI ARM(GPIOData Register) Produced by Sh. Yaghni
Data Register (GPIODATA) in TI ARM(Bit banding case study ) Produced by Sh. Yaghni
Data Register (GPIODATA) in TI ARM(Bit banding case study ) Example: writing to address 0x40004310 Produced by Sh. Yaghni
Direction Register in TI ARM(GPIODIR Register) Produced by Sh. Yaghni
Direction Register in TI ARM(Some GPIO Registers) Produced by Sh. Yaghni
The GPIO Digital Enable Register(GPIODEN Register) Produced by Sh. Yaghni
The GPIO Clock enable for all the I/O ports(RCGCGPIO (Run mode Clock Gating Control) Register ) Produced by Sh. Yaghni
LED connection in TI Tiva LaunchPad(LED connection to PORTF in TI Tiva LaunchPad) Produced by Sh. Yaghni
Reading a switch in TI Tiva LaunchPad ( Push-button Switches Connected to the Microcontroller in the Tiva LaunchPad Board) Produced by Sh. Yaghni
Seven-segment LED interfacing and programming(Seven Segment) Produced by Sh. Yaghni
Seven-segment LED interfacing and programming(Assignments of port pins to each segments of a 7-seg LED) Produced by Sh. Yaghni
Seven-segment LED interfacing and programming(Segment patterns for the 10 decimal digits for a common cathode 7-seg LED) Produced by Sh. Yaghni
Seven-segment LED interfacing and programming(Microcontroller Connection to 7-segment LED) Produced by Sh. Yaghni
Seven-segment LED interfacing and programming(Microcontroller Connection to 7-segment LED with Buffer Driver) Produced by Sh. Yaghni