DSPIC30F6011T-20I/PF Microchip Technology, DSPIC30F6011T-20I/PF Datasheet - Page 7

no-image

DSPIC30F6011T-20I/PF

Manufacturer Part Number
DSPIC30F6011T-20I/PF
Description
IC DSPIC MCU/DSP 132K 64TQFP
Manufacturer
Microchip Technology
Series
dsPIC™ 30Fr

Specifications of DSPIC30F6011T-20I/PF

Core Processor
dsPIC
Core Size
16-Bit
Speed
20 MIPS
Connectivity
CAN, I²C, SPI, UART/USART
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
52
Program Memory Size
132KB (44K x 24)
Program Memory Type
FLASH
Eeprom Size
2K x 8
Ram Size
6K x 8
Voltage - Supply (vcc/vdd)
2.5 V ~ 5.5 V
Data Converters
A/D 16x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
64-TQFP, 64-VQFP
For Use With
XLT64PT4 - SOCKET TRAN ICE 64MQFP/TQFPAC164313 - MODULE SKT FOR PM3 64PFAC30F002 - MODULE SOCKET DSPIC30F 64TQFP
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Other names
DSPIC30F6011T20IP

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DSPIC30F6011T-20I/PF
Manufacturer:
Microchip Technology
Quantity:
10 000
13. Module: Data Converter Interface – Slave
FIGURE 1:
 2004 Microchip Technology Inc.
The Data Converter Interface (DCI) module does
not function correctly in Slave mode when the
following conditions are true:
• The DCI module is configured to transmit/
• The frame length chosen is longer than 1 word,
Work around
The following work around may be applied to
enable DCI communication in Slave mode when it
is configured to transmit one serial clock after the
frame synchronization pulse is received in a
multi-word frame:
1. Set the DJST bit to ‘1’.
2. Enable an additional time slot immediately
3. Enable an additional transmit/receive buffer
4. Shift the data word by 1 bit to the right and load
receive one serial clock (bit clock) after the
frame synchronization pulse,
DJST(DCICON1<5>) = 0.
COFSG(DCICON2<8:5>) > 0000.
CSCK
COFS
Data
Note 1: The Slave mode operation shown in this figure uses the DCI module’s operation with DJST = 1, to create a
following
communication.
word (modify COFSG bits) or an additional bit
per word (modify WS) for each time slot
intended for communication.
the transmit buffer word(s), such that the LS Bit
of the original data word to be transmitted is
loaded into the additionally enabled bit of the
transmit buffer register, TXBUFn, or the MS bit
of the additionally enabled transmit buffer,
TXBUFn+1.
2: Note that the actual data intended for transmission on time slot 0 is now straddled across two time slots –
3: Data loaded into TXBUF0 contains 15 MS bits of the actual 16-bit data to be transmitted, while the MS bit of
4: Not all serial clock pulses are shown in this timing diagram.
Mode
work around for the erratum associated with the DCI module when DJST = 0.
time slot 0 and time slot 1. The MS bit of time slot 0 is ‘0’. While the MS bit of time slot 1 is actually the LS
bit of the data intended for transmission.
TXBUF0 is cleared.
each
DCI SLAVE WORK AROUND
0
MSB
time
Data from TXBUF0
Time Slot 0
slot
Actual Data to be transmitted
dsPIC30F6011/6012/6013/6014
intended
Advance Information
for
Frame Synch and first data bit sampled here
LSB
+ 1
EXAMPLE 13:
BCLR
MOV
RRC
RRC
MOV
MOV
MOV
RRC
RRC
MOV
MOV
LSB
This work around is now demonstrated by an
example.
Assume, the application needs the DCI module to
act as a Slave transmitting 1 serial clock after the
frame synchronization pulse is received. Further,
assume that the application needs to transmit
16-bit data word on Time Slot 0 and the communi-
cation is over a 256*F
interrupt frequency we enable all 4 transmit
buffers. The DCI module SFRs should be
initialized as follows before being enabled:
An example of loading the DCI Transmit buffers for
the configuration above is shown in Example 13. A
timing diagram in Figure 1 illustrates the various
signals for this example. A similar rule may be
applied to reading the received data from the
RXBUFn SFRs.
- DCICON1 = 0x0720, DCICON2 = 0x0DEF
SR, #C
My1stTxDataWord, W0
W0, W0
W1, W1
W0, TXBUF0
W1, TXBUF1
My2ndTxDataWord, W0
W0, W0
W1, W1
W0, TXBUF2
W1, TXBUF3
DCICON3 = 0x0000, TSCON = RSCON =
0x0003
Data from TXBUF1
Time Slot 1
S
channel. In order to reduce
DS80183D-page 7

Related parts for DSPIC30F6011T-20I/PF