数据搜索系统,热门电子元器件搜索
  Chinese  ▼
ALLDATASHEETCN.COM

X  

STR720 数据表(PDF) 204 Page - STMicroelectronics

部件名 STR720
功能描述  ARM720T 16/32-BIT MCU WITH 16K RAM, USB, CAN, 3 TIMERS, ADC, 6 COMMUNICATIONS INTERFACES
PDF  401 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
制造商  STMICROELECTRONICS [STMicroelectronics]
网页  http://www.st.com
标志 STMICROELECTRONICS - STMicroelectronics

STR720 数据表(HTML) 204 Page - STMicroelectronics

Back Button STR720 Datasheet HTML 200Page - STMicroelectronics STR720 Datasheet HTML 201Page - STMicroelectronics STR720 Datasheet HTML 202Page - STMicroelectronics STR720 Datasheet HTML 203Page - STMicroelectronics STR720 Datasheet HTML 204Page - STMicroelectronics STR720 Datasheet HTML 205Page - STMicroelectronics STR720 Datasheet HTML 206Page - STMicroelectronics STR720 Datasheet HTML 207Page - STMicroelectronics STR720 Datasheet HTML 208Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 204 / 401 page
background image
STR720 - CONTROLLER AREA NETWORK (CAN)
204/401
18.4 Functional Description
18.4.1
Software Initialization
The software initialization is started by setting the Init bit in the CAN Control Register, either
by a software or a hardware reset, or by going to Bus_Off state.
While the Init bit is set, all message transfers to and from the CAN bus are stopped and the
status of the CAN_TX output pin is recessive (HIGH). The Error Management Logic (EML)
counters are unchanged. Setting the Init bit does not change any configuration register.
To initialize the CAN Controller, software has to set up the Bit Timing Register and each
Message Object. If a Message Object is not required, the corresponding MsgVal bit should be
cleared. Otherwise, the entire Message Object has to be initialized.
Access to the Bit Timing Register and to the BAud Rate Prescaler (BRP) Extension Register
for configuring bit timing is enabled when the Init and Configuration Change Enable (CCE) bits
in the CAN Control Register are both set.
Resetting the Init bit (by CPU only) finishes the software initialization. Later, the Bit Stream
Processor (BSP) (see Section 18.7.10:
Configuring the Bit Timing on page 249)
synchronizes itself to the data transfer on the CAN bus by waiting for the occurrence of a
sequence of 11 consecutive recessive bits (
≡ Bus Idle) before it can take part in bus activities
and start the message transfer.
The initialization of the Message Objects is independent of Init and can be done on the fly, but
the Message Objects should all be configured to particular identifiers or set to not valid before
the BSP starts the message transfer.
To change the configuration of a Message Object during normal operation, software has to
start by resetting the corresponding MsgVal bit. When the configuration is completed, MsgVal
is set again.
18.4.2
CAN Message Transfer
Once the CAN Peripheral is initialized and Init bit is cleared, the CAN Peripheral Core
synchronizes itself to the CAN bus and starts the message transfer.
Received messages are stored in their appropriate Message Objects if they pass the
Message Handler’s acceptance filtering. The whole message including all arbitration bits,
DLC and eight data bytes are stored in the Message Object. If the Identifier Mask is used, the
arbitration bits which are masked to “don’t care” may be overwritten in the Message Object.
Software can read or write each message any time through the Interface Registers and the
Message Handler guarantees data consistency in case of concurrent accesses.
Messages to be transmitted are updated by the application software. If a permanent Message
Object (arbitration and control bits are set during configuration) exists for the message, only
the data bytes are updated and the TxRqst bit with NewDat bit are set to start the
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


链接网址



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