SJA1000T/N,118 NXP Semiconductors, SJA1000T/N,118 Datasheet
![IC STAND-ALONE CAN CTRLR 28-SOIC](/photos/6/56/65685/568-28-soic_sot136-1_sml.jpg)
SJA1000T/N,118
Specifications of SJA1000T/N,118
SJA1000T/N-T
SJA1000T/N-T
Related parts for SJA1000T/N,118
SJA1000T/N,118 Summary of contents
Page 1
DATA SHEET SJA1000 Stand-alone CAN controller Product specification Supersedes data of 1999 Aug 17 File under Integrated Circuits, IC18 INTEGRATED CIRCUITS 2000 Jan 04 ...
Page 2
Philips Semiconductors Stand-alone CAN controller CONTENTS 1 FEATURES 2 GENERAL DESCRIPTION 3 ORDERING INFORMATION 4 BLOCK DIAGRAM 5 PINNING 6 FUNCTIONAL DESCRIPTION 6.1 Description of the CAN controller blocks 6.1.1 Interface Management Logic (IML) 6.1.2 Transmit Buffer (TXB) 6.1.3 Receive ...
Page 3
Philips Semiconductors Stand-alone CAN controller 1 FEATURES Pin compatibility to the PCA82C200 stand-alone CAN controller Electrical compatibility to the PCA82C200 stand-alone CAN controller PCA82C200 mode (BasicCAN mode is default) Extended receive buffer (64-byte FIFO) CAN 2.0B protocol compatibility (extended frame ...
Page 4
Philips Semiconductors Stand-alone CAN controller 4 BLOCK DIAGRAM handbook, full pagewidth ALE/AS, CS 11, 16 RD/E, WR, control CLKOUT, MODE, INT 7 8 address/data AD7 to AD0 XTAL1 10 XTAL2 2000 ...
Page 5
Philips Semiconductors Stand-alone CAN controller 5 PINNING SYMBOL PIN AD7 to AD0 ALE/ RD CLKOUT SS1 XTAL1 9 XTAL2 10 MODE DD3 TX0 ...
Page 6
Philips Semiconductors Stand-alone CAN controller handbook, halfpage AD6 1 AD7 2 ALE/ RD CLKOUT 7 SJA1000 V SS1 8 XTAL1 9 XTAL2 10 MODE 11 V DD3 12 TX0 13 TX1 14 MGK616 Fig.2 ...
Page 7
Philips Semiconductors Stand-alone CAN controller 6 FUNCTIONAL DESCRIPTION 6.1 Description of the CAN controller blocks 6.1 NTERFACE ANAGEMENT The interface management logic interprets commands from the CPU, controls addressing of the CAN registers and provides interrupts and status ...
Page 8
Philips Semiconductors Stand-alone CAN controller 6.2.1.3 Receive buffer The dual receive buffer concept of the PCA82C200 is replaced by the receive FIFO from the PeliCAN controller. This has no effect to the application software except for the data overrun probability. ...
Page 9
Philips Semiconductors Stand-alone CAN controller Table 1 BasicCAN address allocation; note 1 CAN SEGMENT ADDRESS 0 control control 1 (FFH) 2 status 3 interrupt 4 (FFH) 5 (FFH) 6 (FFH) 7 (FFH) 8 (FFH) 9 test 10 transmit identifier (10 ...
Page 10
Philips Semiconductors Stand-alone CAN controller 6.3.2 R ESET VALUES Detection of a ‘reset request’ results in aborting the current transmission/reception of a message and entering the reset mode. On the ‘1-to-0’ transition of the reset request bit, the CAN controller ...
Page 11
Philips Semiconductors Stand-alone CAN controller REGISTER BIT Acceptance code AC Acceptance mask AM Bus timing 0 BTR0.7 BTR0.6 BTR0.5 BTR0.4 BTR0.3 BTR0.2 BTR0.1 BTR0.0 Bus timing 1 BTR1.7 BTR1.6 BTR1.5 BTR1.4 BTR1.3 BTR1.2 BTR1.1 BTR1.0 Output ...
Page 12
Philips Semiconductors Stand-alone CAN controller Notes 1. X means that the value of these registers or bits is not influenced. 2. Remarks in brackets explain functional meaning. 3. Reading the command register will always reflect a binary ‘11111111’ ...
Page 13
Philips Semiconductors Stand-alone CAN controller BIT SYMBOL CR.1 RIE Receive Interrupt Enable CR.0 RR Reset Request; note 4 Notes 1. Any write access to the control register has to set this bit to logic 0 (reset value is logic 0). ...
Page 14
Philips Semiconductors Stand-alone CAN controller Table 4 Bit interpretation of the command register (CMR); CAN address 1 BIT SYMBOL CMR.7 CMR.6 CMR.5 CMR.4 GTS Go To Sleep; note 1 CMR.3 CDO Clear Data Overrun; note 2 CMR.2 RRB Release Receive ...
Page 15
Philips Semiconductors Stand-alone CAN controller 6.3 (SR) TATUS EGISTER The content of the status register reflects the status of the SJA1000. The status register appears to the microcontroller as a read only memory. Table 5 Bit interpretation of ...
Page 16
Philips Semiconductors Stand-alone CAN controller Notes 1. When the transmit error counter exceeds the limit of 255 [the bus status bit is set to logic 1 (bus-off)] the CAN controller will set the reset request bit to logic 1 (present) ...
Page 17
Philips Semiconductors Stand-alone CAN controller 6.3 (IR) NTERRUPT EGISTER The interrupt register allows the identification of an interrupt source. When one or more bits of this register are set, the INT pin is activated (LOW). After this register ...
Page 18
Philips Semiconductors Stand-alone CAN controller 6.3.7 T RANSMIT BUFFER LAYOUT The global layout of the transmit buffer is shown in Table 7. The buffer serves to store a message from the microcontroller to be transmitted by the SJA1000 ...
Page 19
Philips Semiconductors Stand-alone CAN controller handbook, full pagewidth incoming messages Message 1 is now available in the receive buffer. Fig.4 Example of the message storage within the RXFIFO. Identifier, remote transmission request bit and data length code have the same ...
Page 20
Philips Semiconductors Stand-alone CAN controller 6.3.9.1 Acceptance Code Register (ACR) Table 8 ACR bit allocation; can address 4 BIT 7 BIT 6 AC.7 AC.6 This register can be accessed (read/write), if the reset request bit is set HIGH (present). When ...
Page 21
Philips Semiconductors Stand-alone CAN controller Table 10 PeliCAN address allocation; note 1 CAN ADDRESS READ 0 mode 1 (00H) 2 status 3 interrupt 4 interrupt enable 5 reserved (00H) 6 bus timing 0 7 bus timing 1 8 output control ...
Page 22
Philips Semiconductors Stand-alone CAN controller CAN ADDRESS READ 27 (FIFO RAM); RX data 7 note 5 28 (FIFO RAM); RX data 8 note message counter 30 RX buffer start address 31 clock divider 32 internal RAM address ...
Page 23
Philips Semiconductors Stand-alone CAN controller 6.4.2 R ESET VALUES Detection of a set reset mode bit results in aborting the current transmission/reception of a message and entering the reset mode. On the ‘1-to-0’ transition of the reset mode bit, the ...
Page 24
Philips Semiconductors Stand-alone CAN controller REGISTER BIT Interrupt IER.7 enable IER.6 IER.5 IER.4 IER.3 IER.2 IER.1 IER.0 Bus timing 0 BTR0.7 BTR0.6 BTR0.5 BTR0.4 BTR0.3 BTR0.2 BTR0.1 BTR0.0 Bus timing 1 BTR1.7 BTR1.6 BTR1.5 BTR1.4 BTR1.3 BTR1.2 BTR1.1 BTR1.0 2000 ...
Page 25
Philips Semiconductors Stand-alone CAN controller REGISTER BIT Output control OCR.7 OCR.6 OCR.5 OCR.4 OCR.3 OCR.2 OCR.1 OCR.0 Arbitration lost capture Error code capture Error warning limit RX error counter TX error counter TX buffer RX buffer ACR ...
Page 26
Philips Semiconductors Stand-alone CAN controller Notes 1. X means that the value of these registers or bits is not influenced. 2. Remarks in brackets explain functional meaning bus-off the error warning interrupt is set, if enabled ...
Page 27
Philips Semiconductors Stand-alone CAN controller BIT SYMBOL MOD.1 LOM Listen Only Mode; notes 2 and 3 MOD.0 RM Reset Mode; note 4 Notes 1. The SJA1000 will enter sleep mode if the sleep mode bit is set to logic 1 ...
Page 28
Philips Semiconductors Stand-alone CAN controller 6.4 (CMR) OMMAND EGISTER A command bit initiates an action within the transfer layer of the CAN controller. This register is write only, all bits will return a logic 0 when being read. ...
Page 29
Philips Semiconductors Stand-alone CAN controller 5. The abort transmission bit is used when the CPU requires the suspension of the previously requested transmission, e.g. to transmit a more urgent message before. A transmission already in progress is not stopped. In ...
Page 30
Philips Semiconductors Stand-alone CAN controller BIT SYMBOL SR.1 DOS Data Overrun Status; note 6 SR.0 RBS Receive Buffer Status; note 7 Notes 1. When the transmit error counter exceeds the limit of 255, the bus status bit is set to ...
Page 31
Philips Semiconductors Stand-alone CAN controller 6.4 (IR) NTERRUPT EGISTER The interrupt register allows the identification of an interrupt source. When one or more bits of this register are set, a CAN interrupt will be indicated to the CPU. ...
Page 32
Philips Semiconductors Stand-alone CAN controller Notes 1. A wake-up interrupt is also generated, if the CPU tries to set the sleep bit while the CAN controller is involved in bus activities or a CAN interrupt is pending. 2. The behaviour ...
Page 33
Philips Semiconductors Stand-alone CAN controller Note 1. The receive interrupt enable bit has direct influence to the receive interrupt bit and the external interrupt output INT. If RIE is cleared, the external INT pin will become HIGH immediately, if there ...
Page 34
Philips Semiconductors Stand-alone CAN controller start of frame handbook, full pagewidth TX RX ID.28 ID.27 ID.26 ID.25 ID.24 ID.23 ID.22 ID.21 ID.20 ID.19 ID.18 SRTR Fig.6 Example of arbitration lost bit number interpretation; result: ALC = 08. 2000 Jan 04 ...
Page 35
Philips Semiconductors Stand-alone CAN controller Table 18 Function of bits the arbitration lost capture register (1) BITS ALC.4 ALC.3 ALC ...
Page 36
Philips Semiconductors Stand-alone CAN controller 6.4 RROR ODE APTURE REGISTER This register contains information about the type and location of errors on the bus. The error code capture register appears to the CPU as a read only ...
Page 37
Philips Semiconductors Stand-alone CAN controller Table 21 Bit interpretation of bits ECC.4 to ECC.0; note 1 BIT ECC.4 BIT ECC.3 BIT ECC.2 BIT ECC.1 BIT ECC ...
Page 38
Philips Semiconductors Stand-alone CAN controller Table 22 Bit interpretation of the error warning limit register (EWLR); CAN address 13 BIT 7 BIT 6 EWL.7 EWL.6 6.4. RROR OUNTER EGISTER The RX error counter register reflects the ...
Page 39
Philips Semiconductors Stand-alone CAN controller 6.4.13 T RANSMIT BUFFER The global layout of the transmit buffer is shown in Fig.7. One has to distinguish between the Standard Frame Format (SFF) and the Extended Frame Format (EFF) configuration. The transmit buffer ...
Page 40
Philips Semiconductors Stand-alone CAN controller Table 25 TX frame information (SFF); CAN address 16 BIT 7 BIT 6 (1) (2) FF RTR Notes 1. Frame format. 2. Remote transmission request. 3. Don’t care; recommended to be compatible to receive buffer ...
Page 41
Philips Semiconductors Stand-alone CAN controller Table 30 TX identifier 2 (EFF); CAN address 18; note 1 BIT 7 BIT 6 ID.20 ID.19 Note 1. ID.X means identifier bit X. Table 31 TX identifier 3 (EFF); CAN address 19; note 1 ...
Page 42
Philips Semiconductors Stand-alone CAN controller The lower the binary value of the identifier the higher the priority. This is due to the larger number of leading dominant bits during arbitration. 6.4.13.5 Data field The number of transferred data bytes is ...
Page 43
Philips Semiconductors Stand-alone CAN controller Table 35 RX identifier 1 (SFF); CAN address 17; note 1 BIT 7 BIT 6 ID.28 ID.27 Note 1. ID.X means identifier bit X. Table 36 RX identifier 2 (SFF); CAN address 18; note 1 ...
Page 44
Philips Semiconductors Stand-alone CAN controller Table 41 RX identifier 4 (EFF); can address 20; note 1 BIT 7 BIT 6 ID.4 ID.3 Notes 1. ID.X means identifier bit X. 2. Remote transmission request. Remark: the received data length code located ...
Page 45
Philips Semiconductors Stand-alone CAN controller MSB LSB handbook, full pagewidth CAN ADDRESS 16; ACR0 CAN ADDRESS 20; AMR0 message bit acceptance code bit acceptance ...
Page 46
Philips Semiconductors Stand-alone CAN controller MSB LSB handbook, full pagewidth CAN ADDRESS 16; ACR0 CAN ADDRESS 20; AMR0 message bit acceptance code bit acceptance ...
Page 47
Philips Semiconductors Stand-alone CAN controller MSB handbook, full pagewidth CAN ADDRESS 16; ACR0 filter 1 CAN ADDRESS 20; AMR0 message CAN ADDRESS 22; AMR2 ...
Page 48
Philips Semiconductors Stand-alone CAN controller Extended frame extended frame message is received, the two defined filters are looking identically. Both filters are comparing the first two bytes of the extended identifier range only. For a successful reception of ...
Page 49
Philips Semiconductors Stand-alone CAN controller 6.4. ESSAGE OUNTER The RMC register (CAN address 29) reflects the number of messages available within the RXFIFO. The value is incremented with each receive event and decremented by the release receive ...
Page 50
Philips Semiconductors Stand-alone CAN controller 6.5 Common registers 6.5 (BTR0) US IMING EGISTER The contents of the bus timing register 0 defines the values of the Baud Rate Prescaler (BRP) and the Synchronization Jump Width (SJW). ...
Page 51
Philips Semiconductors Stand-alone CAN controller 6.5.2.2 Time Segment 1 (TSEG1) and Time Segment 2 (TSEG2) TSEG1 and TSEG2 determine the number of clock cycles per bit period and the location of the sample point, where SYNCSEG ...
Page 52
Philips Semiconductors Stand-alone CAN controller handbook, full pagewidth If the SJA1000 is in the sleep mode a recessive level is output on the TX0 and TX1 pins with respect to the contents within the output control register. If the SJA1000 ...
Page 53
Philips Semiconductors Stand-alone CAN controller 6.5.3.2 Clock output mode For the TX0 pin this is the same as in normal output mode. However, the data stream to TX1 is replaced by the transmit clock (TXCLK). The rising edge of the ...
Page 54
Philips Semiconductors Stand-alone CAN controller handbook, full pagewidth recessive bitstream dominant HIGH TX0 LOW HIGH TX1 LOW Fig.16 Bi-phase output mode example (output control register = F8H). 6.5.3.4 Test output mode In test output mode the level connected to RX ...
Page 55
Philips Semiconductors Stand-alone CAN controller Table 48 Output pin configuration; note 1 DRIVE TXD Float X Pull-down Pull- Push-pull Notes don’t care. 2. TPX is ...
Page 56
Philips Semiconductors Stand-alone CAN controller 6.5.4.1 CD.2 to CD.0 The bits CD.2 to CD.0 are accessible without restrictions in reset mode as well as in operating mode. These bits are used to define the frequency at the external CLKOUT pin. ...
Page 57
Philips Semiconductors Stand-alone CAN controller 7 LIMITING VALUES In accordance with the Absolute Maximum Rating System (IEC 134); all voltages referenced to V SYMBOL PARAMETER V supply voltage input/output current on all pins except I O ...
Page 58
Philips Semiconductors Stand-alone CAN controller SYMBOL PARAMETER Inputs V LOW-level input voltage on pins ALE/AS, IL1 CS, RD/E, WR and MODE V LOW-level input voltage on pins XTAL1 IL2 and INT V LOW-level input voltage on pins RST, IL3 AD0 ...
Page 59
Philips Semiconductors Stand-alone CAN controller 10 AC CHARACTERISTICS 10 (output pins SYMBOL PARAMETER f oscillator frequency osc t address set-up to ALE/AS LOW su(A-AL) ...
Page 60
Philips Semiconductors Stand-alone CAN controller 10.1 AC timing diagrams handbook, full pagewidth AD7 to AD0 t su(A-AL) ALE (pin ALE/AS) t W(AL) RD (pin RD/ handbook, full pagewidth AD7 to AD0 su(A-AL) AS (pin ...
Page 61
Philips Semiconductors Stand-alone CAN controller handbook, full pagewidth AD7 to AD0 su(A-AL) ALE (pin ALE/AS) t W(AL (pin RD/E) CS handbook, full pagewidth AD7 to AD0 su(A-AL) AS (pin ALE/AS) ...
Page 62
Philips Semiconductors Stand-alone CAN controller 10.2 Additional AC information To provide optimum noise immunity under worst case conditions, the chip is powered by three separate pins and grounded by three separate pins. handbook, full pagewidth RX0 RX1 handbook, full pagewidth ...
Page 63
Philips Semiconductors Stand-alone CAN controller 11 PACKAGE OUTLINES DIP28: plastic dual in-line package; 28 leads (600 mil) handbook, full pagewidth pin 1 index 1 DIMENSIONS (inch dimensions are derived from the original mm dimensions ...
Page 64
Philips Semiconductors Stand-alone CAN controller SO28: plastic small outline package; 28 leads; body width 7 pin 1 index 1 DIMENSIONS (inch dimensions are derived from the original mm dimensions) A UNIT ...
Page 65
Philips Semiconductors Stand-alone CAN controller 12 SOLDERING 12.1 Introduction This text gives a very brief insight to a complex technology. A more in-depth account of soldering ICs can be found in our “Data Handbook IC26; Integrated Circuit Packages” (document order ...
Page 66
Philips Semiconductors Stand-alone CAN controller 12.4 Suitability of IC packages for wave, reflow and dipping soldering methods MOUNTING Through-hole mount DBS, DIP, HDIP, SDIP, SIL Surface mount BGA, SQFP HLQFP, HSQFP, HSOP, HTSSOP, SMS (4) PLCC , SO, SOJ LQFP, ...
Page 67
Philips Semiconductors Stand-alone CAN controller 2000 Jan 04 NOTES 67 Product specification SJA1000 ...
Page 68
Philips Semiconductors – a worldwide company Argentina: see South America Australia: 3 Figtree Drive, HOMEBUSH, NSW 2140, Tel. +61 2 9704 8141, Fax. +61 2 9704 8139 Austria: Computerstr. 6, A-1101 WIEN, P.O. Box 213, Tel. + 101 ...