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

X  

STM8S 데이터시트(PDF) 382 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) 382 Page - STMicroelectronics

Back Button 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 STM8S Datasheet HTML 386Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 382 / 467 page
background image
Controller area network (beCAN)
RM0016
382/467
DocID14587 Rev 14
23.4.2
Normal mode
Once the initialization has been done, the software must request the hardware to enter
Normal mode, to synchronize on the CAN bus and start reception and transmission. This
request to enter Normal mode is done by clearing the INRQ bit in the CAN_MCR register.
Afterwards, the beCAN is synchronized with the data transfer on the CAN bus by waiting for
the occurrence of a sequence of 11 consecutive recessive bits (Bus Idle state) before
finishing the switch to Normal mode and being ready to take part in bus activities. The
switch completion is confirmed by hardware by clearing the INAK bit in the CAN_MSR
register.
The initialization of the filter values is independent from Initialization mode but must be done
while the filter bank is not active (corresponding FACTx bit cleared). The filter bank scale
and mode configuration must be configured in initialization mode.
23.4.3
Sleep mode (low power)
To reduce power consumption, beCAN has a low power mode called Sleep mode. This
mode is entered on software request by setting the SLEEP bit in the CAN_MCR register. In
this mode, the beCAN clock is stopped, however software can still access the beCAN
mailboxes.
Note:
If software requests entry to initialization mode by setting the INRQ bit while beCAN is in
sleep mode, it must also clear the SLEEP bit.
beCAN can be woken up (exit Sleep mode) either by software clearing the SLEEP bit or on
detection of CAN bus activity.
On CAN bus activity detection, hardware automatically performs the wakeup sequence by
clearing the SLEEP bit if the AWUM bit in the CAN_MCR register is set. If the AWUM bit is
cleared, software has to clear the SLEEP bit when a wakeup interrupt occurs, in order to exit
from sleep mode.
Note:
If the wakeup interrupt is enabled (WKUIE bit set in CAN_IER register) a wakeup interrupt
will be generated on detection of CAN bus activity, even if the beCAN automatically
performs the wakeup sequence.
After the SLEEP bit has been cleared, Sleep mode is exited once beCAN has synchronized
with the CAN bus, refer to Figure 142: beCAN operating modes. However the Rx line has to
be in recessive state to leave this mode. Sleep mode is exited once the SLAK bit has been
cleared by hardware.
23.4.4
Time triggered communication mode
The TTCM (Time Triggered Communication Mode in CAN_MCR) bit has to be set to enable
the Time Triggered Communication mechanism.
In this mode, the internal counter of the CAN hardware is activated and used to generate the
Time Stamp value stored in the CAN_MTSRH and CAN_MTSRL registers (for Rx and Tx
mailboxes). The internal counter is captured on the sample point of the Start Of Frame bit in
both reception and transmission.
The TGT bit (Transmit Global Time in CAN_MDLCR) enables automatic transmission of the
contents of both CAN_MTSRH and CAN_MTSRL in the two last data bytes of the message
(refer to the TTCAN specification ISO 11898-4).



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