\n

DSRC

Peripheral Memory Blocks

address_offset : 0x0 Bytes (0x0)
size : 0x1C byte (0x0)
mem_usage : registers
protection : not protected

address_offset : 0x20 Bytes (0x0)
size : 0x8 byte (0x0)
mem_usage : registers
protection : not protected

address_offset : 0x200 Bytes (0x0)
size : 0x4 byte (0x0)
mem_usage : registers
protection : not protected

address_offset : 0x38 Bytes (0x0)
size : 0xC byte (0x0)
mem_usage : registers
protection : not protected

address_offset : 0x210 Bytes (0x0)
size : 0xC byte (0x0)
mem_usage : registers
protection : not protected

Registers

DSRC_CTL (CTL)

DSRC_CRCSEED (CRCSEED)

DSRC_RBCNT (RBCNT)

DSRC_CHKSUM (CHKSUM)

DSRC_TX (TX)

DSRC_CTL2 (CTL2)

DSRC_TXR (TXR)

DSRC_RXR (RXR)

DSRC_ICR (ICR)

DSRC_RX (RX)

DSRC_TMR2 (TMR2)

DSRC_TMR3 (TMR3)

DSRC_INTEN (INTEN)

DSRC_TMR4 (TMR4)

DSRC_STATUS (STATUS)

DSRC_PREAMBLE (PREAMBLE)


DSRC_CTL (CTL)

DSRC Control Register
address_offset : 0x0 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

DSRC_CTL DSRC_CTL read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 DSRCEN SWRXEN CODECEN CODECFMT BRDETEN BRATEMOD CRCEN CRCMSB CHKSREV CHKSFMT SEEDM PREAMFMT PDRXDIS WKHXTEN TBPEN TRANSFIN TTDMAEN TRDMAEN CRCBSWAP FORCETX FORCERX RXON WKPOL BRATEACC

DSRCEN : DSRC Enable Bit\nNote: When DSRC is enabled, SPI1 will set SUSPITV (SPI_CTL[15:12]), DWIDTH (SPI_CTL[7:3]), REORDER (SPI_CTL[19]), FIFOM (SPI_CTL[21]), TWOBIT (SPI_CTL[22]), and DUALIOEN (SPI_CTL[29]) set as 0x0, 0x8, 0, 1, 0, and 0 automatically for data byte transaction in DSRC application.
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

DSRC Disabled

#1 : 1

DSRC Enabled

End of enumeration elements list.

SWRXEN : Software Control RX_ON Enable Bit
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

Software control RX_ON signal Disabled

#1 : 1

Software control RX_ON signal Enabled

End of enumeration elements list.

CODECEN : CODEC Enable Bit\nNote: When both DSRCEN and CODECEN are enabled, the SPI1 will set TXNEG (SPI_CTL[2]), RXNEG (SPI_CTL[1]), CLKPOL (SPI_CTL[11]), SS (SPI_SSCTL[1:0]), SSACTPOL (SPI_SSCTL[2]), AUTOSS (SPI_SSCTL[3]) and SLV3WIRE (SPI_SSCTL[5]) as 0, 1, 0, 0x1, 1, 1, and 1 automatically for FM0 (or Manchester) CODEC communication. In this codition, SPI1 will set the SLAVE (SPI_CTL[18]) bit automatically and operate as Master mode in data transmitting phase and Slave 3-wired mode in data receiving phase automatically.
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

CODEC Disabled

#1 : 1

CODEC Enabled

End of enumeration elements list.

CODECFMT : CODEC Format Select Bit
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

FM0 CODEC

#1 : 1

MONCHESTER CODEC

End of enumeration elements list.

BRDETEN : Bit Rate Detection Enable Bit \nNote: This function is only for FM0 CODEC.
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

Bit rate detection Disabled

#1 : 1

Bit rate detection Enabled

End of enumeration elements list.

BRATEMOD : Bit Rate Error Mode
bits : 5 - 5 (1 bit)
access : read-write

Enumeration:

#0 : 0

The DSRC receives the start of frame again

#1 : 1

The DSRC does not care the bit rate error message and continue receiving data

End of enumeration elements list.

CRCEN : CRC Engine Enable Bit
bits : 8 - 8 (1 bit)
access : read-write

Enumeration:

#0 : 0

CRC function Disabled

#1 : 1

CRC function Enabled

End of enumeration elements list.

CRCMSB : CRC Generation on Data MSB\nNote: If the input data is 0xaa, the sequence of CRC bit generation is 01010101 when the bit is set as 0. Otherwise, the sequence of CRC bit generation is 10101010 when the bit is set as 1.
bits : 9 - 9 (1 bit)
access : read-write

Enumeration:

#0 : 0

The CRC generation start on the LSB input data first

#1 : 1

The CRC generation start on the MSB input data first

End of enumeration elements list.

CHKSREV : Checksum Reverse\nNote: If the checksum data is 0XDD7B0F2E, the bit order reversed for CRC checksum is 0x74F0DEBB.
bits : 10 - 10 (1 bit)
access : read-write

Enumeration:

#0 : 0

No bit order reverse for CRC checksum

#1 : 1

Bit order reverse for CRC checksum

End of enumeration elements list.

CHKSFMT : Checksum Format
bits : 11 - 11 (1 bit)
access : read-write

Enumeration:

#0 : 0

No 1's complement for CRC checksum

#1 : 1

1's complement for CRC checksum

End of enumeration elements list.

SEEDM : CRC Seed Mode
bits : 12 - 12 (1 bit)
access : read-write

Enumeration:

#0 : 0

The transmit CRC seed initial value is CRCSEED0 (DSRC_CRCSEED[15:0])

#1 : 1

The transmit CRC seed initial value is CRCSEED1 (DSRC_CRCSEED[31:15])

End of enumeration elements list.

PREAMFMT : Preamble Pattern Format\nNote: It is MSB first to be sent.
bits : 13 - 13 (1 bit)
access : read-write

Enumeration:

#0 : 0

The preamble length is half word and its pattern is PREPAT (DSRC_PREAMBLE[15:0])

#1 : 1

The preamble length is one word and its pattern is PREPAT (DSRC_PREAMBLE[31:0])

End of enumeration elements list.

PDRXDIS : Power-down Mode RXON Disable Bit
bits : 14 - 14 (1 bit)
access : read-write

Enumeration:

#0 : 0

RXON signal is always controlled by RXON(DSRC_CTL[23]) bit

#1 : 1

RXON signal is disabled during DSRC Power-Down period

End of enumeration elements list.

WKHXTEN : Wake-up HXT Clock Enable Bit \nSetting this bit to 1 enables RF wake-up HXT clock.
bits : 15 - 15 (1 bit)
access : read-write

Enumeration:

#0 : 0

RF wake-up HXT clock Disabled

#1 : 1

RF T wake-up HXT clock Enabled

End of enumeration elements list.

TBPEN : TBP Enable Bit\nSetting this bit to 1 enables TBP operation.
bits : 16 - 16 (1 bit)
access : read-write

Enumeration:

#0 : 0

TBP function Disabled

#1 : 1

TBP function Enabled

End of enumeration elements list.

TRANSFIN : TBP Transfer Done\nWhen the TTDMAEN (DSRC_CTL[20]) is disabled and the transmitted data is written into DSRC_TX by user, this bit shall be set into the TBP to terminate the processor before the last the transmitted data. The minimum length of transmitted data is 2 bytes.\nNote: This bit will be cleared after the TTBP transfer is done.
bits : 17 - 17 (1 bit)
access : read-write

Enumeration:

#0 : 0

Indicate the TTBP processor is not finished

#1 : 1

Inform the TTBP to finish the transparent bit processor after the current byte processed done

End of enumeration elements list.

TTDMAEN : TBP Transmit DMA Enable Bit
bits : 18 - 18 (1 bit)
access : read-write

Enumeration:

#0 : 0

TBP Transmitting DMA Disabled

#1 : 1

TBP Transmitting DMA Enabled

End of enumeration elements list.

TRDMAEN : TBP Receive DMA Enable Bit
bits : 19 - 19 (1 bit)
access : read-write

Enumeration:

#0 : 0

TBP Receiving DMA Disabled

#1 : 1

TBP Receiving DMA Enabled

End of enumeration elements list.

CRCBSWAP : CRC BYTE SWAP
bits : 20 - 20 (1 bit)
access : read-write

Enumeration:

#0 : 0

The received CRC value is not byte swap

#1 : 1

The received CRC value is byte swap

End of enumeration elements list.

FORCETX : Force TX State Control Bit\nNote: This bit will be cleared automatically
bits : 21 - 21 (1 bit)
access : read-write

Enumeration:

#0 : 0

No effect

#1 : 1

DSRC returns TX state to transmit data immediately

End of enumeration elements list.

FORCERX : Force RX State Control Bit\nNote: This bit will be cleared automatically.
bits : 22 - 22 (1 bit)
access : read-write

Enumeration:

#0 : 0

No effect

#1 : 1

DSRC returns Start_Rx state immediately

End of enumeration elements list.

RXON : RX_ON Control Bit
bits : 23 - 23 (1 bit)
access : read-write

Enumeration:

#0 : 0

RX_ON signal Enabled

#1 : 1

RX_ON signal Disabled

End of enumeration elements list.

WKPOL : Wake-up Pin Polarity Control Bit
bits : 26 - 27 (2 bit)
access : read-write

Enumeration:

#00 : 0

Wake-up pin rising edge wake-up DSRC

#01 : 1

Wake-up pin falling edge wake-up DSRC

End of enumeration elements list.

BRATEACC : Bit Rate Accuracy Control Bits\nPlease refer to Table 6.181.\nNote: This function is only for FM0 CODEC.
bits : 28 - 30 (3 bit)
access : read-write


DSRC_CRCSEED (CRCSEED)

DSRC CRC Seed Initial Register
address_offset : 0x10 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

DSRC_CRCSEED DSRC_CRCSEED read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CRCSEED0 CRCSEED1

CRCSEED0 : The CRC Seed Initial Pattern 0\nThe bits field indicates the CRC seed initial pattern 0 of DSRC.\nFor receiver:\nThe CRC will be calculated by the initial value. The TBP will auto compare the calculated result with the received CRC data and report its compare result into CRC0_OK (DSRC_STATUAS[24])\nFor Transmit:\nThe bit field is used to generate the CRC when the SEEDM (DSRC_CTL[20]) is set to 0.
bits : 0 - 15 (16 bit)
access : read-write

CRCSEED1 : The CRC Seed Initial Pattern 1\nThe bit field indicates the CRC seed initial pattern 1 of DSRC.\nFor receiver:\nThe CRC will be calculated by the initial value. The TBP will auto compare the calculated result with the received CRC data and report its compare result into CRC1_OK (DSRC_STATUAS[25])\nFor transmitter:\nThe bit field is used to generate the CRC when the SEEDM (DSRC_CTL[20]) is set to 1.
bits : 16 - 31 (16 bit)
access : read-write


DSRC_RBCNT (RBCNT)

DSRC Receive Byte Count Register
address_offset : 0x14 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

DSRC_RBCNT DSRC_RBCNT read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 TBPBCNT

TBPBCNT : TBP Receive Byte Count\nThe bits field indicates the number of receive byte count on RTBP when the CRCCOR (DSRC_STATUS[0]) is set to 1 and the STPFRM(DSRC_STATUS[3]) is set to 1. Otherwise, the value is 0.\nNote 1: The 2 bytes CRC is not calculated in this field.\nNote 2: If there is CRC calculation check error, the value will be cleared by hardware to calculate the next incoming data stream.
bits : 0 - 8 (9 bit)
access : read-only


DSRC_CHKSUM (CHKSUM)

DSRC Checksum Register
address_offset : 0x18 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

DSRC_CHKSUM DSRC_CHKSUM read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CHECKSUM0 CHECKSUM1

CHECKSUM0 : The CRC Checksum0\nThe bit field indicates the CRC checksum of the initial value is CHKSUM0 (DSRC_CHKSUM[15:0]).
bits : 0 - 15 (16 bit)
access : read-only

CHECKSUM1 : The CRC Checksum1\nThe bit field indicates the CRC checksum of the initial value is CHKSUM1 (DSRC_CHKSUM[31:16])
bits : 16 - 31 (16 bit)
access : read-only


DSRC_TX (TX)

DSRC TX Data Register
address_offset : 0x20 Bytes (0x0)
access : write-only
reset_value : 0x0
reset_Mask : 0x0

DSRC_TX DSRC_TX write-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 TX

TX : TBP Transmit Data\nThe bit field indicates the transmitted data on the TBP before being transmitted to TTBP.
bits : 0 - 7 (8 bit)
access : write-only


DSRC_CTL2 (CTL2)

DSRC Control Register 2
address_offset : 0x200 Bytes (0x0)
size : -1 bit
access : read-write
reset_value : 0x0
reset_Mask : 0x0

DSRC_CTL2 DSRC_CTL2 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 SOFNUM CODECDEGSEL

SOFNUM : Start of Frame Number for Transmission\nThis bit field is used to define the number of SOF packet which is repeated send in the SPI bus before the transmitted data.
bits : 0 - 1 (2 bit)
access : read-write

Enumeration:

#00 : 0

1 Start field of frame after the Preamble

#01 : 1

2Start field of frame after the Preamble

#10 : 2

3Start field of framesafter the Preamble

#11 : 3

4 Start field of frames after the Preamble

End of enumeration elements list.

CODECDEGSEL : FM0 CODEC Deglitch Selection\nThis bits field is used to define how much width of glitch would be filtered.
bits : 8 - 10 (3 bit)
access : read-write

Enumeration:

#000 : 0

disable to the CODECdeglitch selection

#001 : 1

Filter the glitches that the width is 0.25us or less

#010 : 2

Filter the glitches that the width is 0.50us or less

#011 : 3

Filter the glitches that the width is 0.75us or less

#100 : 4

Filter the glitches that the width is 1.00us or less

#101 : 5

Filter the glitches that the width is 1.25us or less

End of enumeration elements list.


DSRC_TXR (TXR)

DSRC Transmit Data After TTBP Register
address_offset : 0x210 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

DSRC_TXR DSRC_TXR read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 TXDATR

TXDATR : Transmit Data After TTBP \nThe bits field indicates the transmitted data after the TTBP. When the 8-Bit transmitted data is processed by the TTBP, the register indicates the processed content.
bits : 0 - 7 (8 bit)
access : read-only


DSRC_RXR (RXR)

DSRC Receive Data Before RTBP Register
address_offset : 0x214 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

DSRC_RXR DSRC_RXR read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RXDATR

RXDATR : Receive Data Before RTBP \nThe bits field indicates the current receive data before the RTBP (It comes from the SPI RX buffer). Before the 8-Bit is processed by the RTBP, the register indicates the un-processed content.
bits : 0 - 7 (8 bit)
access : read-only


DSRC_ICR (ICR)

DSRC Internal Use Control Register
address_offset : 0x218 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

DSRC_ICR DSRC_ICR read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0

DSRC_RX (RX)

DSRC RX Data Register
address_offset : 0x24 Bytes (0x0)
access : read-only
reset_value : 0x0
reset_Mask : 0x0

DSRC_RX DSRC_RX read-only 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 RX

RX : TBP Receiver Data\nThe bit field indicates the received data on the TBP after the RTBP.
bits : 0 - 7 (8 bit)
access : read-only


DSRC_TMR2 (TMR2)

DSRC Timer 2 Register
address_offset : 0x38 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

DSRC_TMR2 DSRC_TMR2 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CMPDAT PSC

CMPDAT : Timer Compared Value\nCMPDAT is a 24-bit compared value register. When the internal 24-bit up counter value is equal to CMPDAT value, the CNTIF (TIMERx_INTSTS[0] Timer Interrupt Flag) will be set to 1.\nNote1: Never write 0x0 or 0x1 in CMPDAT, or the core will run into unknown state.
bits : 0 - 23 (24 bit)
access : read-write

PSC : Prescale Counter
bits : 24 - 31 (8 bit)
access : read-write


DSRC_TMR3 (TMR3)

DSRC Timer 3 Register
address_offset : 0x3C Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

DSRC_TMR3 DSRC_TMR3 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CMPDAT PSC

CMPDAT : Timer Compared Value\nCMPDAT is a 24-bit compared value register. When the internal 24-bit up counter value is equal to CMPDAT value, the CNTIF (TIMERx_INTSTS[0] Timer Interrupt Flag) will be set to 1.\nNote1: Never write 0x0 or 0x1 in CMPDAT, or the core will run into unknown state.
bits : 0 - 23 (24 bit)
access : read-write

PSC : Prescale Counter
bits : 24 - 31 (8 bit)
access : read-write


DSRC_INTEN (INTEN)

DSRC Interrupt Enable Register
address_offset : 0x4 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

DSRC_INTEN DSRC_INTEN read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CRCCORIE CRCERRIE STRFRMIE STPFRMIE RXDATERRIE BRATERRIE RTBPDIE TXDONEIE T2TOIE T3TOIE T4TOIE EPWKIE

CRCCORIE : CRC Check Correct Interrupt Enable Bit
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

CRC check done without error Interrupt Disabled

#1 : 1

CRC check done without error Interrupt Enabled

End of enumeration elements list.

CRCERRIE : CRC Error Interrupt Enable Bit
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

CRC error interrupt Disabled

#1 : 1

CRC rate error interrupt Enabled

End of enumeration elements list.

STRFRMIE : Start Field of Frame Detection Interrupt Enable Bit
bits : 2 - 2 (1 bit)
access : read-write

Enumeration:

#0 : 0

Start Field of Frame detection interrupt Disabled

#1 : 1

Start Field of Frame detection interrupt Enabled

End of enumeration elements list.

STPFRMIE : Stop Field of Frame Detection Interrupt Enable Bit
bits : 3 - 3 (1 bit)
access : read-write

Enumeration:

#0 : 0

Stop Field of Frame detection Interrupt Disabled

#1 : 1

Stop Field of Frame detection Interrupt Enabled

End of enumeration elements list.

RXDATERRIE : Received Data Error Interrupt Enable Bit
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

Received DATA Error interrupt Disabled

#1 : 1

Received DATA Rate Error interrupt Enabled

End of enumeration elements list.

BRATERRIE : Bit Rate Error Interrupt Enable Bit
bits : 5 - 5 (1 bit)
access : read-write

Enumeration:

#0 : 0

Bit Rate Error interrupt Disabled

#1 : 1

Bit Rate Error interrupt Enabled

End of enumeration elements list.

RTBPDIE : TBP Byte Receive Done Interrupt Enable Bit
bits : 9 - 9 (1 bit)
access : read-write

Enumeration:

#0 : 0

The TBP byte receive done interrupt Disabled

#1 : 1

The TBP byte receive done interrupt Enabled

End of enumeration elements list.

TXDONEIE : Transmit Data Done Interrupt Enable Bit
bits : 12 - 12 (1 bit)
access : read-write

Enumeration:

#0 : 0

Transmit data done interrupt Disabled

#1 : 1

Transmit data done interrupt Enabled

End of enumeration elements list.

T2TOIE : Timer 2 Time-out Interrupt Enable Bit
bits : 18 - 18 (1 bit)
access : read-write

Enumeration:

#0 : 0

T2 Time-out interrupt Disabled

#1 : 1

T2 Time-out interrupt Enabled

End of enumeration elements list.

T3TOIE : Timer 3 Time-out Interrupt Enable Bit
bits : 19 - 19 (1 bit)
access : read-write

Enumeration:

#0 : 0

T3 Time-out interrupt Disabled

#1 : 1

T3 Time-out interrupt Enabled

End of enumeration elements list.

T4TOIE : Timer 4 Time-out Interrupt Enable Bit
bits : 20 - 20 (1 bit)
access : read-write

Enumeration:

#0 : 0

T4 Time-out interrupt Disabled

#1 : 1

T4 Time-out interrupt Enabled

End of enumeration elements list.

EPWKIE : External Pin Wake-up Interrupt Enable Bit
bits : 26 - 26 (1 bit)
access : read-write

Enumeration:

#0 : 0

External Pin Wake-up event interrupt Disabled

#1 : 1

External Pin Wake-up event interrupt Enabled

End of enumeration elements list.


DSRC_TMR4 (TMR4)

DSRC Timer 4 Register
address_offset : 0x40 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

DSRC_TMR4 DSRC_TMR4 read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CMPDAT PSC

CMPDAT : Timer Compared Value\nCMPDAT is a 24-bit compared value register. When the internal 24-bit up counter value is equal to CMPDAT value, the CNTIF (TIMERx_INTSTS[0] Timer Interrupt Flag) will be set to 1.\nNote1: Never write 0x0 or 0x1 in CMPDAT, or the core will run into unknown state.
bits : 0 - 23 (24 bit)
access : read-write

PSC : Prescale Counter
bits : 24 - 31 (8 bit)
access : read-write


DSRC_STATUS (STATUS)

DSRC Status Register
address_offset : 0x8 Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

DSRC_STATUS DSRC_STATUS read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 CRCCOR CRCERR STRFRM STPFRM RXDATERR BRATERR TTBPDONE RTBPDONE TXFINISH TTBPFULL T2TO T3TO T4TO CRC0_OK CRC1_OK EPWKF

CRCCOR : CRC CorrectBit
bits : 0 - 0 (1 bit)
access : read-write

Enumeration:

#0 : 0

This flag indicates CRC check done and result is not correct on CHKSUM0 (DSRC_CHKSUM[15:0]) and CHKSUM1 (DSRC_CHKSUM[31:16])

#1 : 1

If the CRC function is enabled (CRCEN(DSRC_CTL[8])=1, this flag indicates CRC check done and result is correct on CHKSUM0 (DSRC_CHKSUM[15:0]) or CHKSUM1 (DSRC_CHKSUM[31:16]), else writ 1 to this bit to indicate that MCU CRC check correct

End of enumeration elements list.

CRCERR : CRC Error Bit
bits : 1 - 1 (1 bit)
access : read-write

Enumeration:

#0 : 0

This flag indicates CRC check done and result is correct

#1 : 1

If the CRC function is enabled (CRCEN(DSRC_CTL[8])=1,this flag indicates CRC check done and result is error on CHKSUM0 (DSRC_CHKSUM[15:0]) and CHKSUM1 (DSRC_CHKSUM[31:16]), else writ 1 to this bit to indicate that MCU CRC check error

End of enumeration elements list.

STRFRM : Start Field of Frame Detection Flag\nThis flag indicates start field of frame is detected.\nNote: Write 1 to clear this flag.
bits : 2 - 2 (1 bit)
access : read-write

STPFRM : Stop Field of Frame Detection Flag\nThis flag indicates stop field of frame is detected.\nNote: Write 1 to clear this flag.
bits : 3 - 3 (1 bit)
access : read-write

RXDATERR : Received Data Error Flag\nNote: Write 1 to clear this flag.
bits : 4 - 4 (1 bit)
access : read-write

Enumeration:

#0 : 0

The received data packet error happened

#1 : 1

The received data packet has successive 7 bit 1. It indicates the receive frame shall be thrown out

End of enumeration elements list.

BRATERR : Bit Rate Error Flag\nThis flag indicates FM0 or MANCHESTER bit rate error depending on CODECFMT (DSRC_CTL[3]) setting if BRDETEN (DSRC_CTL[4]) is set to 1.\nNote: Write 1 to clear this flag.
bits : 5 - 5 (1 bit)
access : read-write

TTBPDONE : TBP Byte Transfer Done\nNote 1: This bit is automatically cleared by TBP_TXDMA_ACK when the TTDMAEN (DSRC_CTL[18]) is set or by the write signal of DSRC_TX register when the TTDMAEN (DSRC_CTL[18]) is not set.\nNote 2: If the TTDMAEN (DSRC_CTL[18]) is not set, the first TTBPDONE is set after the TTBP module send out the PREAMBLE and Head 7E patterns. The first transmitted data shall be written into the TX (DSRC_TX) after this flag is set.\nNote 3: After the TRANFIN (DSRC_CTL[17]) is set, this bit won't report the byte transfer done status again. The user shall check the TXDONE (DSRC_STATUS[12]) to know the current transfer has done both on the TTBP and SPI device.
bits : 8 - 8 (1 bit)
access : read-write

Enumeration:

#0 : 0

The TBP byte transfer is not finished

#1 : 1

The TBP byte transfer has been finished

End of enumeration elements list.

RTBPDONE : TBP Byte Receive Done\nNote: This bit is automatically cleared by TBP_RXDMA_ACK when the TRDMAEN (DSRC_CTL[19]) is set or by the read signal of DSRC_RX register when the TRDMAEN (DSRC_CTL[19]) is not set.
bits : 9 - 9 (1 bit)
access : read-write

Enumeration:

#0 : 0

The TBP byte receive is not finished

#1 : 1

The TBP byte receive has done

End of enumeration elements list.

TXFINISH : TX Transfer Finish\nNote:Write 1 to clear this flag.
bits : 12 - 12 (1 bit)
access : read-write

Enumeration:

#0 : 0

The TX transfer is not finished

#1 : 1

All the data processed by the TTBP block and the CRC, trail 7E patterns had been transmitted finish by SPI interface

End of enumeration elements list.

TTBPFULL : TTBPTransmit Full\nNote: If the TTDMAEN (DSRC_CTL[18] is disabled, the transmitted data can be written into the DSRC_TX register when the TTBPDONE (DSRC_STATUS[8]) is set to 1 and the TTBPFULL must be set as 0. Otherwise, the TTBP transmit done flag TTBPDONE (DSRC_STATUS[8]) won't be active in next data.
bits : 15 - 15 (1 bit)
access : read-write

Enumeration:

#0 : 0

TBP TX Transmit is not full

#1 : 1

TBP TX Transmit is full

End of enumeration elements list.

T2TO : Timer 2 Time-out Flag\nThis flag is set after the Timer Controller finishes counting the value set by DSRC_TMR2.\nNote1: The Timer Counter is started when DSRC wake-up and the counter is cleared when the Start of Frame is detected before T2TO event is set.\nNote2: Write 1 to clear this flag.
bits : 18 - 18 (1 bit)
access : read-write

T3TO : Timer 3 Time-out Flag\nThis flag is set after the Timer Controller finishes counting the value set by DSRC_TMR3.\nNote1: The Timer Counter is startedwhen the Start of Frame is detected and the counter is cleared when the Stop of Frame is detect before the T3TO event is set.\nNote2: Write 1 to clear this flag.
bits : 19 - 19 (1 bit)
access : read-write

T4TO : Timer 4 Time-out Flag\nThis flag is set after the Timer Controller finishes counting the value set by DSRC_TMR4.\nNote1: The Timer Counter is started when SPI detected the Stop of Frame and DSRC CRC correct flag is active.\nNote2: Write 1 to clear this flag.
bits : 20 - 20 (1 bit)
access : read-write

CRC0_OK : CRC0 Compare OK\nNote: Writing1 to CRCCOR (DSRC_STATUS[0]), CRCERR (DSRC_STATUS[1]) and itself can clear this flag.
bits : 24 - 24 (1 bit)
access : read-write

Enumeration:

#0 : 0

The compare result between the receive CRC data and the CHKSUM0 (DSRC_CHKSUM[15:0])is not the same

#1 : 1

The compare result between the receive CRC data and the CHKSUM0 (DSRC_CHKSUM[15:0]) is the same

End of enumeration elements list.

CRC1_OK : CRC1 Compare OK\nNote: Writing1 to CRCCOR (DSRC_STATUS[0]), CRCERR (DSRC_STATUS[1]) and itself can clear this flag.
bits : 25 - 25 (1 bit)
access : read-write

Enumeration:

#0 : 0

The compare result between the receive CRC data and the CHKSUM1 (DSRC_CHKSUM[31:16])is not the same

#1 : 1

The compare result between the receive CRC data and the CHKSUM1 (DSRC_CHKSUM[31:16]) is the same

End of enumeration elements list.

EPWKF : External Pin Wake-up Event Flag\nNote: Write 1 to clear this flag.
bits : 26 - 26 (1 bit)
access : read-write

Enumeration:

#0 : 0

No external pin wake-up event happened

#1 : 1

External pin wake-up event happened

End of enumeration elements list.


DSRC_PREAMBLE (PREAMBLE)

DSRC Preamble Pattern Register
address_offset : 0xC Bytes (0x0)
access : read-write
reset_value : 0x0
reset_Mask : 0x0

DSRC_PREAMBLE DSRC_PREAMBLE read-write 0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 Resets to Resets to 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 PREPAT

PREPAT : The Preamble Pattern\nThe bit field indicates the preamble pattern of DSRC. If the PREAMFMT (DSRC_CTL[24]) is set to 1, 32-bit preamble pattern is transmitted and the transmitted sequence is PREPAT[31:24], PREPAT[23:16], PREPAT[15:8] and PREPAT[7:0].\nIf the PREAMFMT (DSRC_CTL[24]) is set to 0, 16-bit preamble pattern is transmitted and the transmitted sequence is PREPAT[15:8] and PREPAT[7:0].
bits : 0 - 31 (32 bit)
access : read-write



Is something missing? Is something wrong? can you help correct it ? Please contact us at info@chipselect.org !

This website is sponsored by EmbeetleEmbeetle, an IDE designed from scratch for embedded software developers.