データシートサーチシステム
  Japanese  ▼
ALLDATASHEET.JP

X  

STM8S データシート(PDF) 384 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) 384 Page - STMicroelectronics

Back Button STM8S Datasheet HTML 380Page - STMicroelectronics STM8S Datasheet HTML 381Page - STMicroelectronics STM8S Datasheet HTML 382Page - STMicroelectronics STM8S Datasheet HTML 383Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 384 / 467 page
background image
Controller area network (beCAN)
RM0016
384/467
DocID14587 Rev 14
Note:
As the Tx line is still active in this mode, be aware that it can disturb the communication on
the CAN bus.
23.5.3
Loop back combined with silent mode
It is also possible to combine Loop Back mode and Silent mode by setting the LBKM and
SILM bits in the CAN_DGR register. This mode can be used for a “Hot Selftest”, meaning
the beCAN can be tested like in Loop Back mode but without affecting a running CAN
system connected to the CANTX and CANRX pins. In this mode, the CANRX pin is
disconnected from the beCAN and the CANTX pin is held recessive.
Figure 145. beCAN in combined mode
23.6
Functional description
23.6.1
Transmission handling
In order to transmit a message, the application must select one empty transmit mailbox, set
up the identifier, the data length code (DLC) and the data before requesting the transmission
by setting the corresponding TXRQ bit in the CAN_MCSR register. Once the mailbox has
exited empty state, the software no longer has write access to the mailbox registers.
Immediately after the TXRQ bit has been set, the mailbox enters pending state and waits to
become the highest priority mailbox, see Transmit Priority. As soon as the mailbox has the
highest priority it will be scheduled for transmission. The transmission of the message of
the scheduled mailbox will start (enter transmit state) when the CAN bus becomes idle.
Once the mailbox has been successfully transmitted, it will become empty again. The
hardware indicates a successful transmission by setting the RQCP and TXOK bits in the
CAN_MCSR and CAN_TSR registers.
If the transmission fails, the cause is indicated by the ALST bit in the CAN_MCSR register in
case of an Arbitration Lost, and/or the TERR bit, in case of transmission error detection.
Transmit priority
By identifier:
When more than one transmit mailbox is pending, the transmission order is given by the
identifier of the message stored in the mailbox. The message with the lowest identifier value
has the highest priority according to the arbitration of the CAN protocol. If the identifier
values are equal, the lower mailbox number will be scheduled first.



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