PIC32CM2532JH01032 SERCOM3 registers

The 43 registers of SERCOM3 (Serial Communication Interface), from 0x42001000, with their reset value and every field. The PIC32CM2532JH01032 has 1128 registers in 48 peripherals, one page each.

SERCOM3 Serial Communication Interface

I2CM.CTRLAI2CM Control A

Address
0x42001000
Reset
0x00000000
Access
read/write
Size
32-bit
12 fields
FieldBitsWhat it does
LOWTOUTEN30SCL Low Time-Out
INACTOUT29:28Inactive Time-Out
  • 0 Disabled
  • 1 5-6 SCL cycle time-out (50-60 us)
  • 2 10-11 SCL cycle time-out (100-110 us)
  • 3 20-21 SCL cycle time-out (200-210 us)
SCLSM27SCL Clock Stretch Mode
SPEED25:24Transfer Speed
  • 0 Standard-mode (Sm) and Fast-mode (Fm)
  • 1 Fast-mode Plus (Fm+)
SEXTTOEN23Client SCL Low Extend Time-Out
MEXTTOEN22Host SCL Low Extend Time-Out
SDAHOLD21:20SDA Hold Time
  • 0 SDA hold time is disabled
  • 1 SDA hold time is 50-100 ns
  • 2 SDA hold time is 300-600 ns
  • 3 SDA hold time is 400-800 ns
PINOUT16Pin Usage
RUNSTDBY7Run in Standby
MODE4:2Operating Mode
  • 0 USART with external clock
  • 1 USART with internal clock
  • 2 SPI Client mode
  • 3 SPI Host mode
  • 4 I2C Client mode
  • 5 I2C Host mode
ENABLE1Enable
SWRST0Software Reset

I2CS.CTRLAI2CS Control A

Address
0x42001000
Reset
0x00000000
Access
read/write
Size
32-bit
10 fields
FieldBitsWhat it does
LOWTOUTEN30SCL Low Time-Out
SCLSM27SCL Clock Stretch Mode
SPEED25:24Transfer Speed
  • 0 Standard-mode (Sm) and Fast-mode (Fm)
  • 1 Fast-mode Plus (Fm+)
SEXTTOEN23Client SCL Low Extend Time-Out
SDAHOLD21:20SDA Hold Time
  • 0 Disabled
  • 1 50-100 ns hold time
  • 2 300-600 ns hold time
  • 3 400-800 ns hold time
PINOUT16Pin Usage
RUNSTDBY7Run in Standby
MODE4:2Operating Mode
  • 0 USART with external clock
  • 1 USART with internal clock
  • 2 SPI Client mode
  • 3 SPI Host mode
  • 4 I2C Client mode
  • 5 I2C Host mode
ENABLE1Enable
SWRST0Software Reset

SPI.CTRLASPI Control A

Address
0x42001000
Reset
0x00000000
Access
read/write
Size
32-bit
11 fields
FieldBitsWhat it does
DORD30Data Order
  • 0 MSb is transferred first
  • 1 LSb is transferred first
CPOL29Clock Polarity
  • 0 SCK is low when IDLE. The leading edge of a clock cycle is a rising edge, while the trailing edge is a falling edge.
  • 1 SCK is high when IDLE. The leading edge of a clock cycle is a falling edge, while the trailing edge is a rising edge.
CPHA28Clock Phase
  • 0 The data is sampled on a leading SCK edge and changed on a trailing SCK edge
  • 1 The data is sampled on a trailing SCK edge and changed on a leading SCK edge
FORM27:24Frame Format
  • 0 SPI Frame
  • 2 SPI Frame with Address
DIPO21:20Data In Pinout
  • 0 SERCOM PAD[0] is used as data input
  • 1 SERCOM PAD[1] is used as data input
  • 2 SERCOM PAD[2] is used as data input
  • 3 SERCOM PAD[3] is used as data input
DOPO17:16Data Out Pinout
  • 0 PAD[0]=DO, PAD[1]=SCK, PAD[2]=SS
  • 1 PAD[2]=DO, PAD[3]=SCK, PAD[1]=SS
  • 2 PAD[3]=DO, PAD[1]=SCK, PAD[2]=SS
  • 3 PAD[0]=DO, PAD[3]=SCK, PAD[1]=SS
IBON8Immediate Buffer Overflow Notification
RUNSTDBY7Run In Standby
MODE4:2Operating Mode
  • 0 USART with external clock
  • 1 USART with internal clock
  • 2 SPI Client mode
  • 3 SPI Host mode
  • 4 I2C Client mode
  • 5 I2C Host mode
ENABLE1Enable
SWRST0Software Reset

USART.CTRLAUSART Control A

Address
0x42001000
Reset
0x00000000
Access
read/write
Size
32-bit
13 fields
FieldBitsWhat it does
DORD30Data Order
  • 0 MSb is transferred first
  • 1 LSb is transferred first
CPOL29Clock Polarity
  • 0 TxD Change: Rising XCK edge, RxD Sample: Falling XCK edge
  • 1 TxD Change: Falling XCK edge, RxD Sample: Rising XCK edge
CMODE28Communication Mode
  • 0 Asynchronous communication
  • 1 Synchronous communication
FORM27:24Frame Format
  • 0 USART frame
  • 1 USART frame with parity
  • 2 LIN Host - Break and sync generation. See LIN Command (CTRLB.LINCMD).
  • 4 Auto-baud (LIN Client) - break detection and auto-baud
  • 5 Auto-baud - break detection and auto-baud with parity
SAMPA23:22Sample Adjustment
  • 0 16x Over-sampling = 7-8-9; 8x Over-sampling = 3-4-5
  • 1 16x Over-sampling = 9-10-11; 8x Over-sampling = 4-5-6
  • 2 16x Over-sampling = 11-12-13; 8x Over-sampling = 5-6-7
  • 3 16x Over-sampling = 13-14-15; 8x Over-sampling = 6-7-8
RXPO21:20Receive Data Pinout
  • 0 SERCOM PAD[0] is used for data reception
  • 1 SERCOM PAD[1] is used for data reception
  • 2 SERCOM PAD[2] is used for data reception
  • 3 SERCOM PAD[3] is used for data reception
TXPO17:16Transmit Data Pinout
  • 0 PAD[0]=TxD, PAD[1]=XCK
  • 1 PAD[2]=TxD, PAD[3]=XCK
  • 2 PAD[0]=TxD, PAD[2]=RTS/TE, PAD[3]=CTS
  • 3 PAD[0]=TxD, PAD[1]=XCK, PAD[2]=RTS/TE
SAMPR15:13Sample Rate
  • 0 16x over-sampling using arithmetic baud rate generation
  • 1 16x over-sampling using fractional baud rate generation
  • 2 8x over-sampling using arithmetic baud rate generation
  • 3 8x over-sampling using fractional baud rate generation
  • 4 3x over-sampling using arithmetic baud rate generation
IBON8Immediate Buffer Overflow Notification
RUNSTDBY7Run In Standby
MODE4:2Operating Mode
  • 0 USART with external clock
  • 1 USART with internal clock
  • 2 SPI Client mode
  • 3 SPI Host mode
  • 4 I2C Client mode
  • 5 I2C Host mode
ENABLE1Enable
SWRST0Software Reset

I2CM.CTRLBI2CM Control B

Address
0x42001004
Reset
0x00000000
Access
read/write
Size
32-bit
4 fields
FieldBitsWhat it does
ACKACT18Acknowledge Action
CMD17:16Command
QCEN9Quick Command Enable
SMEN8Smart Mode Enable

I2CS.CTRLBI2CS Control B

Address
0x42001004
Reset
0x00000000
Access
read/write
Size
32-bit
6 fields
FieldBitsWhat it does
ACKACT18Acknowledge Action
CMD17:16Command
AMODE15:14Address Mode
  • 0 The client responds to the address written in ADDR.ADDR masked by the value in ADDR.ADDRMASK. See SERCOM - Serial Communication Interface for additional information.
  • 1 The client responds to the two unique addresses in ADDR.ADDR and ADDR.ADDRMASK
  • 2 The client responds to the range of addresses between and including ADDR.ADDR and ADDR.ADDRMASK. ADDR.ADDR is the upper limit.
AACKEN10Automatic Acknowledge Enable
GCMD9PMBus Group Command
SMEN8Smart Mode Enable

SPI.CTRLBSPI Control B

Address
0x42001004
Reset
0x00000000
Access
read/write
Size
32-bit
6 fields
FieldBitsWhat it does
RXEN17Receiver Enable
AMODE15:14Address Mode
  • 0 ADDRMASK is used as a mask to the ADDR register
  • 1 The client responds to the two unique addresses in ADDR and ADDRMASK
  • 2 The client responds to the range of addresses between and including ADDR and ADDRMASK with ADDR as the upper limit
MSSEN13Host SPI Select Enable
SSDE9SPI Select Low Detect Enable
PLOADEN6Client Data Preload Enable
CHSIZE2:0Character Size
  • 0 Eight bits
  • 1 Nine bits

USART.CTRLBUSART Control B

Address
0x42001004
Reset
0x00000000
Access
read/write
Size
32-bit
9 fields
FieldBitsWhat it does
LINCMD25:24LIN Command
  • 0 Normal USART transmission
  • 1 A break field is transmitted when DATA is written
  • 2 The break, sync, and identifier fields are automatically transmitted when the DATA is written with the identifier
RXEN17Receiver Enable
TXEN16Transmitter Enable
PMODE13Parity Mode
  • 0 Even parity
  • 1 Odd parity
ENC10Encoding Format
  • 1 Data is IrDA encoded
SFDE9Start of Frame Detection Enable
COLDEN8Collision Detection Enable
SBMODE6Stop Bit Mode
  • 0 One stop bit
  • 1 Two stop bits
CHSIZE2:0Character Size
  • 0 8-bits character
  • 1 9-bits character
  • 5 5-bits character
  • 6 6-bits character
  • 7 7-bits character

USART.CTRLCUSART Control C

Address
0x42001008
Reset
0x00000000
Access
read/write
Size
32-bit
3 fields
FieldBitsWhat it does
HDRDLY11:10LIN Host Header Delay
  • 0 Delay between break and sync transmission is one bit time. Delay between sync and ID transmission is one bit time.
  • 1 Delay between break and sync transmission is four bit times. Delay between sync and ID transmission is four bit times.
  • 2 Delay between break and sync transmission is eight bit times. Delay between sync and ID transmission is four bit times.
  • 3 Delay between break and sync transmission is 14 bit times. Delay between sync and ID transmission is four bit times.
BRKLEN9:8LIN Host Break Length
  • 0 The break field transmission is 13 bit times
  • 1 The break field transmission is 17 bit times
  • 2 The break field transmission is 21 bit times
  • 3 The break field transmission is 26 bit times
GTIME2:0Guard Time

I2CM.BAUDI2CM Baud Rate

Address
0x4200100C
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
FieldBitsWhat it does
BAUDLOW15:8Host Baud Rate Low
BAUD7:0Host Baud Rate

SPI.BAUDSPI Baud Rate

Address
0x4200100C
Reset
0x00
Access
read/write
  1. 7BAUD7
  2. 6BAUD6
  3. 5BAUD5
  4. 4BAUD4
  5. 3BAUD3
  6. 2BAUD2
  7. 1BAUD1
  8. 0BAUD0
1 field
FieldBitsWhat it does
BAUD7:0Baud Register

USART.BAUDUSART Baud

Address
0x4200100C
Reset
0x0000
Access
read/write
Size
16-bit
3 fields
FieldBitsWhat it does
BAUD15:0Baud Value
FP15:13Fractional Part
BAUD12:0Baud Value

USART.RXPLUSART Receive Pulse Length

Address
0x4200100E
Reset
0x00
Access
read/write
  1. 7RXPL7
  2. 6RXPL6
  3. 5RXPL5
  4. 4RXPL4
  5. 3RXPL3
  6. 2RXPL2
  7. 1RXPL1
  8. 0RXPL0
1 field
FieldBitsWhat it does
RXPL7:0Receive Pulse Length

I2CM.INTENCLRI2CM Interrupt Enable Clear

Address
0x42001014
Reset
0x00
Access
read/write
  1. 7ERROR
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1SB
  8. 0MB
3 fields
FieldBitsWhat it does
ERROR7Error Interrupt Enable
SB1Client on Bus Interrupt Enable
MB0Host on Bus Interrupt Enable

I2CS.INTENCLRI2CS Interrupt Enable Clear

Address
0x42001014
Reset
0x00
Access
read/write
  1. 7ERROR
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2DRDY
  7. 1AMATCH
  8. 0PREC
4 fields
FieldBitsWhat it does
ERROR7Error Interrupt Enable
DRDY2Data Ready Interrupt Enable
AMATCH1Address Match Interrupt Enable
PREC0Stop Received Interrupt Enable

SPI.INTENCLRSPI Interrupt Enable Clear

Address
0x42001014
Reset
0x00
Access
read/write
  1. 7ERROR
  2. 6–
  3. 5–
  4. 4–
  5. 3SSL
  6. 2RXC
  7. 1TXC
  8. 0DRE
5 fields
FieldBitsWhat it does
ERROR7Error Interrupt Enable
SSL3SPI Select Low Interrupt Enable
RXC2Receive Complete Interrupt Enable
TXC1Transmit Complete Interrupt Enable
DRE0Data Register Empty Interrupt Enable

USART.INTENCLRUSART Interrupt Enable Clear

Address
0x42001014
Reset
0x00
Access
read/write
  1. 7ERROR
  2. 6–
  3. 5RXBRK
  4. 4CTSIC
  5. 3RXS
  6. 2RXC
  7. 1TXC
  8. 0DRE
7 fields
FieldBitsWhat it does
ERROR7Error Interrupt Enable
RXBRK5Receive Break Interrupt Enable
CTSIC4Clear to Send Input Change Interrupt Enable
RXS3Receive Start Interrupt Enable
RXC2Receive Complete Interrupt Enable
TXC1Transmit Complete Interrupt Enable
DRE0Data Register Empty Interrupt Enable

I2CM.INTENSETI2CM Interrupt Enable Set

Address
0x42001016
Reset
0x00
Access
read/write
  1. 7ERROR
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1SB
  8. 0MB
3 fields
FieldBitsWhat it does
ERROR7Error Interrupt Enable
SB1Client on Bus Interrupt Enable
MB0Host on Bus Interrupt Enable

I2CS.INTENSETI2CS Interrupt Enable Set

Address
0x42001016
Reset
0x00
Access
read/write
  1. 7ERROR
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2DRDY
  7. 1AMATCH
  8. 0PREC
4 fields
FieldBitsWhat it does
ERROR7Error Interrupt Enable
DRDY2Data Ready Interrupt Enable
AMATCH1Address Match Interrupt Enable
PREC0Stop Received Interrupt Enable

SPI.INTENSETSPI Interrupt Enable Set

Address
0x42001016
Reset
0x00
Access
read/write
  1. 7ERROR
  2. 6–
  3. 5–
  4. 4–
  5. 3SSL
  6. 2RXC
  7. 1TXC
  8. 0DRE
5 fields
FieldBitsWhat it does
ERROR7Error Interrupt Enable
SSL3SPI Select Low Interrupt Enable
RXC2Receive Complete Interrupt Enable
TXC1Transmit Complete Interrupt Enable
DRE0Data Register Empty Interrupt Enable

USART.INTENSETUSART Interrupt Enable Set

Address
0x42001016
Reset
0x00
Access
read/write
  1. 7ERROR
  2. 6–
  3. 5RXBRK
  4. 4CTSIC
  5. 3RXS
  6. 2RXC
  7. 1TXC
  8. 0DRE
7 fields
FieldBitsWhat it does
ERROR7Error Interrupt Enable
RXBRK5Receive Break Interrupt Enable
CTSIC4Clear to Send Input Change Interrupt Enable
RXS3Receive Start Interrupt Enable
RXC2Receive Complete Interrupt Enable
TXC1Transmit Complete Interrupt Enable
DRE0Data Register Empty Interrupt Enable

I2CM.INTFLAGI2CM Interrupt Flag Status and Clear

Address
0x42001018
Reset
0x00
Access
read/write
  1. 7ERROR
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1SB
  8. 0MB
3 fields
FieldBitsWhat it does
ERROR7Error
SB1Client on Bus
MB0Host on Bus

I2CS.INTFLAGI2CS Interrupt Flag Status and Clear

Address
0x42001018
Reset
0x00
Access
read/write
  1. 7ERROR
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2DRDY
  7. 1AMATCH
  8. 0PREC
4 fields
FieldBitsWhat it does
ERROR7Error
DRDY2Data Ready
AMATCH1Address Match
PREC0Stop Received

SPI.INTFLAGSPI Interrupt Flag Status and Clear

Address
0x42001018
Reset
0x00
Access
read/write
  1. 7ERROR
  2. 6–
  3. 5–
  4. 4–
  5. 3SSL
  6. 2RXC
  7. 1TXC
  8. 0DRE
5 fields
FieldBitsWhat it does
ERROR7Error
SSL3SPI Select Low
RXC2Receive Complete
TXC1Transmit Complete
DRE0Data Register Empty

USART.INTFLAGUSART Interrupt Flag Status and Clear

Address
0x42001018
Reset
0x00
Access
read/write
  1. 7ERROR
  2. 6–
  3. 5RXBRK
  4. 4CTSIC
  5. 3RXS
  6. 2RXC
  7. 1TXC
  8. 0DRE
7 fields
FieldBitsWhat it does
ERROR7Error
RXBRK5Receive Break
CTSIC4Clear to Send Input Change
RXS3Receive Start
RXC2Receive Complete
TXC1Transmit Complete
DRE0Data Register Empty

I2CM.STATUSI2CM Status

Address
0x4200101A
Reset
0x0000
Access
read/write
Size
16-bit
9 fields
FieldBitsWhat it does
LENERR10Transaction Length Error
SEXTTOUT9Client SCL Low Extend Time-Out
MEXTTOUT8Host SCL Low Extend Time-Out
CLKHOLD7Clock Hold
LOWTOUT6SCL Low Time-Out
BUSSTATE5:4Bus State
  • 0 The bus state is unknown to the I2C host, which will wait for a stop condition to be detected or for the bus to be forced into the IDLE state by software
  • 1 The bus state is waiting for a transaction to be initialized
  • 2 The I2C host is the current owner of the bus
  • 3 Some other I2C host owns the bus
RXNACK2Received Not Acknowledge
ARBLOST1Arbitration Lost
BUSERR0Bus Error

I2CS.STATUSI2CS Status

Address
0x4200101A
Reset
0x0000
Access
read/write
Size
16-bit
8 fields
FieldBitsWhat it does
SEXTTOUT9Client SCL Low Extend Time-Out
CLKHOLD7Clock Hold
LOWTOUT6SCL Low Time-out
SR4Repeated Start
DIR3Read / Write Direction
RXNACK2Received Not Acknowledge
COLL1Transmit Collision
BUSERR0Bus Error

SPI.STATUSSPI Status

Address
0x4200101A
Reset
0x0000
Access
read/write
Size
16-bit
1 field
FieldBitsWhat it does
BUFOVF2Buffer Overflow

USART.STATUSUSART Status

Address
0x4200101A
Reset
0x0000
Access
read/write
Size
16-bit
7 fields
FieldBitsWhat it does
TXE6Transmitter Empty
COLL5Collision Detected
ISF4Inconsistent Sync Field
CTS3Clear to Send
BUFOVF2Buffer Overflow
FERR1Frame Error
PERR0Parity Error

I2CM.SYNCBUSYI2CM Synchronization Busy

Address
0x4200101C
Reset
0x00000000
Access
read only
Size
32-bit
3 fields
FieldBitsWhat it does
SYSOP2System Operation Synchronization Busy
ENABLE1SERCOM Enable Synchronization Busy
SWRST0Software Reset Synchronization Busy

I2CS.SYNCBUSYI2CS Synchronization Busy

Address
0x4200101C
Reset
0x00000000
Access
read only
Size
32-bit
2 fields
FieldBitsWhat it does
ENABLE1SERCOM Enable Synchronization Busy
SWRST0Software Reset Synchronization Busy

SPI.SYNCBUSYSPI Synchronization Busy

Address
0x4200101C
Reset
0x00000000
Access
read only
Size
32-bit
3 fields
FieldBitsWhat it does
CTRLB2CTRLB Synchronization Busy
ENABLE1SERCOM Enable Synchronization Busy
SWRST0Software Reset Synchronization Busy

USART.SYNCBUSYUSART Synchronization Busy

Address
0x4200101C
Reset
0x00000000
Access
read only
Size
32-bit
3 fields
FieldBitsWhat it does
CTRLB2CTRLB Synchronization Busy
ENABLE1SERCOM Enable Synchronization Busy
SWRST0Software Reset Synchronization Busy

I2CM.ADDRI2CM Address

Address
0x42001024
Reset
0x00000000
Access
read/write
Size
32-bit
5 fields
FieldBitsWhat it does
LEN23:16Transaction Length
TENBITEN15Ten Bit Addressing Enable
LENEN13Transfer Length Enable
ADDR9:0Address
ADDR6:0Address

I2CS.ADDRI2CS Address

Address
0x42001024
Reset
0x00000000
Access
read/write
Size
32-bit
6 fields
FieldBitsWhat it does
ADDRMASK26:17Address Mask
ADDRMASK23:17Address Mask
TENBITEN15Ten Bit Addressing Enable
ADDR10:1Address
ADDR7:1Address
GENCEN0General Call Address Enable

SPI.ADDRSPI Address

Address
0x42001024
Reset
0x00000000
Access
read/write
Size
32-bit
2 fields
FieldBitsWhat it does
ADDRMASK23:16Address Mask
ADDR7:0Address

I2CM.DATAI2CM Data

Address
0x42001028
Reset
0x00
Access
read/write
  1. 7DATA7
  2. 6DATA6
  3. 5DATA5
  4. 4DATA4
  5. 3DATA3
  6. 2DATA2
  7. 1DATA1
  8. 0DATA0
1 field
FieldBitsWhat it does
DATA7:0Data

I2CS.DATAI2CS Data

Address
0x42001028
Reset
0x00
Access
read/write
  1. 7DATA7
  2. 6DATA6
  3. 5DATA5
  4. 4DATA4
  5. 3DATA3
  6. 2DATA2
  7. 1DATA1
  8. 0DATA0
1 field
FieldBitsWhat it does
DATA7:0Data

SPI.DATASPI Data

Address
0x42001028
Reset
0x0000
Access
read/write
Size
16-bit
1 field
FieldBitsWhat it does
DATA8:0Data

USART.DATAUSART Data

Address
0x42001028
Reset
0x0000
Access
read/write
Size
16-bit
1 field
FieldBitsWhat it does
DATA8:0Data

I2CM.DBGCTRLI2CM Debug Control

Address
0x42001030
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0DBGSTOP
1 field
FieldBitsWhat it does
DBGSTOP0Debug Stop Mode

SPI.DBGCTRLSPI Debug Control

Address
0x42001030
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0DBGSTOP
1 field
FieldBitsWhat it does
DBGSTOP0Debug Stop Mode

USART.DBGCTRLUSART Debug Control

Address
0x42001030
Reset
0x00
Access
read/write
  1. 7–
  2. 6–
  3. 5–
  4. 4–
  5. 3–
  6. 2–
  7. 1–
  8. 0DBGSTOP
1 field
FieldBitsWhat it does
DBGSTOP0Debug Stop Mode