Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN2628 Datasheet(PDF) 5 Page - STMicroelectronics

Part # AN2628
Description  Programming ST10F27x CAN interrupt drivers
Download  27 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2628 Datasheet(HTML) 5 Page - STMicroelectronics

  AN2628 Datasheet HTML 1Page - STMicroelectronics AN2628 Datasheet HTML 2Page - STMicroelectronics AN2628 Datasheet HTML 3Page - STMicroelectronics AN2628 Datasheet HTML 4Page - STMicroelectronics AN2628 Datasheet HTML 5Page - STMicroelectronics AN2628 Datasheet HTML 6Page - STMicroelectronics AN2628 Datasheet HTML 7Page - STMicroelectronics AN2628 Datasheet HTML 8Page - STMicroelectronics AN2628 Datasheet HTML 9Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 5 / 27 page
background image
AN2628
Interrupt sources and identification
5/27
In summary: To enable CAN interrupt to the CPU, set bit IE in the CAN control register,
corresponding enable bit in the XIRxSEL register (x = 0, 3 for CAN1, x = 1, 3 for CAN2) and
bit XPxIE in the X-peripherals interrupt control register XPxIC. Please refer to Appendix A:
Register description.
1.2
Individual interrupt sources
The CAN controller distinguishes three different individual interrupt sources:
Status interrupts
Error interrupts
Message-specific interrupts
1.2.1
Status interrupts
Status interrupts are generated after a status change of the CAN modules is indicated by
the flags in the status register. Status interrupts are enabled by setting bit SIE in the control
register.
Status interrupts are caused by:
Successful transmission from the CAN modules (TxOK is set) of any message from
message objects
Reception of a message on the CAN bus - RxOK is set after an acknowledge of a CAN
frame from the CAN module - this CAN frame may not correspond to any message
object identifier.
Occurrence of an error on the CAN bus during a message transfer (LEC bit field is
updated); this error may not come from the CAN module itself but has at least been
detected by the CAN modules. LEC code 7 is not used and may be written to 7 by the
CPU to check for updates.
TxOK, RxOK, LEC can be read from the status register.
Note:
Enabling the Status Change Interrupt causes an interrupt to the CPU every time a message
is acknowledged on the CAN bus. For this reason, Status Change Interrupt should be
disabled in most applications except where a close monitor on the bus activity is required
(for example, after an early warning).
1.2.2
Error interrupts
Error Interrupts are generated once predefined error conditions are reached. Error interrupts
are enabled by setting bit EIE in the control register. Error interrupts are caused by:
Warning status (EWarn is set) indicating that at least one of the error counters has
reached the error warning limit of 96
Bus-off (BOff is set) indicating that the CAN controller is in bus-off state
EWarn and BOff can be read from the status register.


Similar Part No. - AN2628

ManufacturerPart #DatasheetDescription
logo
List of Unclassifed Man...
AN262 ETC2-AN262 Datasheet
2Mb / 31P
   SEMICONDUCTORS
logo
STMicroelectronics
AN2620 STMICROELECTRONICS-AN2620 Datasheet
1Mb / 20P
   3 A high-frequency synchronous 900 kHz
AN2621 STMICROELECTRONICS-AN2621 Datasheet
85Kb / 5P
   TS488/9 low power stereo headphone amplifier
logo
Panasonic Battery Group
AN26218A PANASONICBATTERY-AN26218A Datasheet
443Kb / 23P
   UMTS triple band LNA-IC
logo
STMicroelectronics
AN2622 STMICROELECTRONICS-AN2622 Datasheet
122Kb / 5P
   TS4909 low power stereo headphone amplifier
More results

Similar Description - AN2628

ManufacturerPart #DatasheetDescription
logo
STMicroelectronics
AN2341 STMICROELECTRONICS-AN2341 Datasheet
176Kb / 26P
   Programming ST10F27x/F25x CAN interrupt drivers
AN2143 STMICROELECTRONICS-AN2143 Datasheet
377Kb / 8P
   Programming the ST10F27X embedded Flash
AN2352 STMICROELECTRONICS-AN2352 Datasheet
188Kb / 20P
   PLL jitter effects on C-CAN modules of the ST10F27x
logo
Aries Electronics, Inc.
T-680 ARIES-T-680 Datasheet
380Kb / 1P
   Programming Tool
logo
Pepperl+Fuchs Inc.
UC-PROG1-USB PF-UC-PROG1-USB Datasheet
6Mb / 4P
   Programming adapter
logo
STMicroelectronics
AN2353 STMICROELECTRONICS-AN2353 Datasheet
180Kb / 18P
   Designing an application with the ST10F27x devices
logo
Tyco Electronics
2-1437507-0 MACOM-2-1437507-0 Datasheet
181Kb / 1P
   PROGRAMMING PLUG
logo
M-System Co.,Ltd.
PU-2A MSYSTEM-PU-2A Datasheet
98Kb / 2P
   PROGRAMMING UNIT
logo
CUI INC
AMT-PGRM CUI-AMT-PGRM Datasheet
324Kb / 3P
   PROGRAMMING MODULE
logo
Pepperl+Fuchs Inc.
UB-PROG4-V15 PF-UB-PROG4-V15 Datasheet
430Kb / 2P
   Programming unit
More results


Html Pages

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


Datasheet Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.NET
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com