DSPIC30F6010A MICROCHIP [Microchip Technology], DSPIC30F6010A Datasheet - Page 132

no-image

DSPIC30F6010A

Manufacturer Part Number
DSPIC30F6010A
Description
High-Performance, 16-bit Digital Signal Controllers
Manufacturer
MICROCHIP [Microchip Technology]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DSPIC30F6010A-20E/PF
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
DSPIC30F6010A-20E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
DSPIC30F6010A-20E/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
DSPIC30F6010A-20I/PF
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
DSPIC30F6010A-20I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
DSPIC30F6010A-20I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
DSPIC30F6010A-30I/
Manufacturer:
TI
Quantity:
7 880
Part Number:
DSPIC30F6010A-30I/PF
Manufacturer:
AD
Quantity:
2 100
Part Number:
DSPIC30F6010A-30I/PF
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
DSPIC30F6010A-30I/PF
0
Part Number:
DSPIC30F6010A-30I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
DSPIC30F6010A-30I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
DSPIC30F6010A-30I/PT
0
dsPIC30F6010A/6015
19.5.6
Transmit interrupts can be divided into 2 major groups,
each including various conditions that generate
interrupts:
• Transmit Interrupt
At least one of the three transmit buffers is empty (not
scheduled) and can be loaded to schedule a message
for transmission. Reading the TXnIF flags will indicate
which transmit buffer is available and caused the
interrupt.
• Transmit Error Interrupts
A transmission error interrupt will be indicated by the
ERRIF flag. This flag shows that an error condition
occurred. The source of the error can be determined by
checking the error flags in the CAN Interrupt STATUS
register, CiINTF. The flags in this register are related to
receive and transmit errors.
• Transmitter Warning Interrupt
The TXWAR bit indicates that the Transmit Error Counter
has reached the CPU warning limit of 96.
• Transmitter Error Passive
The TXEP bit (CiINTF<12>) indicates that the Transmit
Error Counter has exceeded the Error Passive limit of
127 and the module has gone to Error Passive state.
• Bus Off
The TXBO bit (CiINTF<13>) indicates that the Transmit
Error Counter has exceeded 255 and the module has
gone to Bus Off state.
FIGURE 19-2:
DS70150E-page 132
Input Signal
T
Q
TRANSMIT INTERRUPTS
Sync
CAN BIT TIMING
Segment
Prop
Segment 1
Phase
Sample Point
19.6
All nodes on any particular CAN bus must have the
same nominal bit rate. In order to set the baud rate, the
following parameters have to be initialized:
• Synchronization jump width
• Baud rate prescaler
• Phase segments
• Length determination of Phase2 Seg
• Sample point
• Propagation segment bits
19.6.1
All controllers on the CAN bus must have the same baud
rate and bit length. However, different controllers are not
required to have the same master oscillator clock. At dif-
ferent clock frequencies of the individual controllers, the
baud rate has to be adjusted by adjusting the number of
time quanta in each segment.
The Nominal Bit Time can be thought of as being
divided into separate non-overlapping time segments.
These segments are shown in
• Synchronization segment (Sync Seg)
• Propagation time segment (Prop Seg)
• Phase segment 1 (Phase1 Seg)
• Phase segment 2 (Phase2 Seg)
The time segments and also the nominal bit time are
made up of integer units of time called time quanta or
T
of 8 T
the minimum nominal bit time is 1 μsec, corresponding
to a maximum bit rate of 1 MHz.
Q
. By definition, the nominal bit time has a minimum
Q
and a maximum of 25 T
Baud Rate Setting
BIT TIMING
Segment 2
Phase
© 2011 Microchip Technology Inc.
Figure
Q
. Also, by definition,
19-2.
Sync

Related parts for DSPIC30F6010A