TXZ+ Family TMPM4N Group(1) Input/Output Ports Contents Preface ................................. 5 Related document ..............................5 Conventions ................................6 Terms and Abbreviations ............................8 Outlines ................................. 9 Function ..............................11 2.1. Clock supply ..............................11 Signal connection list ..........................12 Registers ..............................33 4.1.
Page 3
TXZ+ Family TMPM4N Group(1) Input/Output Ports 5.8. Type FTU10 ..............................76 5.9. Type FTU13 ..............................77 5.10. Type FTU14 ..............................78 5.11. Type FTU15 ..............................79 Precaution ..............................80 6.1. Pin status during the reset period ........................80 6.2. Unused pins ..............................80 6.3.
Page 4
TXZ+ Family TMPM4N Group(1) Input/Output Ports List of Tables Table 1.1 Features ............................. 9 Table 3.1 Signal connection list (1/21) ..................... 12 Table 3.2 Signal connection list (2/21) ..................... 13 Table 3.3 Signal connection list (3/21) ..................... 14 Table 3.4 Signal connection list (4/21) ..................... 15 Table 3.5 Signal connection list (5/21) .....................
TXZ+ Family TMPM4N Group(1) Input/Output Ports Preface Related document Document name Product Information Clock Control and Operation Mode Exception Flash Memory 8-bit Digital to Analog Convertor C Interface C Interface Version A S Interface Serial Peripheral Interface Synchronous Serial interface CAN Controller Universal Serial Bus Ethernet Mac...
TXZ+ Family TMPM4N Group(1) Input/Output Ports Conventions ● Numeric formats follow the rules as shown below: Hexadecimal: 0xABC Decimal: 123 or 0d123 – Only when it needs to be explicitly shown that they are decimal numbers. Binary: 0b111 – It is possible to omit the "0b" when the number of bit can be distinctly understood from a sentence.
Page 7
TXZ+ Family TMPM4N Group(1) Input/Output Ports All other company names, product names, and service names mentioned herein may be trademarks of their respective companies. 2021-01-18 7 / 82 Rev. 1.0...
TXZ+ Family TMPM4N Group(1) Input/Output Ports Terms and Abbreviations Some of abbreviations used in this document are as follows: Controller Area Network Consumer Electronics Control Direct Memory Access Inter-Integrated Circuit Inter-IC Sound JTAG Joint Test Action Group NBDIF Non Break Debug Interface PORF Power On Reset Circuit for FLASH and debug Serial Wire...
TXZ+ Family TMPM4N Group(1) Input/Output Ports 1. Outlines It is described about the register and setting of port. A list of the functions is indicated below. Table 1.1 Features Function Function Description Classification Programmable pull-up /Programmable pull-down /Open-drain output Port are possible.
Page 10
TXZ+ Family TMPM4N Group(1) Input/Output Ports Function Function Description Classification Test select input pin, Serial clock input pin, Serial data output pin, JTAG Serial data input pin, Test reset pin Serial wire data input/output pin, Serial wire clock input pin, Serial wire viewer output pin Debug pins Trace...
TXZ+ Family TMPM4N Group(1) Input/Output Ports 2. Function 2.1. Clock supply When PORT is used, the corresponding clock enable bits should be set to "1" (Clock supply) in fsys supply stop register A ([CGFSYSENA] and [CGFSYSMENA]), fsys supply stop register B ([CGFSYSENB] and [CGFSYSMENB]), fsys supply stop register C ([CGFSYSMENC]), and fc supply stop register ([CGFCEN]).
TXZ+ Family TMPM4N Group(1) Input/Output Ports 3. Signal connection list The function pins are sorted by the signal name of the block diagram which is described in each reference manual in this table. Register setting of the peripheral function is explained in the order of port, so please use for a reverse lookup of port name.
TXZ+ Family TMPM4N Group(1) Input/Output Ports Table 3.2 Signal connection list (2/21) Function pin Port M4NR M4NQ M4NN M4NR M4NQ Related Reference Manual name name (LQFP176) (LQFP144) (LQFP100) (BGA177) (BGA145) UT3RXD UT3TXDA UT3CTS_N UT3RTS_N UT4RXD Asynchronous Serial UT4TXDA Communication Circuit UT4CTS_N UT4RTS_N UT5RXD...
TXZ+ Family TMPM4N Group(1) Input/Output Ports Table 3.3 Signal connection list (3/21) Function pin Port M4NR M4NQ M4NN M4NR M4NQ Related Reference Manual name name (LQFP176) (LQFP144) (LQFP100) (BGA177) (BGA145) FUT0RXD FUT0TXD FUT0CTS_N FUT0RTS_N FUT0IROUT FUT0IRIN Full Asynchronous Serial Communication Circuit FUT1RXD FUT1TXD FUT1CTS_N...
TXZ+ Family TMPM4N Group(1) Input/Output Ports Table 3.6 Signal connection list (6/21) Function pin Port M4NR M4NQ M4NN M4NR M4NQ Related Reference Manual name name (LQFP176) (LQFP144) (LQFP100) (BGA177) (BGA145) TSSI0TCK TSSI0TFS TSSI0TXD TSSI0RCK TSSI0RFS TSSI0RXD Synchronous Serial interface TSSI1TCK TSSI1TFS TSSI1TXD TSSI1RCK...
TXZ+ Family TMPM4N Group(1) Input/Output Ports Table 3.7 Signal connection list (7/21) Function pin Port M4NR M4NQ M4NN M4NR M4NQ Related Reference Manual name name (LQFP176) (LQFP144) (LQFP100) (BGA177) (BGA145) I2S0MCLK I2S0LRCK I2S0BCK I2S0DO I2S0DI S Interface I2S1MCLK I2S1LRCK I2S1BCK I2S1DO I2S1DI 2021-01-18...
TXZ+ Family TMPM4N Group(1) Input/Output Ports Table 3.8 Signal connection list (8/21) Function pin Port M4NR M4NQ M4NN M4NR M4NQ Related Reference Manual name name (LQFP176) (LQFP144) (LQFP100) (BGA177) (BGA145) CANARX CANATX CAN Controller CANBRX CANBTX USBA_SOF_TGL USBA_ID USBA_VBUSEN USBA_DP USBA_DM USBA_VBUS Universal Serial Bus...
TXZ+ Family TMPM4N Group(1) Input/Output Ports Table 3.16 Signal connection list (16/21) Function pin Port M4NR M4NQ M4NN M4NR M4NQ Related Reference Manual name name (LQFP176) (LQFP144) (LQFP100) (BGA177) (BGA145) EA00 EA01 EA02 EA03 EA04 EA05 EA06 EA07 EA08 EA09 EA10 EA11 External Bus Interface...
TXZ+ Family TMPM4N Group(1) Input/Output Ports Table 3.18 Signal connection list (18/21) Function pin Port M4NR M4NQ M4NN M4NR M4NQ Related Reference Manual name name (LQFP176) (LQFP144) (LQFP100) (BGA177) (BGA145) AINA00 AINA01 AINA02 AINA03 AINA04 AINA05 AINA06 AINA07 AINA08 AINA09 AINA10 AINA11 12-bit Analog to Digital...
TXZ+ Family TMPM4N Group(1) Input/Output Ports Table 3.20 Signal connection list (20/21) Function pin Port M4NR M4NQ M4NN M4NR M4NQ Related Reference Manual name name (LQFP176) (LQFP144) (LQFP100) (BGA177) (BGA145) EMG0 OVV0 Advanced Programmable Motor Control Circuit Consumer Electronics Control CEC0 ALARM_N Real Time Clock RTCOUT...
TXZ+ Family TMPM4N Group(1) Input/Output Ports 4. Registers The following registers should be set appropriately to use the ports. Each register is 32 bits. The configuration of the register depends on the port count and its function assignment. "x" and "n" in the following table show a port name and a function number, respectively. Register Name Type Setting Value...
TXZ+ Family TMPM4N Group(1) Input/Output Ports 4.1. List of Register When the bit which is assigned to no functions is read, "0" is returned. The write to the bit is ignored. Table 4.1 Ports base address Peripheral function Channel/Unit Base address 0x400E0000 0x400E0100 0x400E0200...
TXZ+ Family TMPM4N Group(1) Input/Output Ports Table 4.2 Register List Address Register Name Port A Port B Port C Port D Port E (Base+) Data Register 0x0000 [PADATA] [PBDATA] [PCDATA] [PDDATA] [PEDATA] Output Control Register 0x0004 [PACR] [PBCR] [PCCR] [PDCR] [PECR] Function Register 1 0x0008...
Page 36
TXZ+ Family TMPM4N Group(1) Input/Output Ports Address Register Name Port L Port M Port N Port P Port R (Base+) Data Register 0x0000 [PLDATA] [PMDATA] [PNDATA] [PPDATA] [PRDATA] Output Control Register 0x0004 [PLCR] [PMCR] [PNCR] [PPCR] [PRCR] Function Register 1 0x0008 [PLFR1] [PMFR1]...
TXZ+ Family TMPM4N Group(1) Input/Output Ports 4.2. List of Port Functions and Settings It is explained about the viewpoint of a port register setting table. The column of [PxFRn] shows the function register which should be set. When this register is set to "1", the corresponding function is enabled.
TXZ+ Family TMPM4N Group(1) Input/Output Ports 4.2.2. PORT A Table 4.3 Port A registers setting Reset status Control register PORT PORT Input/Output Function Type [PADATA] [PACR] [PAFRn] [PAOD] [PAPUP] [PAPDN] [PAIE] After reset Input Port Input Output Port Output INT02a Input FTU4 EA00...
Page 39
TXZ+ Family TMPM4N Group(1) Input/Output Ports After reset Input Port Input Output Port Output EA06 Output FTU1 [PAFR1] T32A01OUTB Output FTU1 [PAFR3] TSPI0CS3 Output FTU1 [PAFR6] Input [PAFR7] TSPI2SCK FTU1 Output [PAFR7] EMAPPSOUT1 Output FTU1 [PAFR8] After reset Input Port Input Output Port Output...
TXZ+ Family TMPM4N Group(1) Input/Output Ports 4.2.3. PORT B Table 4.4 Port B registers setting Reset status Control register PORT PORT Input/Output Function Type [PBDATA] [PBCR] [PBFRn] [PBOD] [PBPUP] [PBPDN] [PBIE] After reset Input Port Input Output Port Output INT04a Input FTU4 EA08...
TXZ+ Family TMPM4N Group(1) Input/Output Ports 4.2.4. PORT C Table 4.5 Port C registers setting Reset status Control register PORT PORT Input/Output Function Type [PCDATA] [PCCR] [PCFRn] [PCOD] [PCPUP] [PCPDN] [PCIE] After reset Input Port Input Output Port Output EA20 Output FTU1 [PCFR1]...
TXZ+ Family TMPM4N Group(1) Input/Output Ports 4.2.5. PORT D Table 4.6 Port D registers setting Reset status Control register PORT PORT Input/Output Function Type [PDDATA] [PDCR] [PDFRn] [PDOD] [PDPUP] [PDPDN] [PDIE] After reset Input Port Input Output Port Output ED00/EAD00 FTU14 [PDFR1] T32A04INB1...
Page 43
TXZ+ Family TMPM4N Group(1) Input/Output Ports After reset Input Port Input Output Port Output ED05/EAD05 FTU14 [PDFR1] T32A05OUTB Output FTU1 [PDFR3] Input [PDFR6] I2S0BCK FTU2 Output [PDFR6] Output FTU2 [PDFR7] TSSI0RXD Input FTU1 [PDFR8] After reset Input Port Input Output Port Output ED06/EAD06 FTU14...
TXZ+ Family TMPM4N Group(1) Input/Output Ports 4.2.6. PORT E Table 4.7 Port E registers setting Reset status Control register PORT PORT Input/Output Function Type [PEDATA] [PECR] [PEFRn] [PEOD] [PEPUP] [PEPDN] [PEIE] After reset Input Port Input Output Port Output ED08/EAD08 FTU14 [PEFR1] T32A06INB1...
Page 45
TXZ+ Family TMPM4N Group(1) Input/Output Ports After reset Input Port Input Output Port Output ED13/EAD13 FTU14 [PEFR1] T32A07INB0 Input FTU1 [PEFR3] EA18 Output FTU1 [PEFR4] T32A07INC1 Input FTU1 [PEFR5] I2S1DI Input FTU1 [PEFR6] ISDAIN1 Input FTU15 EA10 Output FTU1 [PEFR8] After reset Input Port Input...
TXZ+ Family TMPM4N Group(1) Input/Output Ports 4.2.7. PORT F Table 4.8 Port F registers setting Reset status Control register PORT PORT Input/Output Function Type [PFDATA] [PFCR] [PFFRn] [PFOD] [PFPUP] [PFPDN] [PFIE] After reset Input Port Input Output Port Output INT04b Input FTU4 ERD_N...
TXZ+ Family TMPM4N Group(1) Input/Output Ports 4.2.8. PORT G Table 4.9 Port G registers setting Reset status Control register PORT PORT Input/Output Function Type [PGDATA] [PGCR] [PGFRn] [PGOD] [PGPUP] [PGPDN] [PGIE] After reset Input Port Input Output Port Output INT08a Input FTU4 EALE...
Page 48
TXZ+ Family TMPM4N Group(1) Input/Output Ports After reset Input Port Input Output Port Output T32A02OUTA Output FTU1 [PGFR2] T32A02OUTC Output FTU1 [PGFR3] FUT0IRIN Input FTU1 [PGFR4] FUT0RXD Input FTU1 [PGFR5] EI2C2SCL FTU1 [PGFR6] I2C2SCL FTU1 [PGFR7] EMARXD3 Input FTU1 [PGFR8] After reset Input Port Input...
TXZ+ Family TMPM4N Group(1) Input/Output Ports 4.2.9. PORT H Table 4.10 Port H registers setting Reset status Control register PORT PORT Input/Output Function Type [PHDATA] [PHCR] [PHFRn] [PHOD] [PHPUP] [PHPDN] [PHIE] After reset Input Port Input Output Port Output TRACEDATA1 Output FTU1 [PHFR1]...
TXZ+ Family TMPM4N Group(1) Input/Output Ports 4.2.10. PORT J Table 4.11 Port J registers setting Reset status Control register PORT PORT Input/Output Function Type [PJDATA] [PJCR] [PJFRn] [PJOD] [PJPUP] [PJPDN] [PJIE] After reset Input Port Input Output Port Output UT5RXD Input FTU1 [PJFR3]...
TXZ+ Family TMPM4N Group(1) Input/Output Ports 4.2.11. PORT K Table 4.12 Port K registers setting Reset status Control register PORT PORT Input/Output Function Type [PKDATA] [PKCR] [PKFRn] [PKOD] [PKPUP] [PKPDN] [PKIE] After reset Input Port Input Output Port Output INT10a Input FTU4 ISDAOUT...
Page 52
TXZ+ Family TMPM4N Group(1) Input/Output Ports After reset Input Port Input Output Port Output TSPI1CS3 Output FTU1 [PKFR1] T32A01INA0 Input FTU1 [PKFR2] T32A01INC0 Input FTU1 [PKFR3] Input [PKFR4] TSPI3SCK FTU1 Output [PKFR4] SMI0CLK Output FTU2 [PKFR6] EMATXD2 Output FTU1 [PKFR8] After reset Input Port Input...
TXZ+ Family TMPM4N Group(1) Input/Output Ports 4.2.12. PORT L Table 4.13 Port L registers setting Reset status Control register PORT PORT Input/Output Function Type [PLDATA] [PLCR] [PLFRn] [PLOD] [PLPUP] [PLPDN] [PLIE] After reset Input Port Input Output Port Output INT01a Input FTU4 T32A02INA0...
Page 54
TXZ+ Family TMPM4N Group(1) Input/Output Ports After reset Input Port Input Output Port Output INT03b Input FTU4 T32A09OUTA Output FTU1 [PLFR2] T32A09OUTC Output FTU1 [PLFR3] After reset Input Port Input Output Port Output TRGIN1 Input FTU1 [PLFR1] T32A09OUTB Output FTU1 [PLFR2] 2021-01-18 54 / 82...
TXZ+ Family TMPM4N Group(1) Input/Output Ports 4.2.13. PORT M Table 4.14 Port M registers setting Reset status Control register PORT PORT Input/Output Function Type [PMDATA] [PMCR] [PMFRn] [PMOD] [PMPUP] [PMPDN] [PMIE] After reset Input Port Input Output Port Output EI2C3SDA FTU1 [PMFR1] I2C3SDA...
Page 56
TXZ+ Family TMPM4N Group(1) Input/Output Ports After reset Input Port Input Output Port Output T32A06OUTA Output FTU1 [PMFR2] T32A06OUTC Output FTU1 [PMFR3] Input [PMFR6] TSPI7SCK FTU1 Output [PMFR6] FUT1RTS_N Output FTU1 [PMFR7] After reset Input Port Input Output Port Output EI2C4SDA FTU1 [PMFR1]...
TXZ+ Family TMPM4N Group(1) Input/Output Ports 4.2.14. PORT N Table 4.15 Port N registers setting Reset status Control register PORT PORT Input/Output Function Type [PNDATA] [PNCR] [PNFRn] [PNOD] [PNPUP] [PNPDN] [PNIE] After reset Input Port Input Output Port Output AINA00 (Note) Input FTU5 After reset...
TXZ+ Family TMPM4N Group(1) Input/Output Ports 4.2.15. PORT P Table 4.16 Port P registers setting Reset status Control register PORT PORT Input/Output Function Type [PPDATA] [PPCR] [PPFRn] [PPOD] [PPPUP] [PPPDN] [PPIE] After reset Input Port Input Output Port Output AINA08 (Note) Input FTU5 T32A04INA0...
Page 59
TXZ+ Family TMPM4N Group(1) Input/Output Ports After reset Input Port Input Output Port Output AINA15 (Note) Input FTU5 INT11b Input FTU4 T32A07INB0 Input FTU1 [PPFR2] T32A07INC1 Input FTU1 [PPFR3] T32A07INA1 Input FTU1 [PPFR5] Note: When using analog input (AINAx), [PPCR] should be output disable "0", [PPIE] should be input disable "0", [PPPUP] should be pull-up disable "0"...
TXZ+ Family TMPM4N Group(1) Input/Output Ports 4.2.16. PORT R Table 4.17 Port R registers setting Reset status Control register PORT PORT Input/Output Function Type [PRDATA] [PRCR] [PRFRn] [PROD] [PRPUP] [PRPDN] [PRIE] After reset Input Port Input Output Port Output AINA16 (Note) Input FTU5 T32A08INA0...
TXZ+ Family TMPM4N Group(1) Input/Output Ports 4.2.17. PORT T Table 4.18 Port T registers setting Reset status Control register PORT PORT Input/Output Function Type [PTDATA] [PTCR] [PTFRn] [PTOD] [PTPUP] [PTPDN] [PTIE] After reset Input Port Input Output Port Output DAC0 (Note) Output FTU13 After reset...
TXZ+ Family TMPM4N Group(1) Input/Output Ports 4.2.18. PORT U Table 4.19 Port U registers setting Reset status Control register PORT PORT Input/Output Function Type [PUDATA] [PUCR] [PUFRn] [PUOD] [PUPUP] [PUPDN] [PUIE] After reset Input Port Input Output Port Output T32A12OUTA Output FTU1 [PUFR2]...
Page 63
TXZ+ Family TMPM4N Group(1) Input/Output Ports After reset Input Port Input Output Port Output T32A13OUTA Output FTU1 [PUFR2] T32A13OUTC Output FTU1 [PUFR3] Input [PUFR6] TSSI1RFS FTU2 Output [PUFR6] UT3RXD Input FTU1 [PUFR7] CANBRX Input FTU1 [PUFR8] After reset Input Port Input Output Port Output...
TXZ+ Family TMPM4N Group(1) Input/Output Ports 4.2.19. PORT V Table 4.20 Port V registers setting Reset status Control register PORT PORT Input/Output Function Type [PVDATA] [PVCR] [PVFRn] [PVOD] [PVPUP] [PVPDN] [PVIE] After reset Input Port Input Output Port Output T32A09INA0 Input FTU1 [PVFR2]...
TXZ+ Family TMPM4N Group(1) Input/Output Ports 4.2.20. PORT W Table 4.21 Port W registers setting Reset status Control register PORT PORT Input/Output Function Type [PWDATA] [PWCR] [PWFRn] [PWOD] [PWPUP] [PWPDN] [PWIE] After reset Input Port Input Output Port Output TSPI8CS0 Output FTU1 [PWFR4]...
TXZ+ Family TMPM4N Group(1) Input/Output Ports 4.2.21. PORT Y Table 4.22 Port Y registers setting Reset status Control register PORT PORT Input/Output Function Type [PYDATA] [PYCR] [PYFRn] [PYOD] [PYPUP] [PYPDN] [PYIE] After reset Input Port Input Input FTU10 EHCLKIN Input FTU10 After reset Input Port...
TXZ+ Family TMPM4N Group(1) Input/Output Ports 5. Block Diagrams of Ports The ports have some types of circuits, FTU1 to FTU6, FTU10, FTU13 to FTU15. Each circuit diagram is shown in the following pages. The dot line block shows an equivalent circuit which is described in "Datasheet". The "I/O Reset"...
TXZ+ Family TMPM4N Group(1) Input/Output Ports 5.4. Type FTU3 <PTKEEP> I/O reset [PxPUP] (Pull-up control) [PxPDN] (Pull-down control) [PxCR] (Output control) [PxFRn] (Function control) Port [PxDATA] Input/Output (Output latch) [PxOD] (Open-drain control) [PxIE] (Input control) Port read Noise filter Function input (30ns Typ.) Figure 5.4 Port Type FTU3 Note: There is no noise filter for NBDCLK and NBDSYNC pins.
TXZ+ Family TMPM4N Group(1) Input/Output Ports 5.10. Type FTU14 <PTKEEP> [PxPUP] (Pull-up control) [PxPDN] (Pull-down control) [PxCR] (Output control) Output control enable [PxFRn] (Function control) Function output Port [PxDATA] Input/Output (Output latch) [PxOD] (Open-drain control) [PxIE] (Input control) Port read Function input Function input enable Figure 5.10 Port Type FTU14...
TXZ+ Family TMPM4N Group(1) Input/Output Ports 6. Precaution 6.1. Pin status during the reset period During the reset period, the pin status is high impedance except for below pins. And, the pull-up/pull-down is invalid. ‒ The debug interface alternate pins (PH3 to PH7) are debug pin status. ‒...
Before customers use the Product, create designs including the Product, or incorporate the Product into their own applications, customers must also refer to and comply with (a) the latest versions of all relevant TOSHIBA information, including without limitation, this document, the specifications, the data sheets and application notes for Product and the precautions and conditions set forth in the "TOSHIBA Semiconductor Reliability Handbook"...