поискавой системы для электроныых деталей
  Russian  ▼
ALLDATASHEETRU.COM

X  

RM0319 датащи(PDF) 197 Page - STMicroelectronics

номер детали RM0319
подробное описание детали  SPEAr320S architecture and functionality
PDF  368 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
производитель  STMICROELECTRONICS [STMicroelectronics]
домашняя страница  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

RM0319 датащи(HTML) 197 Page - STMicroelectronics

Back Button RM0319 Datasheet HTML 193Page - STMicroelectronics RM0319 Datasheet HTML 194Page - STMicroelectronics RM0319 Datasheet HTML 195Page - STMicroelectronics RM0319 Datasheet HTML 196Page - STMicroelectronics RM0319 Datasheet HTML 197Page - STMicroelectronics RM0319 Datasheet HTML 198Page - STMicroelectronics RM0319 Datasheet HTML 199Page - STMicroelectronics RM0319 Datasheet HTML 200Page - STMicroelectronics RM0319 Datasheet HTML 201Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 197 / 368 page
background image
RM0319
Controller area network ports (CAN)
Doc ID 022640 Rev 3
197/368
Receive/Transmit Priority
The receive/transmit priority of the message object is attached to the message number.
Message object 1 has the highest priority, while message object 32 has the lowest priority. If
more than one transmission requests are pending, they are serviced due to the priority of
the corresponding message object.
15.4
Operation
15.4.1
Initializing the software
The software initialization is started by setting the bit Init in the CAN Control register, either
by software or by a hardware reset, or by going Bus_Off.
While Init is set, any message transfer from and to the CAN bus is stopped, the status of the
CAN bus output CAN_TX is recessive (HIGH). The counters of the EML are unchanged.
Setting Init does not change any configuration register.
To initialize the CAN Controller, the CPU has to set up the Bit Timing register and each
message object. If a message object is not needed, it is sufficient to set its MsgVal bit to “not
valid”. Otherwise,the whole message object has to be initialized.
To enable access to the Bit Timing register and to the BRP Extension register for the
configuration of the bit timing, you must set both Init and CCE bits in the CAN Control
register.
Resetting Init (by CPU only) finishes the software initialization. Afterwards, the Bit Stream
Processor BSP synchronizes itself to the data transfer on the CAN bus by waiting for the
occurence of a sequence of 11 consecutive recessive bits (= Bus Idle) before it can take
part in bus activities, and then starts the message transfer.
The initialization of the message objects is independent of the 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, the CPU has to
start by setting MsgVal to “not valid”. When the configuration is completed, MsgVal is set to
valid again.
15.4.2
Transferring messages
Once the CAN controller is initialized and Init is reset to zero, the CAN core synchronizes
itself to the CAN bus and starts the message transfer.
Received messages are stored into 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 is stored into 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.
The CPU may read or write each message any time via the interface registers, the message
handler guarantees data consistency in case of concurrent accesses.
Messages to be transmitted are updated by the CPU. If a permanent message object
(arbitration and control bits set up during configuration) exists for the message, only the data
bytes are updated and then TxRqst bit with NewDat bit are set to start the transmission. If



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



Вашему бизинису помогли Аллдатащит?  [ DONATE ] 

Что такое Аллдатащит   |   реклама   |   контакт   |   Конфиденциальность   |   Ссылка на техническое описание    |   обмен ссыками   |   поиск по производителю
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