전자부품 데이터시트 검색엔진
  Korean  ▼
ALLDATASHEET.CO.KR

X  

STM8S 데이터시트(PDF) 388 Page - STMicroelectronics

부품명 STM8S
상세설명  STM8S Series and STM8AF Series 8-bit microcontrollers
PDF  467 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
제조업체  STMICROELECTRONICS [STMicroelectronics]
홈페이지  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

STM8S 데이터시트(HTML) 388 Page - STMicroelectronics

Back Button STM8S Datasheet HTML 384Page - STMicroelectronics STM8S Datasheet HTML 385Page - STMicroelectronics STM8S Datasheet HTML 386Page - STMicroelectronics STM8S Datasheet HTML 387Page - STMicroelectronics STM8S Datasheet HTML 388Page - STMicroelectronics STM8S Datasheet HTML 389Page - STMicroelectronics STM8S Datasheet HTML 390Page - STMicroelectronics STM8S Datasheet HTML 391Page - STMicroelectronics STM8S Datasheet HTML 392Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 388 / 467 page
background image
Controller area network (beCAN)
RM0016
388/467
DocID14587 Rev 14
If the application does not release the mailbox, the next valid message will be stored in the
FIFO which enters pending_2 state (FMP[1:0] = 0b10). The storage process is repeated for
the next valid message putting the FIFO into pending_3 state (FMP[1:0] = 0b11). At this
point, the software must release the output mailbox by setting the RFOM bit, so that a
mailbox is free to store the next valid message. Otherwise the next valid message received
will cause a loss of message.
Refer also to Section 23.6.4: Message storage.
Overrun
Once the FIFO is in pending_3 state (i.e. the three mailboxes are full) the next valid
message reception will lead to an overrun and a message will be lost. The hardware
signals the overrun condition by setting the FOVR bit in the CAN_RFR register. Which
message is lost depends on the configuration of the FIFO:
–
If the FIFO lock function is disabled (RFLM bit in the CAN_MCR register cleared)
the last message stored in the FIFO will be overwritten by the new incoming
message. As a result, the last message is always available to the application.
Note:
The previously received messages will stay in their positions in the FIFO, only the last one
will be overwritten.
–
If the FIFO lock function is enabled (RFLM bit in the CAN_MCR register set) the
most recent message will be discarded and the software will have the three oldest
messages in the FIFO available.
Reception related interrupts
On the storage of the first message in the FIFO - FMP[1:0] bits change from 0b00 to 0b01 -
an interrupt is generated if the FMPIE bit in the CAN_IER register is set.
When the FIFO becomes full (i.e. a third message is stored) the FULL bit in the CAN_RFR
register is set and an interrupt is generated if the FFIE bit in the CAN_IER register is set.
On overrun condition, the FOVR bit is set and an interrupt is generated if the FOVIE bit in
the CAN_IER register is set.
23.6.3
Identifier filtering
In the CAN protocol the identifier of a message is not associated with the address of a node
but related to the content of the message. Consequently a transmitter broadcasts its
message to all receivers. On message reception a receiver node decides - depending on
the identifier value - whether the software needs the message or not. If the message is
needed, it is copied into the RAM. If not, the message must be discarded without
intervention by the software.
To fulfil this requirement, the beCAN Controller provides 6 configurable and scalable filter
banks (5:0) in order to receive only the messages the software needs. This hardware
filtering saves CPU resources which would be otherwise needed to perform filtering by
software. Each filter bank x consists of eight 8-bit registers, CAN_FxR[8:1].



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



ALLDATASHEET 가 귀하에 도움이 되셨나요?  [ DONATE ] 

Alldatasheet는?   |   광고문의   |   운영자에게 연락하기   |   개인정보취급방침   |   링크 투 데이터시트    |   링크교환   |   제조사별 검색
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