SPRS584Q April 2009 – January 2024 TMS320F28030 , TMS320F28030-Q1 , TMS320F28031 , TMS320F28031-Q1 , TMS320F28032 , TMS320F28032-Q1 , TMS320F28033 , TMS320F28033-Q1 , TMS320F28034 , TMS320F28034-Q1 , TMS320F28035 , TMS320F28035-Q1
PRODUCTION DATA
Table 5-1 describes the signals. With the exception of the JTAG pins, the GPIO function is the default at reset, unless otherwise mentioned. The peripheral signals that are listed under them are alternate functions. Some peripheral functions may not be available in all devices. See Table 4-1 for details. Inputs are not 5-V tolerant. All GPIO pins are I/O/Z and have an internal pullup, which can be selectively enabled/disabled on a per-pin basis. This feature only applies to the GPIO pins. The pullups on the PWM pins are not enabled at reset. The pullups on other GPIO pins are enabled upon reset. The AIO pins do not have an internal pullup.
When the on-chip VREG is used, the GPIO19, GPIO34, GPIO35, GPIO36, GPIO37, and GPIO38 pins could glitch during power up. This potential glitch will finish before the boot mode pins are read and will not affect boot behavior. If glitching is unacceptable in an application, 1.8 V could be supplied externally. Alternatively, adding a current-limiting resistor (for example, 470 Ω) in series with these pins and any external driver could be considered to limit the potential for degradation to the pin and/or external circuitry. There is no power-sequencing requirement when using an external 1.8-V supply. However, if the 3.3-V transistors in the level-shifting output buffers of the I/O pins are powered before the 1.8-V transistors, it is possible for the output buffers to turn on, causing a glitch to occur on the pin during power up. To avoid this behavior, power the VDD pins before or with the VDDIO pins, ensuring that the VDD pins have reached 0.7 V before the VDDIO pins reach 0.7 V.
TERMINAL | I/O/Z(1) | DESCRIPTION | |||
---|---|---|---|---|---|
NAME | PN PIN NO. |
PAG PIN NO. |
RSH PIN NO. |
||
JTAG | |||||
TRST | 10 | 8 | 6 | I | JTAG test reset with internal pulldown. TRST, when driven high, gives the scan system control of the operations of the device. If this signal is not connected or driven low, the device operates in its functional mode, and the test reset signals are ignored. NOTE:TRST is an active high test pin and must be maintained low at all times during normal device operation. An external pulldown resistor is required on this pin. The value of this resistor should be based on drive strength of the debugger pods applicable to the design. A 2.2-kΩ resistor generally offers adequate protection. Because this is application-specific, TI recommends validating each target board for proper operation of the debugger and the application. (↓) |
TCK | See GPIO38 | I | See GPIO38. JTAG test clock with internal pullup. (↑) | ||
TMS | See GPIO36 | I | See GPIO36. JTAG test-mode select (TMS) with internal pullup. This serial control input is clocked into the TAP controller on the rising edge of TCK. (↑) | ||
TDI | See GPIO35 | I | See GPIO35. JTAG test data input (TDI) with internal pullup. TDI is clocked into the selected register (instruction or data) on a rising edge of TCK. (↑) | ||
TDO | See GPIO37 | O/Z | See GPIO37. JTAG scan out, test data output (TDO). The contents of the selected register (instruction or data) are shifted out of TDO on the falling edge of TCK. (8 mA drive) | ||
FLASH | |||||
TEST2 | 38 | 30 | 27 | I/O | Test Pin. Reserved for TI. Must be left unconnected. |
CLOCK | |||||
XCLKOUT | See GPIO18 | – | O/Z | See GPIO18. Output clock derived from SYSCLKOUT. XCLKOUT is either the same frequency, one-half the frequency, or one-fourth the frequency of SYSCLKOUT. This is controlled by bits 1:0 (XCLKOUTDIV) in the XCLK register. At reset, XCLKOUT = SYSCLKOUT/4. The XCLKOUT signal can be turned off by setting XCLKOUTDIV to 3. The mux control for GPIO18 must also be set to XCLKOUT for this signal to propagate to the pin. | |
XCLKIN | See GPIO19 and GPIO38 | I | See GPIO19 and GPIO38. External oscillator input. Pin source for
the clock is controlled by the XCLKINSEL bit in the XCLK register,
GPIO38 is the default selection. This pin feeds a clock from an
external 3.3-V oscillator. In this case, the X1 pin, if available,
must be tied to GND and the on-chip crystal oscillator must be
disabled through bit 14 in the CLKCTL register. If a
crystal/resonator is used, the XCLKIN path must be disabled by bit
13 in the CLKCTL register. NOTE: Designs that use the GPIO38/TCK/XCLKIN pin to supply an external clock for normal device operation may need to incorporate some hooks to disable this path during debug using the JTAG connector. This is to prevent contention with the TCK signal, which is active during JTAG debug sessions. The zero-pin internal oscillators may be used during this time to clock the device. |
||
X1 | 52 | 41 | 36 | I | On-chip 1.8-V crystal-oscillator input. To use this oscillator, a quartz crystal or a ceramic resonator must be connected across X1 and X2. In this case, the XCLKIN path must be disabled by bit 13 in the CLKCTL register. If this pin is not used, it must be tied to GND. (I) |
X2 | 51 | 40 | 35 | O | On-chip crystal-oscillator output. A quartz crystal or a ceramic resonator must be connected across X1 and X2. If X2 is not used, it must be left unconnected. (O) |
RESET | |||||
XRS | 9 | 7 | 5 | I/O | Device Reset (in) and Watchdog Reset (out). These devices have a built-in power-on reset (POR) and brown-out reset (BOR) circuitry. During a power-on or brown-out condition, this pin is driven low by the device. An external circuit may also drive this pin to assert a device reset. This pin is also driven low by the MCU when a watchdog reset occurs. During watchdog reset, the XRS pin is driven low for the watchdog reset duration of 512 OSCCLK cycles. A resistor with a value from 2.2 kΩ to 10 kΩ should be placed between XRS and VDDIO. If a capacitor is placed between XRS and VSS for noise filtering, it should be 100 nF or smaller. These values will allow the watchdog to properly drive the XRS pin to VOL within 512 OSCCLK cycles when the watchdog reset is asserted. Regardless of the source, a device reset causes the device to terminate execution. The program counter points to the address contained at the location 0x3F FFC0. When reset is deactivated, execution begins at the location designated by the program counter. The output buffer of this pin is an open-drain device with an internal pullup. (↑) If this pin is driven by an external device, it should be done using an open-drain device. |
ADC, COMPARATOR, ANALOG I/O | |||||
ADCINA7 | 11 | 9 | 7 | I | ADC Group A, Channel 7 input |
ADCINA6 | 12 | 10 | 8 | I | ADC Group A, Channel 6 input |
COMP3A | I | Comparator Input 3A | |||
AIO6 | I/O | Digital AIO 6 | |||
ADCINA5 | 13 | – | – | I | ADC Group A, Channel 5 input |
ADCINA4 | 14 | 11 | 9 | I | ADC Group A, Channel 4 input |
COMP2A | I | Comparator Input 2A | |||
AIO4 | I/O | Digital AIO 4 | |||
ADCINA3 | 15 | 12 | 10 | I | ADC Group A, Channel 3 input |
ADCINA2 | 16 | 13 | 11 | I | ADC Group A, Channel 2 input |
COMP1A | I | Comparator Input 1A | |||
AIO2 | I/O | Digital AIO 2 | |||
ADCINA1 | 17 | 14 | 12 | I | ADC Group A, Channel 1 input |
ADCINA0 | 18 | 15 | 13 | I | ADC Group A,
Channel 0 input. NOTE: VREFHI and ADCINA0 share the same pin on the 64-pin PAG device and their use is mutually exclusive to one another. NOTE: VREFHI and ADCINA0 share the same pin on the 56-pin RSH device and their use is mutually exclusive to one another. |
VREFHI | 19 | 15 | 13 | I | ADC External
Reference High – only used when in ADC external reference mode. See
Section 7.9.2.1, ADC. NOTE: VREFHI and ADCINA0 share the same pin on the 64-pin PAG device and their use is mutually exclusive to one another. NOTE: VREFHI and ADCINA0 share the same pin on the 56-pin RSH device and their use is mutually exclusive to one another. |
ADCINB7 | 30 | 24 | 21 | I | ADC Group B, Channel 7 input |
ADCINB6 | 29 | 23 | 20 | I | ADC Group B, Channel 6 input |
COMP3B | I | Comparator Input 3B | |||
AIO14 | I/O | Digital AIO 14 | |||
ADCINB5 | 28 | – | – | I | ADC Group B, Channel 5 input |
ADCINB4 | 27 | 22 | 19 | I | ADC Group B, Channel 4 input |
COMP2B | I | Comparator Input 2B | |||
AIO12 | I/O | Digital AIO12 | |||
ADCINB3 | 26 | 21 | 18 | I | ADC Group B, Channel 3 input |
ADCINB2 | 25 | 20 | 17 | I | ADC Group B, Channel 2 input |
COMP1B | I | Comparator Input 1B | |||
AIO10 | I/O | Digital AIO 10 | |||
ADCINB1 | 24 | 19 | 16 | I | ADC Group B, Channel 1 input |
ADCINB0 | 23 | 18 | – | I | ADC Group B, Channel 0 input |
VREFLO | 22 | 17 | 15 | I | ADC External
Reference Low. NOTE: VREFLO is always connected to VSSA on the 64-pin PAG device and on the 56-pin RSH device. |
CPU AND I/O POWER | |||||
VDDA | 20 | 16 | 14 | Analog Power Pin. Tie with a 2.2-μF capacitor (typical) close to the pin. | |
VSSA | 21 | 17 | 15 | Analog Ground
Pin. NOTE: VREFLO is always connected to VSSA on the 64-pin PAG device and on the 56-pin RSH device. |
|
VDD | 7 | 5 | 3 | CPU and Logic Digital Power Pins. When using internal VREG, place one 1.2-µF capacitor between each VDD pin and ground. Higher value capacitors may be used. | |
54 | 43 | 38 | |||
72 | 59 | 52 | |||
VDDIO | 36 | 29 | 26 | Digital I/O Buffers and Flash Memory Power Pin. Single supply source when VREG is enabled. Place a decoupling capacitor on each pin. The exact value should be determined by the system voltage regulation solution. | |
70 | 57 | 50 | |||
VSS | 8 | 6 | 4 | Digital Ground Pins | |
35 | 28 | 25 | |||
53 | 42 | 37 | |||
71 | 58 | 51 | |||
VOLTAGE REGULATOR CONTROL SIGNAL | |||||
VREGENZ | 73 | 60 | 53 | I | Internal voltage regulator (VREG) enable with internal pulldown. Tie directly to VSS (low) to enable the internal 1.8-V VREG. Tie directly to VDDIO (high) to disable the VREG and use an external 1.8-V supply. |
GPIO AND PERIPHERAL SIGNALS(2) | |||||
GPIO0 | 69 | 56 | 49 | I/O/Z | General-purpose input/output 0 |
EPWM1A | O | Enhanced PWM1 Output A and HRPWM channel | |||
– | – | – | |||
– | – | – | |||
GPIO1 | 68 | 55 | 48 | I/O/Z | General-purpose input/output 1 |
EPWM1B | O | Enhanced PWM1 Output B | |||
– | – | ||||
COMP1OUT | O | Direct output of Comparator 1 | |||
GPIO2 | 67 | 54 | 47 | I/O/Z | General-purpose input/output 2 |
EPWM2A | O | Enhanced PWM2 Output A and HRPWM channel | |||
– | – | ||||
– | – | ||||
GPIO3 | 66 | 53 | 46 | I/O/Z | General-purpose input/output 3 |
EPWM2B | O | Enhanced PWM2 Output B | |||
SPISOMIA | I/O | SPI-A slave out, master in | |||
COMP2OUT | O | Direct output of Comparator 2 | |||
GPIO4 | 63 | 51 | 45 | I/O/Z | General-purpose input/output 4 |
EPWM3A | O | Enhanced PWM3 output A and HRPWM channel | |||
– | – | ||||
– | – | ||||
GPIO5 | 62 | 50 | 44 | I/O/Z | General-purpose input/output 5 |
EPWM3B | O | Enhanced PWM3 output B | |||
SPISIMOA | I/O | SPI-A slave in, master out | |||
ECAP1 | I/O | Enhanced Capture input/output 1 | |||
GPIO6 | 50 | 39 | 34 | I/O/Z | General-purpose input/output 6 |
EPWM4A | O | Enhanced PWM4 output A and HRPWM channel | |||
EPWMSYNCI | I | External ePWM sync pulse input | |||
EPWMSYNCO | O | External ePWM sync pulse output | |||
GPIO7 | 49 | 38 | 33 | I/O/Z | General-purpose input/output 7 |
EPWM4B | O | Enhanced PWM4 output B | |||
SCIRXDA | I | SCI-A receive data | |||
– | – | ||||
GPIO8 | 43 | 35 | – | I/O/Z | General-purpose input/output 8 |
EPWM5A | O | Enhanced PWM5 output A and HRPWM channel | |||
– | – | ||||
ADCSOCAO | O | ADC start-of-conversion A | |||
GPIO9 | 39 | 31 | – | I/O/Z | General-purpose input/output 9 |
EPWM5B | O | Enhanced PWM5 output B | |||
LINTXA | O | LIN transmit A | |||
HRCAP1 | I | High-resolution input capture 1 | |||
GPIO10 | 65 | 52 | – | I/O/Z | General-purpose input/output 10 |
EPWM6A | O | Enhanced PWM6 output A and HRPWM channel | |||
– | – | ||||
ADCSOCBO | O | ADC start-of-conversion B | |||
GPIO11 | 61 | 49 | – | I/O/Z | General-purpose input/output 11 |
EPWM6B | O | Enhanced PWM6 output B | |||
LINRXA | I | LIN receive A | |||
HRCAP2 | I | High-resolution input capture 2 | |||
GPIO12 | 47 | 37 | 32 | I/O/Z | General-purpose input/output 12 |
TZ1 | I | Trip Zone input 1 | |||
SCITXDA | O | SCI-A transmit data | |||
SPISIMOB | I/O | SPI-B slave in, master out. NOTE: SPI-B is available only in the PN package. |
|||
GPIO13 | 76 | – | – | I/O/Z | General-purpose input/output 13 |
TZ2 | I | Trip Zone input 2 | |||
– | – | ||||
SPISOMIB | I/O | SPI-B slave out, master in | |||
GPIO14 | 77 | – | – | I/O/Z | General-purpose input/output 14 |
TZ3 | I | Trip zone input 3 | |||
LINTXA | O | LIN transmit | |||
SPICLKB | I/O | SPI-B clock input/output | |||
GPIO15 | 75 | – | – | I/O/Z | General-purpose input/output 15 |
TZ1 | I | Trip zone input 1 | |||
LINRXA | I | LIN receive | |||
SPISTEB | I/O | SPI-B slave transmit enable input/output | |||
GPIO16 | 46 | 36 | 31 | I/O/Z | General-purpose input/output 16 |
SPISIMOA | I/O | SPI-A slave in, master out | |||
– | – | ||||
TZ2 | I | Trip Zone input 2 | |||
GPIO17 | 42 | 34 | 30 | I/O/Z | General-purpose input/output 17 |
SPISOMIA | I/O | SPI-A slave out, master in | |||
– | – | ||||
TZ3 | I | Trip zone input 3 | |||
GPIO18 | 41 | 33 | 29 | I/O/Z | General-purpose input/output 18 |
SPICLKA | I/O | SPI-A clock input/output | |||
LINTXA | O | LIN transmit | |||
XCLKOUT | O/Z | Output clock derived from SYSCLKOUT. XCLKOUT is either the same frequency, one-half the frequency, or one-fourth the frequency of SYSCLKOUT. This is controlled by bits 1:0 (XCLKOUTDIV) in the XCLK register. At reset, XCLKOUT = SYSCLKOUT/4. The XCLKOUT signal can be turned off by setting XCLKOUTDIV to 3. The mux control for GPIO18 must also be set to XCLKOUT for this signal to propagate to the pin. | |||
GPIO19 | 55 | 44 | 39 | I/O/Z | General-purpose input/output 19 |
XCLKIN | External Oscillator Input. The path from this pin to the clock block is not gated by the mux function of this pin. Care must be taken not to enable this path for clocking if it is being used for the other peripheral functions | ||||
SPISTEA | I/O | SPI-A slave transmit enable input/output | |||
LINRXA | I | LIN receive | |||
ECAP1 | I/O | Enhanced Capture input/output 1 | |||
GPIO20 | 78 | 62 | 55 | I/O/Z | General-purpose input/output 20 |
EQEP1A | I | Enhanced QEP1 input A | |||
– | – | ||||
COMP1OUT | O | Direct output of Comparator 1 | |||
GPIO21 | 79 | 63 | 56 | I/O/Z | General-purpose input/output 21 |
EQEP1B | I | Enhanced QEP1 input B | |||
– | – | ||||
COMP2OUT | O | Direct output of Comparator 2 | |||
GPIO22 | 1 | 1 | 1 | I/O/Z | General-purpose input/output 22 |
EQEP1S | I/O | Enhanced QEP1 strobe | |||
– | – | ||||
LINTXA | O | LIN transmit | |||
GPIO23 | 4 | 4 | 2 | I/O/Z | General-purpose input/output 23 |
EQEP1I | I/O | Enhanced QEP1 index | |||
– | – | ||||
LINRXA | I | LIN receive | |||
GPIO24 | 80 | 64 | – | I/O/Z | General-purpose input/output 24 |
ECAP1 | See GPIO5 and GPIO19 | I/O | Enhanced Capture input/output 1 | ||
– | – | ||||
SPISIMOB | I/O | SPI-B slave in, master out. NOTE: SPI-B is available only in the PN and RSH packages. |
|||
GPIO25 | 44 | – | – | I/O/Z | General-purpose input/output 25 |
– | – | ||||
– | – | ||||
SPISOMIB | I/O | SPI-B slave out, master in | |||
GPIO26 | 37 | – | – | I/O/Z | General-purpose input/output 26 |
HRCAP1 | I | High-resolution input capture 1 | |||
– | – | ||||
SPICLKB | I/O | SPI-B clock input/output | |||
GPIO27 | 31 | – | – | I/O/Z | General-purpose input/output 27 |
HRCAP2 | I | High-resolution input capture 2 | |||
– | – | ||||
SPISTEB | I/O | SPI-B slave transmit enable input/output | |||
GPIO28 | 40 | 32 | 28 | I/O/Z | General-purpose input/output 28 |
SCIRXDA | I | SCI receive data | |||
SDAA | I/OD | I2C data open-drain bidirectional port | |||
TZ2 | I | Trip zone input 2 | |||
GPIO29 | 34 | 27 | 24 | I/O/Z | General-purpose input/output 29 |
SCITXDA | O | SCI transmit data | |||
SCLA | I/OD | I2C clock open-drain bidirectional port | |||
TZ3 | I | Trip zone input 3 | |||
GPIO30 | 33 | 26 | 23 | I/O/Z | General-purpose input/output 30 |
CANRXA | I | CAN receive | |||
– | – | ||||
– | – | ||||
GPIO31 | 32 | 25 | 22 | I/O/Z | General-purpose input/output 31 |
CANTXA | O | CAN transmit | |||
– | – | ||||
– | – | ||||
GPIO32 | 2 | 2 | – | I/O/Z | General-purpose input/output 32 |
SDAA | I/OD | I2C data open-drain bidirectional port | |||
EPWMSYNCI | I | Enhanced PWM external sync pulse input | |||
ADCSOCAO | O | ADC start-of-conversion A | |||
GPIO33 | 3 | 3 | – | I/O/Z | General-Purpose Input/Output 33 |
SCLA | I/OD | I2C clock open-drain bidirectional port | |||
EPWMSYNCO | O | Enhanced PWM external synch pulse output | |||
ADCSOCBO | O | ADC start-of-conversion B | |||
GPIO34 | 74 | 61 | 54 | I/O/Z | General-Purpose Input/Output 34 |
COMP2OUT | O | Direct output of Comparator 2 | |||
– | – | ||||
COMP3OUT | O | Direct output of Comparator 3 | |||
GPIO35 | 59 | 47 | 42 | I/O/Z | General-Purpose Input/Output 35 |
TDI | I | JTAG test data input (TDI) with internal pullup. TDI is clocked into the selected register (instruction or data) on a rising edge of TCK | |||
GPIO36 | 60 | 48 | 43 | I/O/Z | General-Purpose Input/Output 36 |
TMS | I | JTAG test-mode select (TMS) with internal pullup. This serial control input is clocked into the TAP controller on the rising edge of TCK. | |||
GPIO37 | 58 | 46 | 41 | I/O/Z | General-Purpose Input/Output 37 |
TDO | O/Z | JTAG scan out, test data output (TDO). The contents of the selected register (instruction or data) are shifted out of TDO on the falling edge of TCK (8 mA drive) | |||
GPIO38 | 57 | 45 | 40 | I/O/Z | General-Purpose Input/Output 38 |
TCK | I | JTAG test clock with internal pullup | |||
XCLKIN | I | External Oscillator Input. The path from this pin to the clock block is not gated by the mux function of this pin. Care must be taken to not enable this path for clocking if it is being used for the other functions. | |||
– | – | ||||
GPIO39 | 56 | – | – | I/O/Z | General-Purpose Input/Output 39 |
– | – | ||||
– | – | ||||
– | – | ||||
GPIO40 | 64 | – | – | I/O/Z | General-Purpose Input/Output 40 |
EPWM7A | O | Enhanced PWM7 output A and HRPWM channel | |||
– | – | ||||
– | – | ||||
GPIO41 | 48 | – | – | I/O/Z | General-Purpose Input/Output 41 |
EPWM7B | O | Enhanced PWM7 output B | |||
– | – | ||||
– | – | ||||
GPIO42 | 5 | – | – | I/O/Z | General-Purpose Input/Output 42 |
– | – | ||||
– | – | ||||
COMP1OUT | O | Direct output of Comparator 1 | |||
GPIO43 | 6 | – | – | I/O/Z | General-Purpose Input/Output 43 |
– | – | ||||
– | – | ||||
COMP2OUT | O | Direct output of Comparator 2 | |||
GPIO44 | 45 | – | – | I/O/Z | General-Purpose Input/Output 44 |
– | – | ||||
– | – | ||||
– | – |