DSPIC30F5016-20E/PT Microchip Technology, DSPIC30F5016-20E/PT Datasheet
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
DSPIC30F5016-20E/PT
Specifications of DSPIC30F5016-20E/PT
Available stocks
Related parts for DSPIC30F5016-20E/PT
DSPIC30F5016-20E/PT Summary of contents
Page 1
... These devices may be identified by the following message that appears in the MPLAB Window under MPLAB IDE, when a “Reset and Connect” operation is performed within MPLAB IDE: Setting Vdd source to target Target Device dsPIC30F5016 found, revision = Rev A0 ...Reading ICD Product ID Running ICD Self Test ...Passed ...
Page 2
... When these events occur, the output compare module will drive the pin low for one instruction cycle (T ) after the module is enabled. CY Work around None. However, the user may use a Timer interrupt and write to the associated PORT register to control the pin manually. © 2008 Microchip Technology Inc. ...
Page 3
... QEI interrupt handler and used as an offset value to calculate the absolute position of the encoder disc with respect to the index pulse. © 2008 Microchip Technology Inc. dsPIC30F5015/5016 5. Module: INT0, ADC and Sleep Mode ADC event triggers from the INT0 pin will not ...
Page 4
... 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 5
... User's code } void __attribute__((__interrupt__)) _QEIInterrupt(void) { IFSxbits.QEIIF = 0; POSCNT_b15 ^= 0x8000; // Overflow or Underflow } © 2008 Microchip Technology Inc. dsPIC30F5015/5016 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 6
... Sleep mode. Example 2 described above would apply to a dsPIC30F5015 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 7
... Note: The above work around is recommended for users for whom application hardware changes are not possible. © 2008 Microchip Technology Inc. dsPIC30F5015/5016 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 8
... 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 9
... 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. dsPIC30F5015/5016 15. Module: PSV Operations An address error trap occurs in certain addressing modes when accessing the first four bytes of an PSV page ...
Page 10
... 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. DS80247H-page module is that have 2 C © 2008 Microchip Technology Inc. ...
Page 11
... Added silicon issues 13 and 14 (I C), and 15 (Timer). Removed silicon issue 3 (Using OSC2/RC15 pin for Digital I/O). Revision H (9/2008) 2 Replaced issues 9 and with issue 18 (I Added silicon issues 14 (PLL Lock Status Bit), 15 (PSV 2 Operations) and 16-18 (I C). © 2008 Microchip Technology Inc. dsPIC30F5015/5016 2 C). DS80247H-page 11 ...
Page 12
... NOTES: DS80247H-page 12 © 2008 Microchip Technology Inc. ...
Page 13
... 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 14
... 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 ...