JAJSHM4U April 2001 – July 2019 TMS320F2810 , TMS320F2811 , TMS320F2812
PRODUCTION DATA.
デバイスごとのパッケージ図は、PDF版データシートをご参照ください。
The GPIO Mux registers are used to select the operation of shared pins on the F281x devices. The pins can be individually selected to operate as “Digital I/O” or connected to “Peripheral I/O” signals (via the GPxMUX registers). If selected for “Digital I/O”mode, registers are provided to configure the pin direction (via the GPxDIR registers) and to qualify the input signal to remove unwanted noise (via the GPxQUAL) registers). Table 6-13 lists the GPIO Mux Registers.
NAME | ADDRESS | SIZE (x16) | DESCRIPTION |
---|---|---|---|
GPAMUX | 0x00 70C0 | 1 | GPIO A Mux Control Register |
GPADIR | 0x00 70C1 | 1 | GPIO A Direction Control Register |
GPAQUAL | 0x00 70C2 | 1 | GPIO A Input Qualification Control Register |
Reserved | 0x00 70C3 | 1 | |
GPBMUX | 0x00 70C4 | 1 | GPIO B Mux Control Register |
GPBDIR | 0x00 70C5 | 1 | GPIO B Direction Control Register |
GPBQUAL | 0x00 70C6 | 1 | GPIO B Input Qualification Control Register |
Reserved | 0x00 70C7 | 1 | |
Reserved | 0x00 70C8 | 1 | |
Reserved | 0x00 70C9 | 1 | |
Reserved | 0x00 70CA | 1 | |
Reserved | 0x00 70CB | 1 | |
GPDMUX | 0x00 70CC | 1 | GPIO D Mux Control Register |
GPDDIR | 0x00 70CD | 1 | GPIO D Direction Control Register |
GPDQUAL | 0x00 70CE | 1 | GPIO D Input Qualification Control Register |
Reserved | 0x00 70CF | 1 | |
GPEMUX | 0x00 70D0 | 1 | GPIO E Mux Control Register |
GPEDIR | 0x00 70D1 | 1 | GPIO E Direction Control Register |
GPEQUAL | 0x00 70D2 | 1 | GPIO E Input Qualification Control Register |
Reserved | 0x00 70D3 | 1 | |
GPFMUX | 0x00 70D4 | 1 | GPIO F Mux Control Register |
GPFDIR | 0x00 70D5 | 1 | GPIO F Direction Control Register |
Reserved | 0x00 70D6 | 1 | |
Reserved | 0x00 70D7 | 1 | |
GPGMUX | 0x00 70D8 | 1 | GPIO G Mux Control Register |
GPGDIR | 0x00 70D9 | 1 | GPIO G Direction Control Register |
Reserved | 0x00 70DA | 1 | |
Reserved | 0x00 70DB | 1 | |
Reserved | 0x00 70DC – 0x00 70DF | 4 |
If configured for ”Digital I/O” mode, additional registers are provided for setting individual I/O signals (via the GPxSET registers), for clearing individual I/O signals (via the GPxCLEAR registers), for toggling individual I/O signals (via the GPxTOGGLE registers), or for reading/writing to the individual I/O signals (via the GPxDAT registers). Table 6-14 lists the GPIO Data Registers. For more information, see the TMS320x281x DSP System Control and Interrupts Reference Guide.
NAME | ADDRESS | SIZE (x16) | DESCRIPTION |
---|---|---|---|
GPADAT | 0x00 70E0 | 1 | GPIO A Data Register |
GPASET | 0x00 70E1 | 1 | GPIO A Set Register |
GPACLEAR | 0x00 70E2 | 1 | GPIO A Clear Register |
GPATOGGLE | 0x00 70E3 | 1 | GPIO A Toggle Register |
GPBDAT | 0x00 70E4 | 1 | GPIO B Data Register |
GPBSET | 0x00 70E5 | 1 | GPIO B Set Register |
GPBCLEAR | 0x00 70E6 | 1 | GPIO B Clear Register |
GPBTOGGLE | 0x00 70E7 | 1 | GPIO B Toggle Register |
Reserved | 0x00 70E8 | 1 | |
Reserved | 0x00 70E9 | 1 | |
Reserved | 0x00 70EA | 1 | |
Reserved | 0x00 70EB | 1 | |
GPDDAT | 0x00 70EC | 1 | GPIO D Data Register |
GPDSET | 0x00 70ED | 1 | GPIO D Set Register |
GPDCLEAR | 0x00 70EE | 1 | GPIO D Clear Register |
GPDTOGGLE | 0x00 70EF | 1 | GPIO D Toggle Register |
GPEDAT | 0x00 70F0 | 1 | GPIO E Data Register |
GPESET | 0x00 70F1 | 1 | GPIO E Set Register |
GPECLEAR | 0x00 70F2 | 1 | GPIO E Clear Register |
GPETOGGLE | 0x00 70F3 | 1 | GPIO E Toggle Register |
GPFDAT | 0x00 70F4 | 1 | GPIO F Data Register |
GPFSET | 0x00 70F5 | 1 | GPIO F Set Register |
GPFCLEAR | 0x00 70F6 | 1 | GPIO F Clear Register |
GPFTOGGLE | 0x00 70F7 | 1 | GPIO F Toggle Register |
GPGDAT | 0x00 70F8 | 1 | GPIO G Data Register |
GPGSET | 0x00 70F9 | 1 | GPIO G Set Register |
GPGCLEAR | 0x00 70FA | 1 | GPIO G Clear Register |
GPGTOGGLE | 0x00 70FB | 1 | GPIO G Toggle Register |
Reserved | 0x00 70FC – 0x00 70FF | 4 |
Figure 6-12 shows how the various register bits select the various modes of operation for GPIO function.
NOTE
The input function of the GPIO pin and the input path to the peripheral are always enabled. It is the output function of the GPIO pin that is multiplexed with the output path of the primary (peripheral) function. Since the output buffer of a pin connects back to the input buffer, any GPIO signal present at the pin will be propagated to the peripheral module as well. Therefore, when a pin is configured for GPIO operation, the corresponding peripheral functionality (and interrupt-generating capability) must be disabled. Otherwise, interrupts may be inadvertently triggered. This is especially critical when the PDPINTA and PDPINTB pins are used as GPIO pins, since a value of zero for GPDDAT.0 or GPDDAT.5 (PDPINTx) will put PWM pins in a high-impedance state. The CxTRIP and TxCTRIP pins will also put the corresponding PWM pins in high impedance, if they are driven low (as GPIO pins) and bit EXTCONx.0 = 1.