DSPIC30F3012-30I/SO Microchip Technology, DSPIC30F3012-30I/SO Datasheet
DSPIC30F3012-30I/SO
Specifications of DSPIC30F3012-30I/SO
Available stocks
Related parts for DSPIC30F3012-30I/SO
DSPIC30F3012-30I/SO Summary of contents
Page 1
... Rev. B1 Silicon Errata The dsPIC30F3012/3013 (Rev. B1) samples that you have received were found to conform to the specifications and functionality described in the following documents: • DS70157 – “dsPIC30F/33F Programmer’s Reference Manual” • DS70139 – “dsPIC30F2011/2012/3012/3013 Data Sheet” • DS70046 – “dsPIC30F Family Reference Manual” ...
Page 2
... PLL Mode PLL mode is used, the input frequency range is 5 MHz-10 MHz instead of 4 MHz-10 MHz. 11. Sleep Mode Execution of the Sleep instruction (PWRSAV #0) may cause incorrect program operation after the device wakes up from Sleep. The current consumption during Sleep may also increase beyond the specifications listed in the device data sheet ...
Page 3
... MAC class instructions not use the + = address modification not prefetch data from Y data space. © 2008 Microchip Technology Inc. dsPIC30F3012/3013 2. Module: CPU – Instruction DAW.b The Decimal Adjust instruction, DAW.b, may improperly clear the Carry bit, C (SR<0>), when executed ...
Page 4
... Table 1. Example 3 demonstrates the work around for Example 2. DS80255F-page 4 These instructions are identified in Table 1. Example 2 demonstrates one scenario in which this occurs. Also, always use Work around 2 if the C compiler is used to generate code for dsPIC30F3012/3013 devices. (2) Examples of Incorrect Operation ADDC W0, [W1++], W2 ; SUBB.b W0, [++W1 ...
Page 5
... X; \ DISICNT = 0; } DISI_PROTECT(SRbits.IPL = 0x5); © 2008 Microchip Technology Inc. dsPIC30F3012/3013 5. Module: Interrupt Controller – Sequential Interrupts When interrupt nesting is enabled (or NSTDIS (INTCON1<15>) bit is ‘0’), the following sequence of events will lead to an address error trap. The generic terms “Interrupt 1” and “Interrupt 2” are used to represent any two enabled dsPIC30F interrupts ...
Page 6
... Module: DISI Instruction When a user executes a DISI #7, for example, this will disable interrupts for cycles (7 + the DISI instruction itself). In this case, the DISI instruction uses a counter which counts down from The counter is loaded with 7 at the end of the DISI instruction. ...
Page 7
... GotoSleep( ) function call. This ensures that the device continues executing the correct code sequence after waking up from Sleep mode. Example 8 demonstrates the described above would apply to a dsPIC30F3012 device. DS80255F-page 7 would be or work around ...
Page 8
... EXAMPLE 8: ; ---------------------------------------------------------------------------------------------- .global __reset .global _main .global _GotoSleep .global __AddressError .global __INT1Interrupt ; ---------------------------------------------------------------------------------------------- .section *, code _main: BSET INTCON2, #INT1EP ; Set up INT pins to detect falling edge BCLR IFS1, #INT1IF ; Clear interrupt pin interrupt flag bits BSET IEC1, #INT1IE ; Enable ISR processing for INT pins ...
Page 9
... Clear the I C receiver interrupt flag SI2CF back to step 1 to continue receiving incoming data bytes. © 2008 Microchip Technology Inc. dsPIC30F3012/3013 Work around 2: Use this work around for applications in which the receiver interrupt is required. Assuming that the RBF and the I2COV flags in the I2CSTAT ...
Page 10
... Module: I/O Port – Port Pin Multiplexed with IC1 If the user application enables the auto-baud feature in the UART module, the I/O pin multiplexed with the IC1 (Input Capture) pin cannot be used as a digital input. Work around None. 2 14. Module there are two I ...
Page 11
... 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. © 2008 Microchip Technology Inc. dsPIC30F3012/3013 2 C module is that have 2 ...
Page 12
... APPENDIX A: REVISION HISTORY Revision A (12/2005) Original version of the document. Revision B (9/2006) Added errata and 11. Revision C (9/2007) Added silicon issue 12 (Sleep Mode). Revision D (12/2007) Updated silicon issue 3 (PSV Operations Using SR) 2 and added silicon issues 13 and 14 (I Port – Port Pin Multiplexed with IC1). ...
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 ...