44 Revision History
Revision A (May 2025)
This is the initial version of the document.
Revision B (August 2025)
This revision incorporates the following updates:
- Sections:
- Updated High-Performance dsPIC33A DSP CPU, Security Features, Peripheral Features, Functional Safety Support, 3.4. Buck Converter Guidelines and Considerations, 2.6 ICSP Pins, 3.8 External Oscillator Layout Guidance, 3.9 Oscillator Value Conditions on Device Start-up, 3.11 Targeted Applications, 4.3.10.3. Stack Pointer Overflow, 4.3.11.1 Byte to Word Conversion, 4.3.12.2.1. DSP Multiply Instructions, 4.3.12.3.3 Data Space Write Saturation, 4.3.16.4. Data Alignment, 4.4. Prefetch Branch Unit (PBU), 4.4.3.3. PBU Data Error Handling, 6. Data Memory, 6.4.2. Data Space Address Generation Units (AGUs), 6.4.7 MBIST Overview, 7.3.2.2.2. Word Programming, 7.3.2.2.3. Bus Mastered Row Programming, 7.3.4 NVM CRC, 7.4 Flash Dual Partition, 7.4.1. Architectural Overview, 7.4.2.2.1 Configuring Active/Inactive Partitions, 7.4.3.2. Word Programming (Active Partition), 7.4.3.3. Row Programming (Active Partition), Panel Swap Code Sequence, 9. Security Module, 11.9.1.4. Stack Error Trap, 11.10.4.1. Interrupt Latency, 12.4.4.3 Input Mapping, 13.7.4. I/O Integrity Module Operations in Idle Mode, 13.4.3 Primary Oscillator (POSC), 13.4.7.5.1. Catastrophic Fault Injection, 14. Direct Memory Access (DMA) Controller, 14.4.12. Bit Manipulation, 14.6.1.4. Pattern Match Interrupt, 15.2. Features, 15.6.1. Clock Configuration, 16. High-Resolution PWM with Fine Edge Placement, 16.2.2.2. PWM Operating Modes, 16.4.2.2.4. LLC Resonant Converter Mode, Software PCI Control, 16.4.2.8. Software Override, 16.4.3.2. LFSR – Linear Feedback Shift Register, 16.5.2.4.3. Software Trigger, 17.40 MSPS Analog-to-Digital Converter (ADC), 17.4.4. Conversions, 17.4.7. Comparator, 17.4.8. Interrupts, 17.4.10. Results Formatting, 17.4.13. Power-Saving Mode, 17.6. Effects of Reset, 18. Integrated Touch Controller (ITC), 18.3.12. CVD Capacitors Array, 19.3.12. CVD Capacitors Array, 19.4.2. Pulse Density Modulation (PDM) DAC, 19.4.3.2. Slope Generator, 19.4.3.2.1. Slope Generation Mode, Hysteretic Mode, 21.4.2.2.1. LIN Commander/Responder Transmit, I2S Audio Host Mode of Operation, PCM/DSP Audio Host Mode of Operation, 22.4.2.6.2. Host Mode Clocking and MCLK, I2S Audio Host Mode of Operation Using REFCLKO, 27. Capture/Compare/PWM/Timer Modules (SCCP/MCCP), 33.2. Architectural Overview, 33.4.3. Power Modes, 33.4.4. Differential Input, and 33.4.5. Input Offset Trim.
- Added High-Resolution Mode Data Registers, High-Resolution Period Synchronization, Runt Pulse Indication, Calibration, Gain Error Calibration, Single Trigger Mode, Retriggerable Mode, CRC Control Register, CRC Error Status, Output Override Behavior in Complementary Output Mode with Priority Overrides and Force-On, Output Override Behavior in Complementary Output Mode with PWMxL’s Max On-time Adjustment, Software Trigger, Trigger Count (Burst Mode), Data Buffering, Sleep and Idle Mode, DAC Output Filter Modes and Static Operating Mode.
- Removed Read-After-Write Dependency Rules, Instruction Stall Cycles, Enable Output Monitor, Ping-Pong Transmit Steady State, Ping-Pong Transmit Initialization, Ping-Pong Receive Steady State, Ping-Pong Receive Initialization and Minimum PWM Period and Pulse Width.
- Tables:
- Updated Table 1-1. Pinout I/O Descriptions, Table 4-1. MCU Instruction Addressing Mode Definitions, Table 4-6. Accumulator Overflow and Saturation Status Bits, Table 7-2. Flash Boot Mode Select, Table 11-1. Interrupt Vector Details, Table 13-2. CLKGEN Assignment, Table 13-3. Clock Monitor CNTSEL/WINSEL Input Clock Selections, Table 13-5. Clock Monitor CNTSEL/WINSEL Input Clock Selections, Table 14-2. DMA Channel Trigger Sources, Table 15-1. CAN Summary Table, Table 15-2. CLKSEL Clock Selection bit, Table 15-1. PWM Summary Table, Table 15-2. Auxiliary PWM Summary Table, Table 15-4. PCI Source Selection (PSS), Table 15-5. PWM Peripheral Pin Select Mapping, Table 15-9. Override Behavior in Complementary Output Mode, Table 15-11. PWM Data Register Update Modes, Table 15-14. Combinatorial Logic Instance Mapping, Table 17-6. Channels with Implemented Secondary Accumulators, Table 26-1. Timer Summary Table, Table 27-3. ICS Input Capture Source Select bits, Table 27-11. Synchronization Sources, Table 29-1. PTG Summary Table, Table 41-6. DC Characteristics: Operating Current (IDD), Table 41-35. I2Cx Bus Data Timing Requirements (Host Mode), Table 41-36. I2Cx Bus Data Timing Requirements (Client Mode), Specifications.
- Added Auxiliary PWM Summary Table.
- Registers:
- Updated 4.2.17. CPU STATUS Register, 4.5.2.2. HPCSEL0 Register, 4.5.2.3. HPCSEL1 Register, 4.6.7. Floating-Point Exception Address Capture Register, 6.3.2. RAM ECC Status Register, 6.4.7.4. MBIST Control Register, 7.2.1 Nonvolatile Memory (NVM) Control Register, 7.2.3 NVM Write Data 0 Register, 8.1.1. FCP Configuration Register, 8.1.6 FPRxST Configuration Register, 8.1.8. FIRT Configuration Register, 9.2.2. IRT Control Register, 11.4.3 Interrupt Control Register 3, 13.3.2 Oscillator Configuration Register, 13.3.8 PLL Divider Register, 14.3.5. DMA Channel x Control Register, 14.3.7. DMA Channel x Interrupt Register, 14.3.9. DMA Channel x Destination Address Register, 14.3.10. DMA Channel x Count Register, 14.3.11. DMA Channel x Clear Register, 14.3.12. DMA Channel x Set Register, 14.3.13. DMA Channel x Invert Register, 14.3.14. DMA Channel x Mask Register, 15.4.24. CAN 1 FIFO x Control Register, 15.4.25. CAN 1 FIFO x Status Register, 15.4.1. CAN FD x Control Register, 15.4.26. CAN FIFO x User Address Register, 16.3.4.1 PWM Clock Control Register, 16.3.4.8. Combinational Trigger Register, 16.3.4.2 Frequency Scale Register, 16.3.4.3 Frequency Scaling Minimum Period Register, 16.3.4.4 Master Phase Register, 16.3.4.5 Master Duty Cycle Register, 16.3.4.6 Master Period Register, 16.3.4.10 PWM Event Output Control Register y, 16.3.4.41. Auxiliary PWM Event Output Control Register y, 16.3.4.42. Auxiliary PWM Generator x Control Register, 16.3.4.46. Auxiliary PWM Generator x Event 1 Register, 16.3.4.59 Auxiliary PWM Generator x Phase Register, 16.3.4.60. Auxiliary PWM Generator x Duty Cycle Register, 16.3.4.62. Auxiliary PWM Generator x Period Register, 16.3.4.63. Auxiliary PWM Generator x Trigger A Register, 16.3.4.64. Auxiliary PWM Generator x Trigger B Register, 16.3.4.66. Auxiliary PWM Generator x Trigger D Register, 16.3.4.67. Auxiliary PWM Generator x Trigger E Register, 16.3.4.68. Auxiliary PWM Generator x Trigger F Register, 17.3.1. ADC n Control Register, 17.3.7. ADC n Channel 0 Control Register 1, 18.2.1.13. List x Acquisition and Post-Processing Control Register, 19.3.3. DAC Control Register, 22.3.1. SPIx Control Register 1, 27.4.1. CCPx Control Register 1, 27.4.2. CCPx Control Register 2, 27.4.3. CCPx Control Register 3, 32.3.2. AMPx Control Register 2 and 35.2.4. Peripheral Module Disable 3 Register.
- Figures
- Updated Figure 1-1. dsPIC33AK512MPS512 Family Block Diagram, Figure 2-1. dsPIC33AK512MPS512 Family Block Diagram, Figure 3-2. Example Application Circuit, Figure 4-2. dsPIC33A CPU Programmer’s Model, Figure 4-3. Nested Interrupt Context Flow, Figure 4-4. Stack Operation for a CALL Instruction, Figure 4-10. Integer and Fractional Representation of 0x40000001, Figure 4-11. Integer and Fractional Representation of 0xC0000002, Figure 4-16. GOTO & CALL Unconditional PFC Instruction Flow, Figure 7-1. dsPIC33A Program Memory Map, Figure 7-2. dsPIC33A Dual Partition Memory Map, Figure 11-3. Exception Stack Frame, Figure 12-5. IOIM Block Diagram, Figure 16-14. Dual Edge Center-Aligned PWM Mode (MODSEL[2:0] = 111), Figure 16-22. PCI Acceptance Modes, Figure 19-1. High-Speed Analog Comparator Module Block Diagram and Figure 20-2. Quadrature Encoder Interface (QEI) Module Block Diagram.
- Examples:
- Updated 17.5.1. Single Conversion, Example 17-3. Integration of the Multiple Samples Example, Example 17-3. Integration of the Multiple Samples Example, Example 17-4. Oversampling Example, Example 17-5. Comparator Example, Example 17-6. Multiple Channels Scan Example, Example 17-7. Second Order Low Pass Filter Example, Example 18-4. CVD Scan of All CVDANx Inputs, Example 19-1. Configuration for Digital Filter, Example 19-2. Configuration of DAC Register, Example 19-3. Triangle Wave Mode Configuration, Example 26-2. Synchronous External Counter Example Code, Example 26-4. 32-bit Asynchronous Counter Mode Code and Example 34-3. WDT Configuration Example.
- Equations:
- Updated Equation 16-1. PWM Period Calculation, Standard Resolution, Equation 16-2. PWM Duty Cycle, Phase, Trigger and Dead-Time Calculations, Standard Resolution, Equation 16-3. Leading-Edge Blanking Period, Equation 19-1 and Equation 23-2. HDLYC Calculation.
Minor grammatical corrections and formatting changes throughout the document.
Revision C (February 2026)
This revision incorporates the following updates:
- Sections:
- Updated Operating Conditions, Memory Features, Qualification,
3.4. Buck Converter Guidelines and Considerations, 3.4.1. Buck Design
Considerations, 3.4.2. Component Selection, 9.3.4. Program Memory,
- 9.4.2. ICSP™ Write Inhibit
- Added 4.3.6.1 Vector Fail Address.
- Removed External Oscillator Pins.
- Updated Operating Conditions, Memory Features, Qualification,
3.4. Buck Converter Guidelines and Considerations, 3.4.1. Buck Design
Considerations, 3.4.2. Component Selection, 9.3.4. Program Memory,
- Tables:
- Updated Table 2. dsPIC33AK512MC510 Family Device Features, Table 9-2. Security Configuration Words, Table 13-4. PLL Clock Sources, Table 13-5. Clock Generator Input Selection and Clock Monitor Resources, Table 14-1. DMA Summary Table, Table 15-2. CAN Clock Source Select bit (CLKSEL bits in CxCON Register), Table 16-4. PCI Source Selection (PSS), Table 16-7. High-Resolution Mode PWM Data Registers, Table 16-11. PWM Data Register Update Modes, Table 17-1. ADC Summary Table, Table 17-4. TRG1SRC Trigger Source Selection Bits, Table 17-5. TRG2SRC Trigger Source Selection Bits, Table 18-1. ITC Summary Table, Table 19-1. DAC Summary, Table 20-1. QEI Summary, Table 21-1. UART Summary Table, Table 22-1. SPI Summary Table, Table 22-2. SPI Host Clock Source Selection bit, Table 23-1. I2C Summary Table, Table 24-1. SENT Summary Table, Table 25-1. BiSS Summary Table, Table 27-1. SCCP Summary Table, Table 28-1. CLC Summary Table, Table 31-1. CBG Summary Table, Table 33-1. Op Amp Summary Table, Table 34-1. WDT Summary Table, Table 35-1. DMT Summary, Table 41-2. Operating MHz vs. Voltage, Table 41-13. DC Characteristics: ADC Δ Current, Table 41-14. DC Characteristics: Comparator + DAC Delta Current, Table 41-15. Op Amp Delta Current, Table 41-22. PLLn Timing Specifications, Table 41-41. DACx Module Specifications, Table 41-44. Operational Amplifier Specifications, Table 42-5. Idle Current (IIDLE), Table 42-4. Operating Current, Table 42-6. Power-Down Current (IPD), Table 42-8. Internal FRC Accuracy and Table 42-9. DACx Module Specifications.
- Added 17-2. ADC Clock Source Select bit (CLKSEL bits in ADxCON2 Register), Table 18-2. ADC Clock Source Select bit (CKSEL bits in ADCxCON2 Register), Table 18-3. ADC External CHOLD Pin Enable (ADxCAP Configuration bit in FDEFOPT1 Configuration Word), Table 21-2. UART Clock (FUART) Source Selection bits, Table 41-45. UREF Module Specifications, Table 42-9. DC Characteristics: PWM Delta Current, Table 42-10. DC Characteristics: ADC Δ Current, Table 42-11. DC Characteristics: Comparator + DAC Delta Current, Table 42-12. Op Amp Delta Current, and Table 42-15. UREF Module Specifications.
- Registers:
- Updated 6.3.10. PWB ECC RAM Status Register, 7.2.19. NVM CRC Control Register, 8.1.3. FDEVOPT Configuration Register, 8.1.4. FWDT Configuration Register, 8.1.10. FPED Configuration Register, 11.4.70. Interrupt Priority Register 44, 11.4.71. Interrupt Priority Register 45, 11.4.72. Interrupt Priority Register 46, 12.3.20. Peripheral Pin Select Input Register 6, 12.3.68. Peripheral Pin Select Output Register 32, 12.3.69. Peripheral Pin Select Output Register 33, 12.3.70. Peripheral Pin Select Output Register 34, 12.3.71. Peripheral Pin Select Output Register 35, 13.3.1. System Clock Control Register, 13.3.6. Clock Generator Divider Register, 13.3.11. PLL Divider Register, 16.4.1. PWM Clock Control Register, 16.4.2. Frequency Scale Register, 16.4.3. Frequency Scaling Minimum Period Register, 16.4.4. Master Phase Register, 16.4.5. Master Duty Cycle Register, 16.4.6. Master Period Register, 16.4.7. Linear Feedback Shift Register, 16.4.8. Combinational Trigger Register, 16.4.9. Combinatorial PWM Logic Control Register, 16.4.10. PWM Event Output Control Register, 16.4.11. PWM Generator x Control Register, 16.4.13. PWM Generator x I/O Control 1 Register, 16.4.14. PWM Generator x I/O Control 2 Register, 16.4.15. PWM Generator x Event 1 Register, 16.4.16. PWM Generator x Event 2 Register, 16.4.17. PWM Generator x F1 PCI 1 Register, 16.4.18. PWM Generator x F1 PCI 2 Register, 16.4.19. PWM Generator x F2 PCI 1 Register, 16.4.20. PWM Generator x F2 PCI 2 Register, 16.4.21. PWM Generator x CL PCI 1 Register, 16.4.22. PWM Generator x CL PCI 2 Register, 16.4.23. PWM Generator x FF PCI 1 Register, 16.4.24. PWM Generator x FF PCI 2 Register, 16.4.25. PWM Generator x SP PCI 1 Register, 16.4.26. PWM Generator x S PCI 2 Register, 16.4.27. PWM Generator x Leading-Edge Blanking Register, 16.4.28. PWM Generator x Phase Register, 16.4.29. PWM Generator x Duty Cycle Register, 16.4.29. PWM Generator x Duty Cycle Register, 16.4.30. PWM Generator x Duty Cycle Adjustment Register, 16.4.31. PWM Generator x Period Register, 16.4.32. PWM Generator x Trigger A Register, 16.4.33. PWM Generator x Trigger B Register, 16.4.34. PWM Generator x Trigger C Register, 16.4.35. PWM Generator x Trigger D Register, 16.4.36. PWM Generator x Trigger E Register, 16.4.37. PWM Generator x Trigger F Register, 16.4.38. PWM Generator x Dead-Time Register, 16.4.39. PWM Generator x Capture Register, 16.4.40. Auxiliary PWM Clock Control Register, 16.4.41. Auxiliary PWM Frequency Scale Register, 16.4.42. Auxiliary PWM Frequency Scaling Minimum Period Register, 16.4.43. Auxiliary PWM Master Phase Register, 16.4.44. Auxiliary PWM Master Duty Cycle Register, 16.4.45. Auxiliary PWM Master Period Register, 16.4.46. Auxiliary PWM Linear Feedback Shift Register, 16.4.47. Auxiliary PWM Combinational Trigger Register, 16.4.48. Auxiliary PWM Combinatorial PWM Logic Control Register, 16.4.49. Auxiliary PWM Event Output Control Register, 16.4.50. Auxiliary PWM Generator x Control Register, 16.4.51. Auxiliary PWM Generator x Status Register, 16.4.52. Auxiliary PWM Generator x I/O Control 1 Register, 16.4.53. Auxiliary PWM Generator x I/O Control 2 Register, 16.4.54. Auxiliary PWM Generator x Event 1 Register, 16.4.55. Auxiliary PWM Generator x Event 2 Register, 16.4.56. Auxiliary PWM Generator x F1 PCI 1 Register, 16.4.57. Auxiliary PWM Generator x F1 PCI 2 Register, 16.4.58. Auxiliary PWM Generator Fault PCI 1 Register, 16.4.58. Auxiliary PWM Generator Fault PCI 1 Register, 16.4.59. Auxiliary PWM Generator Fault PCI 2 Register, 16.4.60. Auxiliary PWM Generator Current Limit PCI 1 Register, 16.4.61. Auxiliary PWM Generator Current Limit PCI 2 Register, 16.4.62. Auxiliary PWM Generator Feed Forward PCI 1 Register, 16.4.63. Auxiliary PWM Generator Feed Forward PCI 2 Register, 16.4.64. Auxiliary PWM Generator Sync PCI 1 Register, 16.4.65. Auxiliary PWM Generator Sync PCI 2 Register, 16.4.66. Auxiliary PWM Generator x Leading-Edge Blanking Register, 16.4.67. Auxiliary PWM Generator x Phase Register, 16.4.68. Auxiliary PWM Generator x Duty Cycle Register, 16.4.69. Auxiliary PWM Generator x Duty Cycle Adjustment Register, 16.4.70. Auxiliary PWM Generator x Period Register, 16.4.71. Auxiliary PWM Generator x Trigger A Register, 16.4.72. Auxiliary PWM Generator x Trigger B Register, 16.4.73. Auxiliary PWM Generator x Trigger C Register, 16.4.74. Auxiliary PWM Generator x Trigger D Register, 16.4.75. Auxiliary PWM Generator x Trigger E Register, 16.4.76. Auxiliary PWM Generator x Trigger F Register, 16.4.77. Auxiliary PWM Generator x Dead-Time Register and 16.4.78. Auxiliary PWM Generator x Capture Register, 17.3.7. ADC n Channel 0 Control Register 1, 19.3.1. DAC Control 1 Register and 36.2.1. Reset Control Register.
- Added 14.3.15. DMA Channel x Pattern Register.
- Figures:
- Updated Figure 13-1. Oscillator Module Block Diagram, Figure 13-2. Clock Generator and Figure 13-12. PLL Block Diagram.
- Examples:
- Updated Example 19-2. Configuration of DAC Register and Example 19-4. Initialize DAC with Slope Compensation.
- Equations:
- Updated Equation 16-1. PWM Period Calculation, Standard Resolution.
Minor grammatical corrections and formatting changes have been made throughout the document.
