поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

RM0319 датащи(PDF) 207 Page - STMicroelectronics

номер детали RM0319
подробное описание детали  SPEAr320S architecture and functionality
PDF  368 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

RM0319 датащи(HTML) 207 Page - STMicroelectronics

Back Button RM0319 Datasheet HTML 203Page - STMicroelectronics RM0319 Datasheet HTML 204Page - STMicroelectronics RM0319 Datasheet HTML 205Page - STMicroelectronics RM0319 Datasheet HTML 206Page - STMicroelectronics RM0319 Datasheet HTML 207Page - STMicroelectronics RM0319 Datasheet HTML 208Page - STMicroelectronics RM0319 Datasheet HTML 209Page - STMicroelectronics RM0319 Datasheet HTML 210Page - STMicroelectronics RM0319 Datasheet HTML 211Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 207 / 368 page
background image
RM0319
Controller area network ports (CAN)
Doc ID 022640 Rev 3
207/368
15.4.18
Handling interrupts
If several interrupts are pending, the CAN Interrupt register will point to the pending interrupt
with the highest priority, disregarding their chronological order. An interrupt remains pending
until the CPU has cleared it.
The Status Interrupt has the highest priority. Among the message interrupts, the interrupt
priority of the message object decreases as the message number increases.
A message interrupt is cleared by clearing the message object IntPnd bit. The Status
Interrupt is cleared by reading the Status register.
The interrupt identifier IntId in the Interrupt register indicates the cause of the interrupt.
When no interrupt is pending, the register will hold the value zero. If the value of the
Interrupt register is different from zero, then there is an interrupt pending and, if IE is set, the
interrupt line to the CPU, IRQ_B, is active. The interrupt line remains active until the
Interrupt register is back to value zero (the cause of the interrupt is reset) or until IE is reset.
The value 0x8000 indicates that an interrupt is pending because the CAN Core has updated
(not necessarily changed) the Status register (Error Interrupt or Status Interrupt). This
interrupt has the highest priority. The CPU can update (reset) the status bits RxOk, TxOk
and LEC, but a write access of the CPU to the Status register can never generate or reset
an interrupt.
All other values indicate that the source of the interrupt is one of the message objects, IntId
points to the pending message interrupt with the highest interrupt priority.
The CPU controls whether a change of the Status register may cause an interrupt (bits EIE
and SIE in the CAN Control register) and whether the interrupt line becomes active when
the Interrupt register is different from zero (bit IE in the CAN Control register). The Interrupt
register will be updated even when IE is reset.
The CPU has two possibilities to follow the source of a message interrupt. First, it can follow
the IntId in the Interrupt register and, second, it can poll the Interrupt Pending register.
An interrupt service routine reading the message that is the source of the interrupt may read
the message and reset the message object’s IntPnd at the same time (bit ClrIntPnd in the
Command Mask register). When IntPnd is cleared, the Interrupt register will point to the next
message object with a pending interrupt.
15.4.19
Configuring the bit timing
Even if minor errors in the configuration of the CAN bit timing do not result in immediate
failure, the performance of a CAN network can be reduced significantly.
In many cases, the CAN bit synchronisation will amend a faulty configuration of the CAN bit
timing to such a degree that only occasionally an error frame is generated. In the case of
arbitration, however, when two or more CAN nodes simultaneously try to transmit a frame, a
misplaced sample point may cause one of the transmitters to become error passive.
The analysis of such sporadic errors requires a detailed knowledge of the CAN bit
synchronisation inside a CAN node and the interaction of the CAN nodes on the CAN bus.
Bit time and time rate
CAN supports bit rates in the range of lower than 1 kBit/s up to 1000 kBit/s. Each member of
the CAN network has its own clock generator, usually a quartz oscillator. The timing
parameter of the bit time (for instance, the reciprocal of the bit rate) can be configured



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


датащи скачать

Go To PDF Page


ссылки URL



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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