DSPIC30F6012A-20E/PT Microchip Technology, DSPIC30F6012A-20E/PT Datasheet - Page 8
![IC DSPIC MCU/DSP 144K 64TQFP](/photos/6/81/68123/c04-066_pf_sml.jpg)
DSPIC30F6012A-20E/PT
Manufacturer Part Number
DSPIC30F6012A-20E/PT
Description
IC DSPIC MCU/DSP 144K 64TQFP
Manufacturer
Microchip Technology
Series
dsPIC™ 30Fr
Datasheets
1.DSPIC30F2011-20ISO.pdf
(66 pages)
2.DSPIC30F2011-20IP.pdf
(26 pages)
3.DSPIC30F6011A-30IPT.pdf
(234 pages)
4.DSPIC30F6011A-30IPT.pdf
(8 pages)
5.DSPIC30F6011A-30IPT.pdf
(10 pages)
6.DSPIC30F6011A-30IPT.pdf
(6 pages)
7.DSPIC30F6011A-30IPT.pdf
(8 pages)
8.DSPIC30F6011A-30IPT.pdf
(16 pages)
9.DSPIC30F6014A-20EPT.pdf
(238 pages)
Specifications of DSPIC30F6012A-20E/PT
Program Memory Type
FLASH
Program Memory Size
144KB (48K x 24)
Package / Case
64-TFQFP
Core Processor
dsPIC
Core Size
16-Bit
Speed
20 MIPS
Connectivity
CAN, I²C, SPI, UART/USART
Peripherals
AC'97, Brown-out Detect/Reset, I²S, LVD, POR, PWM, WDT
Number Of I /o
52
Eeprom Size
4K x 8
Ram Size
8K x 8
Voltage - Supply (vcc/vdd)
2.5 V ~ 5.5 V
Data Converters
A/D 16x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Product
DSCs
Data Bus Width
16 bit
Processor Series
DSPIC30F
Core
dsPIC
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
52
Data Ram Size
8 KB
Maximum Operating Temperature
+ 125 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52713-733, 52714-737, 53276-922, EWDSPIC
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, ICE4000, DM240002, DM330011
Minimum Operating Temperature
- 40 C
Package
64TQFP
Device Core
dsPIC
Family Name
dsPIC30
Maximum Speed
20 MHz
Operating Supply Voltage
3.3|5 V
Interface Type
CAN/I2C/SPI/UART
On-chip Adc
16-chx12-bit
Number Of Timers
5
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC30F008 - MODULE SKT FOR DSPIC30F 64TQFP
Lead Free Status / Rohs Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
DSPIC30F6012A-20E/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
dsPIC30F Family Reference Manual
35.3
35.3.1
35.3.2
Figure 35-2:
DS70272B-page 35-8
Note 1: The user application must write transmit data to and read received data from SPI1BUF. The SPI1TXB and
2: Using the SS1 pin in the Slave mode of operation is optional.
8-bit and 16-bit Data Transmission/Reception
Master and Slave Modes
Modes of Operation
SPI1RXB registers are memory mapped to SPI1BUF.
PROCESSOR 1 (SPI Master)
SPI Master/Slave Connection
MSTEN (SPI1CON1<5>) = 1
MSb
Serial Transmit Buffer
Serial Receive Buffer
The SPI module has flexible operating modes, which are discussed in the following sections:
• 8-bit and 16-bit Data Transmission/Reception
• Master and Slave Modes
• Framed SPI Modes
• SPI1 Receive-only Operation
• SPI1 Error Handling
The MODE16 control bit (SPI1CON1<10>) allows the module to communicate in either 8-bit or
16-bit mode. The functionality will be the same for each mode, except for the number of bits that
are received and transmitted. Additionally, the following items should be noted in this context:
• The module is reset when the value of the MODE16 bit is changed. Consequently, the bit
• Data is transmitted out of bit 7 of the SPI1SR register for 8-bit operation, while it is transmit-
• When transmitting or receiving data, 8 clock pulses at the SCK1 pin are required to shift
Data can be thought of as taking a direct path between the Most Significant bit (MSb) of one
module’s shift register and the Least Significant bit (LSb) of the other, and then into the
appropriate Transmit or Receive Buffer. The module configured as the master module provides
the serial clock and synchronization signals (as required) to the slave device. Figure 35-2 shows
the connection of the Master and Slave modules.
Shift Register
(SPI1BUF)
should not be changed during normal operation.
ted out of bit 15 for 16-bit operation. In both modes, data is shifted into bit 0 of the SPI1SR
register.
data in or out in 8-bit mode, while 16 clock pulses are required in 16-bit mode.
SPI1 Buffer
(SPI1RXB)
(SPI1TXB)
(SPI1SR)
(1)
LSb
SDO1
SCK1
SDI1
SS1
Serial Clock
SSEN (SPI1CON1<7>) = 1 and MSTEN (SPI1CON1<5>) = 0
SDI1
SDO1
SCK1
SS1
(2)
MSb
PROCESSOR 2 (SPI Slave)
Serial Transmit Buffer
Serial Receive Buffer
Shift Register
(SPI1BUF)
(SPI1RXB)
(SPI1TXB)
SPI1 Buffer
(SPI1SR)
© 2008 Microchip Technology Inc.
(1)
LSb