Electronic Components Datasheet Search
  English  ▼

X  

C167CS Datasheet(PDF) 382 Page - Infineon Technologies AG

Part # C167CS
Description  16-Bit Single-Chip Microcontroller
PDF  517 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  INFINEON [Infineon Technologies AG]
Direct Link  http://www.infineon.com
Logo INFINEON - Infineon Technologies AG

C167CS Datasheet(HTML) 382 Page - Infineon Technologies AG

Back Button C167CS Datasheet HTML 378Page - Infineon Technologies AG C167CS Datasheet HTML 379Page - Infineon Technologies AG C167CS Datasheet HTML 380Page - Infineon Technologies AG C167CS Datasheet HTML 381Page - Infineon Technologies AG C167CS Datasheet HTML 382Page - Infineon Technologies AG C167CS Datasheet HTML 383Page - Infineon Technologies AG C167CS Datasheet HTML 384Page - Infineon Technologies AG C167CS Datasheet HTML 385Page - Infineon Technologies AG C167CS Datasheet HTML 386Page - Infineon Technologies AG Next Button
Zoom Inzoom in Zoom Outzoom out
 382 / 517 page
background image
C167CS
Derivatives
The On-Chip CAN Interface
User’s Manual
19-10
V2.0, 2000-07
19.2.1
CAN Interrupt Handling
The on-chip CAN module has one interrupt output, which is connected (through a
synchronization stage) to a standard interrupt node in the C167CS in the same manner
as all other interrupts of the standard on-chip peripherals. With this configuration, the
user has all control options available for this interrupt, such as enabling/disabling, level
and group priority, and interrupt or PEC service (see note below). The on-chip CAN
module is connected to an XBUS interrupt control register.
As for all other interrupts, the node interrupt request flag is cleared automatically by
hardware when this interrupt is serviced (either by standard interrupt or PEC service).
Note: As a rule, CAN interrupt requests can be serviced by a PEC channel. However,
because PEC channels only can execute single predefined data transfers (there
are no conditional PEC transfers), PEC service can only be used, if the respective
request is known to be generated by one specific source, and that no other
interrupt request will be generated in between. In practice this seems to be a rare
case.
Since an interrupt request of the CAN module can be generated due to different
conditions, the appropriate CAN interrupt status register must be read in the service
routine to determine the cause of the interrupt request. The interrupt identifier INTID (a
number) in the Port Control/Interrupt Register (PCIR) indicates the cause of an interrupt.
When no interrupt is pending, the identifier will have the value 00H.
If the value in INTID is not 00H, then there is an interrupt pending. If bit IE in the control/
status register is set also the interrupt signal to the CPU is activated. The interrupt signal
(to the interrupt node) remains active until INTID gets 00H (i.e. all interrupt requests have
been serviced) or until interrupt generation is disabled (CSR.IE = ‘0’).
Note: The interrupt node is activated only upon a 0
→ 1 transition of the CAN interrupt
signal. The CAN interrupt service routine should only be left after INTID has been
verified to be 00H.
The interrupt with the lowest number has the highest priority. If a higher priority interrupt
(lower number) occurs before the current interrupt is processed, INTID is updated and
the new interrupt overrides the last one.
INTID is also updated when the respective source request has been processed. This is
indicated by clearing the INTPND flag in the respective object’s message control register
(MCRn) or by reading the status partition of register CSR (in case of a status change
interrupt). The updating of INTID is done by the CAN state machine and takes up to 6
CAN clock cycles (1 CAN clock cycle = 1 or 2 CPU clock cycles, determined by the
prescaler bit CPS), depending on current state of the state machine.
Note: A worst case condition can occur when BRP = 00H AND the CAN controller is storing
a just received message AND the CPU is executing consecutive accesses to the CAN
module. In this rare case the maximum delay may be 26 CAN clock cycles.
The impact of this delay can be minimized by clearing bit INTPND at an early



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 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   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