Electronic Components Datasheet Search
  English  ▼

X  

CP3UB26 Datasheet(PDF) 116 Page - National Semiconductor (TI)

[Old version datasheet] Texas Instruments acquired National semiconductor.
Part # CP3UB26
Description  Reprogrammable Connectivity Processor with USB and CAN Interfaces
PDF  268 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  NSC [National Semiconductor (TI)]
Direct Link  http://www.national.com
Logo NSC - National Semiconductor (TI)

CP3UB26 Datasheet(HTML) 116 Page - National Semiconductor (TI)

Back Button CP3UB26 Datasheet HTML 112Page - National Semiconductor (TI) CP3UB26 Datasheet HTML 113Page - National Semiconductor (TI) CP3UB26 Datasheet HTML 114Page - National Semiconductor (TI) CP3UB26 Datasheet HTML 115Page - National Semiconductor (TI) CP3UB26 Datasheet HTML 116Page - National Semiconductor (TI) CP3UB26 Datasheet HTML 117Page - National Semiconductor (TI) CP3UB26 Datasheet HTML 118Page - National Semiconductor (TI) CP3UB26 Datasheet HTML 119Page - National Semiconductor (TI) CP3UB26 Datasheet HTML 120Page - National Semiconductor (TI) Next Button
Zoom Inzoom in Zoom Outzoom out
 116 / 268 page
background image
www.national.com
116
ity is combined by the 4-bit TXPRI value and the 4-bit buffer
number (0...14) as shown below. The lowest resulting num-
ber results in the highest transmit priority.
Table 44 shows the transmit priority configuration if the pri-
ority is TXPRI = 0 for all transmit buffers:
Table 45 shows the transmit priority configuration if TXPRI
is different from the buffer number:
Note: If two buffers have the same priority (PRI), the buffer
with the lower buffer number will have the higher priority.
18.6.3
Transmit Procedure
The transmission of a CAN message must be executed as
follows (see also Figure 44)
1. Configure
the
CNSTAT
status
field
as
TX_NOT_ACTIVE. If the status is TX_BUSY, a previ-
ous transmit request is still pending and software has
no access to the data contents of the buffer. In that
case, software may choose to wait until the buffer be-
comes available again as shown. Other options are to
exit from the update routine until the buffer has been
transmitted with an interrupt generated, or the trans-
mission is aborted by an error.
2. Load buffer identifier and data registers. (For remote
frames the RTR bit of the identifier needs to be set and
loading data bytes can be omitted.)
3. Configure the CNSTAT status field to the desired value:
— TX_ONCE to trigger the transmission process of a
single frame.
— TX_ONCE_RTR to trigger the transmission of a sin-
gle data frame and then wait for a received remote
frame to trigger consecutive data frames.
— TX_RTR waits for a remote frame to trigger the trans-
mission of a data frame.
Writing TX_ONCE or TX_ONCE_RTR in the CNSTAT sta-
tus field will set the internal transmit request for the CAN
module.
If a buffer is configured as TX_RTR and a remote frame is
received, the data contents of the addressed buffer will be
transmitted automatically without further CPU activity.
Figure 44.
Buffer Write Routine
74
30
TXPRI
BUFFER #
Table 44
Transmit Priority (TXPRI = 0)
TXPRI
Buffer
Number
PRI
TX Priority
000
Highest
011
:
:
:
:
:
:
:
:
014
14
Lowest
Table 45
Transmit Priority (TXPRI not 0)
TXPRI
Buffer
Number
PRI
TX Priority
14
0
224
Lowest
13
1
209
12
2
194
11
3
179
10
4
164
95
149
86
134
77
119
68
104
59
89
410
74
311
59
212
44
113
29
0
14
14
Highest
Exit
Write_buffer
Write
TX_ONCE
or
TX_ONCE_RTR
or
TX_RTR
Write
TX_NOT_ACTIVE
Write ID/data
TX_BUSYx?
Yes
No
DS041



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


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
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