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

X  

STR720 数据表(PDF) 245 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) 245 Page - STMicroelectronics

Back Button STR720 Datasheet HTML 241Page - STMicroelectronics STR720 Datasheet HTML 242Page - STMicroelectronics STR720 Datasheet HTML 243Page - STMicroelectronics STR720 Datasheet HTML 244Page - STMicroelectronics STR720 Datasheet HTML 245Page - STMicroelectronics STR720 Datasheet HTML 246Page - STMicroelectronics STR720 Datasheet HTML 247Page - STMicroelectronics STR720 Datasheet HTML 248Page - STMicroelectronics STR720 Datasheet HTML 249Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 245 / 401 page
background image
STR720 - CONTROLLER AREA NETWORK (CAN)
245/401
18.7.5
Configuring a Receive Object
Table 55 shows how a Receive Object should be initialized.
The Arbitration Registers values (ID28-0 and Xtd bit) are provided by the application. They
define the identifier and type of accepted received messages. If an 11-bit Identifier (“Standard
Frame”) is used, it is programmed to ID28 - ID18. Then ID17 - ID0 can be disregarded. When
a Data Frame with an 11-bit Identifier is received, ID17 - ID0 will be set to ‘0’.
If the RxIE bit is set, the IntPnd bit will be set when a received Data Frame is accepted and
stored in the Message Object.
The Data Length Code (DLC3-0) is provided by the application. When the Message Handler
stores a Data Frame in the Message Object, it will store the received Data Length Code and
eight data bytes. If the Data Length Code is less than 8, the remaining bytes of the Message
Object will be overwritten by unspecified values.
The Mask Registers (Msk28-0, UMask, MXtd, and MDir bits) may be used (UMask=’1’) to
allow groups of Data Frames with similar identifiers to be accepted. The Dir bit should not be
masked in typical applications.
18.7.6
Handling Received Messages
The CPU may read a received message any time via the IFn Interface registers. The data
consistency is guaranteed by the Message Handler state machine.
Typically, the CPU will write first 0x007F to the Command Mask Register and then the number
of the Message Object to the Command Request Register. This combination will transfer the
whole received message from the Message RAM into the Message Buffer Register.
Additionally, the bits NewDat and IntPnd are cleared in the Message RAM (not in the Message
Buffer).
If the Message Object uses masks for acceptance filtering, the arbitration bits shows which of
the matching messages have been received.
The actual value of NewDat shows whether a new message has been received since the last
time this Message Object was read. The actual value of MsgLst shows whether more than
one message has been received since the last time this Message Object was read. MsgLst
will not be automatically reset.
Table 55. Initialization of a Receive Object
1
appl.
appl.
appl.
1000
appl.
0
0
0
0
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