DSPIC30F4013T-20I/PT Microchip Technology, DSPIC30F4013T-20I/PT Datasheet

no-image

DSPIC30F4013T-20I/PT

Manufacturer Part Number
DSPIC30F4013T-20I/PT
Description
IC DSPIC MCU/DSP 48K 44TQFP
Manufacturer
Microchip Technology
Series
dsPIC™ 30Fr

Specifications of DSPIC30F4013T-20I/PT

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, POR, PWM, WDT
Number Of I /o
30
Program Memory Size
48KB (16K x 24)
Program Memory Type
FLASH
Eeprom Size
1K x 8
Ram Size
2K x 8
Voltage - Supply (vcc/vdd)
2.5 V ~ 5.5 V
Data Converters
A/D 13x12b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
44-TQFP, 44-VQFP
For Use With
AC30F006 - MODULE SKT FOR DSPIC30F 44TQFP
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
Other names
DSPIC30F4013T20IP

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DSPIC30F4013T-20I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
The dsPIC30F Family Reference Manual (DS70046B)
correctly describes the function of the dsPIC30F
devices, except for the anomalies described below.
All of the issues listed will be addressed in future
releases of the Family Reference Manual.
Errata Summary
The following list summarizes the errata described in
further detail through the remainder of this document:
1.
2.
3.
 2004 Microchip Technology Inc.
Typographical errors in several register descrip-
tions, bit descriptions, and source code examples
have been corrected.
The conditions leading to a Stack Error Trap have
been clarified.
Restrictions on the instructions that can be used at
or near the end of a DO loop have been clarified.
dsPIC30F Family Reference Manual Errata Sheet
REFERENCE MANUAL
4.
5.
6.
7.
8.
9.
10. Differences in QEI DFLTCON register among
11. The 10-bit A/D sampling requirements have
12. The 12-bit A/D sampling requirements have
13. Wake-up operation from Sleep and Idle modes
The timing for Program Space Visibility (PSV)
operations has been clarified and the effect of
instruction stalls on PSV has been corrected.
The function of the NVMADRU register has been
documented.
Run-Time Self Programming (RTSP) can be used
to program 32 instruction locations at one time, not
4 instructions as the current documentation
indicates.
Causes of Address Error Traps have been
clarified.
Control bits for tuning the 8 MHz RC oscillator
have been documented.
Clock switching operation has been clarified.
device variants has been documented.
been changed.
been changed.
has been clarified.
dsPIC30F FAMILY
DS80169E-page 1

Related parts for DSPIC30F4013T-20I/PT

DSPIC30F4013T-20I/PT Summary of contents

Page 1

... The conditions leading to a Stack Error Trap have been clarified. 3. Restrictions on the instructions that can be used at or near the end loop have been clarified.  2004 Microchip Technology Inc. dsPIC30F FAMILY REFERENCE MANUAL 4. The timing for Program Space Visibility (PSV) operations has been clarified and the effect of instruction stalls on PSV has been corrected ...

Page 2

... If the restrictions above are not followed, the DO loop may execute incorrectly. 4. Page 2-34, Section 2.9.2.5.1 Last Instruction Restrictions On page 2-34, Section 2.9.2.5.1 Last Instruction Restrictions, the following bullet should be added to the end of the bulleted list: 6. DISI instruction DS80169E-page 2  2004 Microchip Technology Inc. ...

Page 3

... Map (Continued), in the first row of the table, correct bits names for bit 8 through bit 12 in the CORCON register as follows: TABLE 1: CORCON BIT NAMES Bit Location Bit Name in CORCON (Incorrect) (Please read as EDT  2004 Microchip Technology Inc. dsPIC30F Family Reference Manual Bit Name US EDT DL2 DS80169E-page 3 ...

Page 4

... Value at POR DS80169E-page 4 U-0 R/W-0 R/W-0 — BWM<3:0> R/W-0 R/W-0 R/W-0 YWM<3:0> Writable bit U = Unimplemented bit, read as ‘0’ ‘1’ = Bit is set ‘0’ = Bit is cleared R/W-0 R/W-0 bit 8 R/W-0 R/W-0 R/W-0 XWM<3:0> bit Bit is unknown  2004 Microchip Technology Inc. ...

Page 5

... NVMCON Register Values for RTSP Program and Erase Operations Memory Type Flash PM Data EEPROM Configuration Register Note: The device configuration registers may be written to a new value without performing an erase cycle.  2004 Microchip Technology Inc. dsPIC30F Family Reference Manual . NVMCON Register Values Operation Erase 1 row (32 instr. words) Program 1 row (32 instr ...

Page 6

... PM address W Register EA TBLPAG Reg NVMADR Register NVMADRU Register 8 bits 16 bits NVMADR register loaded with contents of W register EA used during last table-write instruction. NVMADRU register loaded with contents of TBLPAG register during last table-write instruction EA<0> is Byte Select  2004 Microchip Technology Inc. ...

Page 7

... Program 1 data word into data EEPROM 0x05 = Program 1 row (16 data words) into data EEPROM 0x08 = Program 1 data word into device configuration register Legend Readable bit S = Settable bit ‘0’ = Bit is cleared  2004 Microchip Technology Inc. dsPIC30F Family Reference Manual U-0 U-0 U-0 — — ...

Page 8

... R = Readable bit -n = Value at POR DS80169E-page 8 R/W-x R/W-x R/W-x R/W-x NVMADR<15:8> R/W-x R/W-x R/W-x NVMADR<7:0> Writable bit U = Unimplemented bit, read as ‘0’ ‘1’ = Bit is set ‘0’ = Bit is cleared R/W-x bit 8 R/W-x R/W-x R/W-x bit Bit is unknown  2004 Microchip Technology Inc. ...

Page 9

... RTSP is 32 instruction word locations. Therefore important that an image of these locations be stored in general purpose RAM before an erase cycle is initiated. An erase cycle must be performed on any previously written locations before any programming is done.  2004 Microchip Technology Inc. dsPIC30F Family Reference Manual DS80169E-page 9 ...

Page 10

... NVMADRU and NVMADR registers. The above code example could be modified to perform a ‘dummy’ table write operation to capture the program memory erase address. DS80169E-page 10 NVMCON , NVMADRU , #0x55,W0 NVMKEY NVMKEY  2004 Microchip Technology Inc. ...

Page 11

... TBLWTH W3,[W0++] MOV #LOW_WORD_2,W2 MOV #HIGH_BYTE_2,W3 TBLWTL W2 [W0] , TBLWTH W3 [W0++] , MOV #LOW_WORD_3,W2 MOV #HIGH_BYTE_3,W3 TBLWTL W2 [W0] , TBLWTH W3,[W0++] ........ ........ MOV #LOW_WORD_31,W2 MOV #HIGH_BYTE_31,W3 TBLWTL W2 [W0] , TBLWTH W3,[W0++]  2004 Microchip Technology Inc. dsPIC30F Family Reference Manual ; 1st_program_word ; 2nd_program_word ; 3rd_program_word ; 4th_program_word ; 32nd_program_word DS80169E-page 11 ...

Page 12

... Registers Associated with Interrupt Controller On page 6-43, Table 6-3: Special Function Registers Associated with Interrupt Controller, row 3, Bit 0, SFR Name: IFS0, should be replaced with the following: INT0IF DS80169E-page 12 #literal” instruction or a “GOTO #literal” instruction, where  2004 Microchip Technology Inc. ...

Page 13

... Note: The OSCCON register description and functionality may vary depending on the clock sources available on the selected device. Please refer to the specific device data sheet for additional details on this register..  2004 Microchip Technology Inc. dsPIC30F Family Reference Manual R-y U-0 U-0 ...

Page 14

... To use an interrupt as a wake-up source, the CPU priority level for the interrupt must be assigned to CPU priority level 1 or greater. DS80169E-page 14 ; pointer to OSCCON ; first unlock code ; second unlock code ; write first unlock code ; write second unlock code ; ABORT the switch  2004 Microchip Technology Inc. ...

Page 15

... When not used with the PWM module, these pins may be used as general purpose I/O or another multiplexed function. Each fault pin has its own interrupt vector, interrupt flag bit, interrupt enable bit, and interrupt priority bits associated with it.  2004 Microchip Technology Inc. dsPIC30F Family Reference Manual R/W-0 R/W-0 R/W-0 PTMR < ...

Page 16

... On page 17-37, Table 17-5 Converting Three Inputs, Four Times and Four Inputs, One Timer Per Interrupt, the initialization of the SMPI <3:0> (ADCON2<5:2>) bits should be modified as follows: SMPI<3:0> = 0011 DS80169E-page 16 = 5V). DD vs. Device AD ) must be selected to ensure a AD  2004 Microchip Technology Inc. ...

Page 17

... For correct A/D conversions, the A/D conversion clock (T minimum T time of 667 nsec (for V AD Also remove Table 18-1: Typical T Operating Frequencies.  2004 Microchip Technology Inc. dsPIC30F Family Reference Manual ), and the internal sampling switch (R IC 10-bit A/D Converter Analog Input Model V ...

Page 18

... T = leakage current at the pin due to various junctions = interconnect resistance IC = sampling switch resistance SS = sample/hold capacitance (from DAC) HOLD ) must HOLD ) impedance SS . The combined imped- HOLD , is 2 After the Sampling Switch HOLD = DAC capacitance = negligible PIN  2004 Microchip Technology Inc. ...

Page 19

... U1STA MOV #0x8800,W0 MOV W0,U1MODE BSET U1STA,#UTXEN BSET IEC0,#U1TXIE BSET IEC0,#U1RXIE  2004 Microchip Technology Inc. dsPIC30F Family Reference Manual ; Set Baudrate ; Set UART TX interrupt priority ; ; ; Set UART RX interrupt priority ; ; ; Enable UART for 8-bit data parity, 1 STOP bit, ...

Page 20

... Transmit/Receive (UART1), Address Detect Enabled ; Set Baudrate ; Set UART TX interrupt priority ; ; ; Set UART RX interrupt priority ; ; ; Enable address detect ; UART1 enabled for 9-bit data parity, 1 STOP bit, ; wakeup enabled ; Enable transmit ; Enable transmit interrupts ; Enable receive interrupts  2004 Microchip Technology Inc. ...

Page 21

... Bit Location Bit Name in SFR (Incorrect) (Please read as) IFS0<14> BCLIF IFS0<13> I2CIF IEC0<14> BCLIE IEC0<13> I2CIE IPC3<10:8> BCLIP<2:0> IPC3<6:4> I2CIP<2:0>  2004 Microchip Technology Inc. dsPIC30F Family Reference Manual 2 C Control R/W-1 R/W-0 R/W-0 HC SCLREL IPMIEN A10M R/W-0 R/W-0 R/W ACKDT ...

Page 22

... CAN2 module registers should be changed/corrected as follows: DS80169E-page 22 f BCG<11:0> CSCK 2 S Data 2 S Data 2 S data transfers will be MSb left justified. The MSb of the data word will be CY –  2004 Microchip Technology Inc. ...

Page 23

... Microchip Technology Inc. dsPIC30F Family Reference Manual DS80169E-page 23 ...

Page 24

... Family Reference Manual DS80169E-page 24  2004 Microchip Technology Inc. ...

Page 25

... Microchip Technology Inc. dsPIC30F Family Reference Manual DS80169E-page 25 ...

Page 26

... Family Reference Manual DS80169E-page 26  2004 Microchip Technology Inc. ...

Page 27

... Microchip Technology Inc. dsPIC30F Family Reference Manual DS80169E-page 27 ...

Page 28

... Family Reference Manual DS80169E-page 28  2004 Microchip Technology Inc. ...

Page 29

... Segment Configuration Bit Group, add the following note to the end. Note: If the code protection configuration fuse group (FGS<GCP:GWRP>) bits have been programmed, an erase of the entire code-protected device is only possible at voltages, V  2004 Microchip Technology Inc. dsPIC30F Family Reference Manual >= 4.5 volts. DD DS80169E-page 29 ...

Page 30

... IMV<1:0> R/W-0 U-0 QECK<2:0> — Writable bit U = Unimplemented bit, read as ‘0’ ‘1’ = Bit is set ‘0’ = Bit is cleared document correctly depicts the R/W-0 CEID bit 8 U-0 U-0 U-0 — — — bit Bit is unknown  2004 Microchip Technology Inc. ...

Page 31

... Erratas #19, #24 and #25. New Errata #32 – updated document and Figure 17-21. Added new Figure 17-21a 65/2004) Revision E (06/2004) Additions made to Errata #30, Errata #32 and Errata #34. Errata #44 was updated. Added new Errata #33 and Errata #35.  2004 Microchip Technology Inc. dsPIC30F Family Reference Manual DS80169E-page 31 ...

Page 32

... Family Reference Manual NOTES: DS80169E-page 32  2004 Microchip Technology Inc. ...

Page 33

... PICLAB, PICtail, PowerCal, PowerInfo, PowerMate, PowerTool, rfLAB, rfPICDEM, Select Mode, Smart Serial, SmartTel and Total Endurance are trademarks of Microchip Technology Incorporated in the U.S.A. and other countries. SQTP is a service mark of Microchip Technology Incorporated in the U.S.A. All other trademarks mentioned herein are property of their respective companies. ...

Page 34

... Via Quasimodo, 12 20025 Legnano (MI) Milan, Italy Tel: 39-0331-742611 Fax: 39-0331-466781 Netherlands Waegenburghtplein 4 NL-5152 JR, Drunen, Netherlands Tel: 31-416-690399 Fax: 31-416-690340 United Kingdom 505 Eskdale Road Winnersh Triangle Wokingham Berkshire, England RG41 5TU Tel: 44-118-921-5869 Fax: 44-118-921-5820 05/28/04  2004 Microchip Technology Inc. ...

Related keywords