DSPIC30F4011T-20E/ML Microchip Technology, DSPIC30F4011T-20E/ML Datasheet
![IC,DSP,16-BIT,CMOS,LLCC,44PIN,PLASTIC](/photos/6/81/68122/150-44-qfn_sml.jpg)
DSPIC30F4011T-20E/ML
Specifications of DSPIC30F4011T-20E/ML
Related parts for DSPIC30F4011T-20E/ML
DSPIC30F4011T-20E/ML Summary of contents
Page 1
... The errata described in this section will be addressed in future revisions of dsPIC30F4011 dsPIC30F4012 devices. © 2008 Microchip Technology Inc. dsPIC30F4011/4012 Silicon Errata Summary The following list summarizes the errata described in further detail throughout the remainder of this document: 1. MAC Class Instructions with ±4 Address ...
Page 2
... SDA and SCL pins, causing a false communication start in a single-master configuration or a bus collision in a multi-master configuration. The following sections describe the errata and work around to these errata, where they may apply. © 2008 Microchip Technology Inc. ® DSC ...
Page 3
... BRA L1 ;and exit L0:DAW.b w2 L1: .... © 2008 Microchip Technology Inc. dsPIC30F4011/4012 3. Module: Special Function Registers The I/O Port register values can be changed by writing to the following address locations, which are located in unimplemented memory space. A write to these unimplemented addresses could cause an I/O pin configured as an output to change states ...
Page 4
... Result in W4 (3) SR<1:0> bits , Result in W2 (3) SR<1:0> bits (4) SR<15:10> bits CORRECT RESULTS ;Load PSVPAG register ;Enable PSV ;Set up W1 for ;indirect PSV access ;from 0x000200 ;works ok ;Load W2 with data ;from program memory ;Carry flag and W4 ;results are ok! © 2008 Microchip Technology Inc. ...
Page 5
... Note: For details on the functionality of EDT bit, see section 2.9.2.4 in the dsPIC30F Family Reference Manual. © 2008 Microchip Technology Inc. dsPIC30F4011/4012 6. Module: 4x PLL Operation When the 4x PLL mode of operation is selected, the specified input frequency range of 4-10 MHz is not fully supported. ...
Page 6
... One may use a large DISI value and then set the DISICNT register to zero, as shown in Example 6. A macro may also be used to perform this task, as shown in Example 7. // protect CPU IPL modification // set CPU IPL remove DISI protection // safely modify the CPU IPL © 2008 Microchip Technology Inc. ...
Page 7
... If the application requires 0% duty cycles, the output compare module can be disabled for 0% duty cycles, and re-enabled for non-zero percent duty cycles. © 2008 Microchip Technology Inc. dsPIC30F4011/4012 10. Module: Output Compare A glitch will be produced on an output compare pin under the following conditions: • ...
Page 8
... A/D Channels Configuration REF REF CH X ANx S/H ADC REF REF ANx S/H ADC ANx REF REF REF ANx S/H ADC ANx REF © 2008 Microchip Technology Inc. ...
Page 9
... User's code } void __attribute__((__interrupt__)) _QEIInterrupt(void) { IFSxbits.QEIIF = 0; POSCNT_b15 ^= 0x8000; // Overflow or Underflow } © 2008 Microchip Technology Inc. dsPIC30F4011/4012 Work around To prevent this condition from occurring, set MAXCNT to 0x7FFF, which will cause an interrupt to be generated by the QEI module. In addition, a global variable could be used to keep ...
Page 10
... Sleep mode. Example 9 described above would apply to a dsPIC30F4011 device. ; Ensure flag is reset ; Return from Interrupt Service Routine the function call would be following the or _GotoSleep demonstrates the work around © 2008 Microchip Technology Inc. ...
Page 11
... Note: The above work around is recommended for users for whom application hardware changes are not possible. © 2008 Microchip Technology Inc. dsPIC30F4011/4012 Work around 3: Instead of executing a PWRSAV #0 instruction to put the device into Sleep mode, perform a clock switch to the 32 kHz Low-Power (LP) Oscillator with a 64:1 postscaler mode ...
Page 12
... Module: Motor Control PWM – PWM Counter Register If the PTDIR bit is set (when PTMR is counting down), and the CPU execution is halted (after a breakpoint is reached), PTMR will start counting PTDIR was zero. Work around None. © 2008 Microchip Technology Inc slave interrupt 2 C nodes receive 2 ...
Page 13
... Clock Failure Status bit (OSCCON<3>). If this bit is clear, return from the trap service routine immediately and continue program execution. © 2008 Microchip Technology Inc. dsPIC30F4011/4012 22. Module: PSV Operations An address error trap occurs in certain addressing modes when accessing the first four bytes of an PSV page ...
Page 14
... For example, if the SDA and SCL pins are shared with the UART and SPI pins, and the UART has higher precedence on the port latch pin. DS80215K-page module is that have 2 C © 2008 Microchip Technology Inc. ...
Page 15
... Removed silicon issue 11 (Using OSC2/RC15 pin for Digital I/O). Revision K (9/2008) Updated silicon revision to Rev. A2/A3. Replaced 2 issues 16 and with issue 25 (I silicon issues 21 (PLL Lock Status Bit), 22 (PSV 2 Operations) and 23-25 (I C). © 2008 Microchip Technology Inc. dsPIC30F4011/4012 2 C), 19 (Motor 2 C). Added DS80215K-page 15 ...
Page 16
... NOTES: DS80215K-page 16 © 2008 Microchip Technology Inc. ...
Page 17
... PowerMate, PowerTool, REAL ICE, rfLAB, Select Mode, Total Endurance, WiperLock and ZENA 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 18
... Philippines - Manila Tel: 63-2-634-9065 Fax: 63-2-634-9069 Singapore Tel: 65-6334-8870 Fax: 65-6334-8850 Taiwan - Hsin Chu Tel: 886-3-572-9526 Fax: 886-3-572-6459 Taiwan - Kaohsiung Tel: 886-7-536-4818 Fax: 886-7-536-4803 Taiwan - Taipei Tel: 886-2-2500-6610 Fax: 886-2-2508-0102 Thailand - Bangkok Tel: 66-2-694-1351 Fax: 66-2-694-1350 © 2008 Microchip Technology Inc. 01/02/08 ...