Pin diagram and signal description
TM4C123GH6PM microcontroller is available in Low-profile Quad Flat surface to mount integrated circuit package which consists of a total 64 pin with multi-functionality. The pin diagram for the microcontroller is shown in figure 4.1.
Fig. 4.1: Pin diagram for TM4C123GH6PM
Pin Assignment and their Function
4.1 General purpose Input-Output (GPIO):
TM4C123GH6PM microcontroler consists of six physical blocks each correcponding to individual GPIO port i.e (Port A, Port B, Port C, Port D, Port E, Port F). GPIOmodule supports total 43 programmable input-output pins.
- All GPIO pin supports interrupt generation with edge trigger on rising, falling, or both.
- GPIO accessed through the Advanced peripheral bus with tolerant of 5V. This pin retained their state during hibernation mode.
- GPIO input supports weak pull-up or weak pull-down resistor with the pad sink of 2mA, 4mA, and 8 mA
GPIO pins of TM4C123GH6PM shown below. Pins that are highlighted indicates a GPIO signal.
Signal : Signal which is marked in yellow indicates pin is available on headers operates on 5V.
Signal : Signal which is marked in red indicates pin is connected with an on-chip debugger which is not programmable for users.
Signal : Signal which is marked in green is connected with On-chip USB and operates on 3.3V
Signal : Signal which is marked in green and yellow is connected with On-chip USB as well as header and operates on 3.3V
4.2 Serial communication peripherals
4.2.1 Control Area Network (CAN) module:
CAN is a serial communication bus used for connecting multiple electronic control units. TM4C123GH6PM microcontroller consists of a two CAN module that works on the protocol version of 2.0 part A/B. It supports a bit rate of 1Mbps for 40m and 125Kbps for 500m.
Pins assignment for the CAN module are as follows:
4.2.2 Universal Serial Bus (USB) module:
USB is a serial bus that is used to connect external peripherals with the standard interface. TM4C123GH6PM microcontroller USB operates on USB version 2.0. It supports USB host mode, device mode and USB on-the-go mode. USB 2.0 supports a full speed of 12Mbps and low speed of 1.5Mbps. Four types of data transfer support in USB: Control, Interrupt, Bulk, and Isochronous.
Pins assignment for USB module are as follows:
4.2.3 Universal Asynchronous Receiver/Transmitter (UART):
UART is an integrated circuit used for serial communication consists of two pins transmitter and receiver. TM4C123GH6PM microcontroller includes eight fully programmable UART module. This pin can generate individually masked interrupts from the Rx, Tx. UART pins support a regular speed of 5Mbps and a high speed of 10 Mbps.
Pins assignment for UART module are as follows:
NOTE:
* UART0 is connected with an on-chip debugger which is not programmable.
* Pin PC4-PC5 connected with both UART1 and UART4 module.
4.2.4 Inter-Integrated Circuit (I2C):
I2C is a bi-directional two-wire synchronous serial communication protocol which consists of two pins SCL (for serial clock) and SDA (for serial data). I2C device can be used as either master or slave. I2C module supports sending and receiving of data from master to lave and vice versa. Both the I2C signals are used to generate interrupts. TM4C123GH6PM microcontroller includes four I2C modules.
- I2C operates in four modes: Master transmit, Master receive, Slave transmit, Slave receive
- I2C supports four-speed of operation: Standard (100 Kbps), Fast-mode (400 Kbps), Fast-mode plus (1 Mbps), High-speed mode (3.33 Mbps)
4.2.5 Synchronous Serial Interface (SSI):
SSI is a four wire bi-directional synchronous serial communication interface. It is used to convert serial-to-parallel and parallel-to-serial data. This module can be used as either master or as slave device. The TM4C123GH6PM microcontroller includes four SSI modules which consist of four pins: clock, frame signal, transmit, and receive.
Pins assignment for SSI module are as follows:
4.3 Analog input pins:
TM4C123GH6PM microcontroller consists of a total of 12 analog input pins. These pins are linked with two analog-to-digital conversion blocks (ADC0-ADC1). This block converts the analog input into 12-bit digital input.
:
TM4C123GH6PM microcontroller consists of two PWM modules, each with two PWM generators and one PWM control which generates a total of 16 PWM outputs and two control pins. High-resolution counters are used to generate a square wave, and the duty cycle of the square wave is modulated to encode an analog signal.
PWM pins of TM4C123GH6PM shown below:
4.5 Supply pins:
Supply pins which are used in TM4C123GH6PM microcontroller are as follows:
4.6 Clock pins:
Clock pins which are used in TM4C123GH6PM microcontroller are as follows:
Reference: TM4C123GH6PM microcontroller datasheet
Comments
Post a Comment