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

X  

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

Back Button STM8S Datasheet HTML 377Page - STMicroelectronics STM8S Datasheet HTML 378Page - STMicroelectronics STM8S Datasheet HTML 379Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 381 / 467 page
background image
DocID14587 Rev 14
381/467
RM0016
Controller area network (beCAN)
427
Figure 142. beCAN operating modes
23.4
Operating modes
beCAN has three main operating modes: Initialization, Normal and Sleep. After a
hardware reset, beCAN is in sleep mode to reduce power consumption. The software
requests beCAN to enter Initialization or Sleep mode by setting the INRQ or SLEEP bits in
the CAN_MCR register. Once the mode has been entered, beCAN confirms it by setting the
INAK or SLAK bits in the CAN_MSR register. When neither INAK nor SLAK are set, beCAN
is in Normal mode. Before entering Normal mode beCAN always has to synchronize on
the CAN bus. To synchronize, beCAN waits until the CAN bus is idle, this means 11
consecutive recessive bits have been monitored on CANRX.
Note:
The beCAN controls the PG0 port (CAN_TX pin) when the beCAN is in Normal mode,
whereas the PG0 port is controlled by the PG_ODR and PG_DDR GPIO registers while the
beCAN is in Initialization mode or in Sleep mode. Therefore the PG_ODR and PG_DDR
registers must be configured in order to maintain a recessive state on CAN_TX pin.
23.4.1
Initialization mode
The software initialization can be done while the hardware is in Initialization mode. To enter
this mode the software sets the INRQ bit in the CAN_MCR register and waits until the
hardware has confirmed the request by setting the INAK bit in the CAN_MSR register.
To leave Initialization mode, the software clears the INQR bit. beCAN has exit Initialization
mode once the INAK bit has been cleared by hardware. However the Rx line has to be in
recessive state to leave this mode.
While in Initialization mode, all message transfers to and from the CAN bus are stopped and
the status of the CAN bus output CANTX is recessive (high).
Entering Initialization Mode does not change any of the configuration registers.
To initialize the CAN Controller, software has to set up the Bit Timing registers and the filter
banks. If a filter bank is not used, it is recommended to leave it non active (leave the
corresponding FACT bit in the CAN_FCRx register cleared).



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