64/80/100-Pin, 16-Bit, General Purpose Flash ...

PIC24FJ256GA110 FAMILY

64/80/100-Pin, 16-Bit, General Purpose Flash Microcontrollers with Peripheral Pin Select (PPS)

Power Management:

? On-Chip 2.5V Voltage Regulator ? Switch between Clock Sources in Real Time ? Idle, Sleep and Doze modes with Fast Wake-up and

Two-Speed Start-up ? Run mode: 1 mA/MIPS, 2.0V Typical ? Standby Current with 32 kHz Oscillator: 2.6 A,

2.0V Typical

High-Performance CPU:

? Modified Harvard Architecture ? Up to 16 MIPS Operation at 32 MHz ? 8 MHz Internal Oscillator ? 17-Bit x 17-Bit Single-Cycle Hardware Multiplier ? 32-Bit by 16-Bit Hardware Divider ? 16 x 16-Bit Working Register Array ? C Compiler Optimized Instruction Set Architecture with

Flexible Addressing modes ? Linear Program Memory Addressing, Up to 12 Mbytes ? Linear Data Memory Addressing, Up to 64 Kbytes ? Two Address Generation Units (AGUs) for Separate

Read and Write Addressing of Data Memory

Analog Features:

? 10-Bit, Up to 16-Channel Analog-to-Digital (A/D) Converter at 500 ksps: - Conversions available in Sleep mode

? Three Analog Comparators with Programmable Input/ Output Configuration

? Charge Time Measurement Unit (CTMU)

Peripheral Features:

? Peripheral Pin Select: - Allows independent I/O mapping of many peripherals at run time - Continuous hardware integrity checking and safety interlocks prevent unintentional configuration changes - Up to 46 available pins (100-pin devices)

? Three 3-Wire/4-Wire SPI modules (support 4 Frame modes) with 8-Level FIFO Buffer

? Three I2C modules support Multi-Master/Slave modes and 7-Bit/10-Bit Addressing

? Four UART modules: - Supports RS-485, RS-232, LIN/J2602 protocols and IrDA? - On-chip hardware encoder/decoder for IrDA - Auto-wake-up and Auto-Baud Detect (ABD) - 4-level deep FIFO buffer

? Five 16-Bit Timers/Counters with Programmable Prescaler ? Nine 16-Bit Capture Inputs, each with a

Dedicated Time Base ? Nine 16-Bit Compare/PWM Outputs, each with a

Dedicated Time Base ? 8-Bit Parallel Master Port (PMP/PSP):

- Up to 16 address pins - Programmable polarity on control lines ? Hardware Real-Time Clock/Calendar (RTCC): - Provides clock, calendar and alarm functions ? Programmable Cyclic Redundancy Check (CRC) Generator ? Up to Five External Interrupt Sources

Remappable Peripherals

Devices

Pins Program Memory (Bytes) SRAM (Bytes) Remappable Pins Timers 16-Bit Capture Input Compare/ PWM Output UART w/ IrDA? SPI

I2C 10-Bit A/D (ch) Comparators

PMP/PSP JTAG CTMU

PIC24FJ64GA106 64 64K 16K 31

5

9

9

PIC24FJ128GA106 64 128K 16K 31

5

9

9

PIC24FJ192GA106 64 192K 16K 31

5

9

9

PIC24FJ256GA106 64 256K 16K 31

5

9

9

PIC24FJ64GA108 80 64K 16K 42

5

9

9

PIC24FJ128GA108 80 128K 16K 42

5

9

9

PIC24FJ192GA108 80 192K 16K 42

5

9

9

PIC24FJ256GA108 80 256K 16K 42

5

9

9

PIC24FJ64GA110 100 64K 16K 46

5

9

9

PIC24FJ128GA110 100 128K 16K 46

5

9

9

PIC24FJ192GA110 100 192K 16K 46

5

9

9

PIC24FJ256GA110 100 256K 16K 46

5

9

9

4

3

3

16 3

YY Y

4

3

3

16 3

YY Y

4

3

3

16 3

YY Y

4

3

3

16 3

YY Y

4

3

3

16 3

YY Y

4

3

3

16 3

YY Y

4

3

3

16 3

YY Y

4

3

3

16 3

YY Y

4

3

3

16 3

YY Y

4

3

3

16 3

YY Y

4

3

3

16 3

YY Y

4

3

3

16 3

YY Y

2007-2019 Microchip Technology Inc.

DS30009905F-page 1

PIC24FJ256GA110 FAMILY

Special Microcontroller Features:

? Operating Voltage Range of 2.0V to 3.6V ? Self-Reprogrammable under Software Control ? 5.5V Tolerant Input (digital pins only) ? Configurable Open-Drain Outputs on Digital I/Os ? High-Current Sink/Source (18 mA/18 mA) on all I/Os ? Selectable Power Management modes:

- Sleep, Idle and Doze modes with fast wake-up ? Fail-Safe Clock Monitor Operation:

- Detects clock failure and switches to on-chip FRC oscillator

? On-Chip LDO Regulator

Pin Diagram (64-Pin TQFP and QFN(1))

? Power-on Reset (POR), Power-up Timer (PWRT), Low-Voltage Detect (LVD) and Oscillator Start-up Timer (OST)

? Flexible Watchdog Timer (WDT) with On-Chip Low-Power RC Oscillator for Reliable Operation

? In-Circuit Serial ProgrammingTM (ICSPTM) and In-Circuit Debug (ICD) via Two Pins

? JTAG Boundary Scan Support ? Brown-out Reset (BOR) ? Flash Program Memory:

- 10,000 erase/write cycle endurance (minimum) - 20-year data retention minimum - Selectable write protection boundary - Write protection option for Flash Configuration

Words

RP24/CN50/RD1

RP23/CN51/RD2

RP22/CN52/PMBE/RD3

RP25/CN13/PMWR/RD4

RP20/CN14/PMRD/RD5

C3INB/CN15/RD6

C3INA/CN16/RD7

VCAP/VDDCORE

ENVREG

CN68/RF0

CN69/RF1

CN58/PMD0/RE0

CN59/PMD1/RE1

CN60/PMD2/RE2

CN61/PMD3/RE3

CN62/PMD4/RE4

49

50

51

52

53

54

55

56

57

58

59

60

61

62

63

64

CN63/PMD5/RE5

1

SCL3/CN64/PMD6/RE6

2

SDA3/CN65/PMD7/RE7

3

PMA5/RP21/C1IND/CN8/RG6

4

C1INC/RP26/CN9/PMA4/RG7

5

C2IND/RP19/CN10/PMA3/RG8

6

MCLR

7

C2INC/RP27/CN11/PMA2/RG9

8

VSS

9

VDD

10

PGEC3/AN5/C1INA/RP18/CN7/RB5

11

PGED3/AN4/C1INB/RP28/CN6/RB4

12

AN3/C2INA/CN5/RB3

13

AN2/C2INB/RP13/CN4/RB2

14

PGEC1/AN1/VREF-/RP1/CN3/RB1

15

PGED1/AN0/VREF+/RP0/CN2/PMA6/RB0

16

PIC24FJ64GA106 PIC24FJ128GA106 PIC24FJ192GA106 PIC24FJ256GA106

48

SOSCO/C3INC/RPI37/T1CK/CN0/RC14

47

SOSCI/C3IND/CN1/RC13

46

RP11/CN49/RD0

45

RP12/CN56/PMCS1/RD11

44

RP3/CN55/PMCS2/RD10

43

RP4/CN54/RD9

42

RTCC/RP2/CN53/RD8

41

VSS

40

OSCO/CLKO/CN22/RC15

39

OSCI/CLKI/CN23/RC12

38

VDD

37

SCL1/CN83/RG2

36

SDA1/CN84/RG3

35

ASCK1/RPI45/INT0/CN72/RF6

34

RP30/CN70/RF2

33

RP16/CN71/RF3

32

31

30

29

28

27

26

25

24

23

22

21

20

19

18

17

SCL2/RP17/CN18/PMA8/RF5

SDA2/RP10/CN17/PMA9/RF4

AN15/REFO/RP29/CN12/PMA0/RB15

AN14/CTPLS/RP14/CN32/PMA1/RB14

TDI/PMA10/AN13/CTED1/CN31/RB13

TCK/AN12/CTED2/CN30/PMA11/RB12

VDD

VSS

TDO/AN11/CN29/PMA12/RB11

TMS/AN10/CVREF/CN28/PMA13/RB10

AN9/RP9/CN27/PMA7/RB9

AN8/RP8/CN26/RB8

AVSS

AVDD

PGED2/AN7/RP7/CN25/RB7

PGEC2/AN6/RP6/CN24/RB6

Legend: Shaded pins indicate pins tolerant to up to +5.5 VDC. RPn represents remappable pins for Peripheral Pin Select (PPS) feature.

Note 1: For QFN devices, the backplane on the underside of the device must also be connected to VSS.

DS30009905F-page 2

2007-2019 Microchip Technology Inc.

Pin Diagram (80-Pin TQFP)

PIC24FJ256GA110 FAMILY

RP24/CN50/RD1

RP23/CN51/RD2

RP22/CN52/PMBE/RD3

RPI42/CN57/RD12

RP25/CN13/PMWR/RD4

RP20/CN14/PMRD/RD5

CN19/RD13

C3INB/CN15/RD6

C3INA/CN16/RD7

VCAP/VDDCORE

ENVREG

CN68/RF0

CN69/RF1

CN78/RG1

CN77/RG0

CN58/PMD0/RE0

CN59/PMD1/RE1

CN60/PMD2/RE2

CN61/PMD3/RE3

CN62/PMD4/RE4

61

62

63

64

65

66

67

68

69

70

71

72

73

74

75

76

77

78

79

80

CN63/PMD5/RE5

1

SCL3/CN64/PMD6/RE6

2

SDA3/CN65/PMD7/RE7

3

RPI38/CN45/RC1

4

RPI40/CN47/RC3

5

C1IND/RP21/CN8/PMA5/RG6

6

C1INC/RP26/CN9/PMA4/RG7

7

C2IND/RP19/CN10/PMA3/RG8

8

MCLR

9

C2INC/RP27/CN11/PMA2/RG9

10

VSS

11

VDD

12

TMS/RPI33/CN66/RE8

13

TDO/RPI34/CN67/RE9

14

PGEC3/AN5/C1INA/CN7/RP18/RB5

15

PGED3/AN4/C1INB/RP28/CN6/RB4

16

AN3/C2INA/CN5/RB3

17

AN2/C2INB/RP13/CN4/RB2

18

PGEC1/AN1/RP1/CN3/RB1

19

PGED1/AN0/RP0/CN2/RB0

20

PIC24FJ64GA108 PIC24FJ128GA108 PIC24FJ192GA108 PIC24FJ256GA108

60

SOSCO/C3INC/ RPI37/T1CK/CN0/RC14

59

SOSCI/C3IND/CN1/RC13

58

RP11/CN49/RD0

57

RP12/CN56/PMCS1/RD11

56

RP3/CN55/PMCS2/RD10

55

RP4/CN54/RD9

54

RTCC/RP2/CN53/RD8

53

SDA2/RPI35/CN44/RA15

52

SCL2/RPI36/CN43/RA14

51

VSS

50

OSCO/CLKO/CN22/RC15

49

OSCI/CLKI/CN23/RC12

48

VDD

47

SCL1/CN83/RG2

46

SDA1/CN84/RG3

45

ASCK1/RPI45/INT0/CN72/RF6

44

RPI44/CN73/RF7

43

RP15/CN74/RF8

42

RP30/CN70/RF2

41

RP16/CN71/RF3

40

39

38

37

36

35

34

33

32

31

30

29

28

27

26

25

24

23

22

21

RP17/CN18/PMA8/RF5

RP10/CN17/PMA9/RF4

RP5/CN21/RD15

RPI43/CN20/RD14

AN15/REFO/RP29/CN12/PMA0/RB15

AN14/CTPLS/RP14/CN32/PMA1/RB14

TDI/AN13/CTED1/CN31/PMA10/RB13

TCK/AN12/CTED2/CN30/PMA11/RB12

VDD

Vss

PMA12/AN11/CN29/RB11

PMA13/AN10/CVREF/CN28/RB10

RP9/AN9/CN27/RB9

RP8/AN8/CN26/RB8

AVSS

AVDD

PMA6/VREF+/CN42/RA10

PMA7/VREF-/CN41/RA9

PGED2/RP7/AN7/CN25/RB7

PGEC2/AN6/RP6/CN24/RB6

Legend: Shaded pins indicate pins tolerant to up to +5.5 VDC. RPn represents remappable pins for Peripheral Pin Select (PPS) feature.

2007-2019 Microchip Technology Inc.

DS30009905F-page 3

PIC24FJ256GA110 FAMILY

Pin Diagram (100-Pin TQFP)

RP24/CN50/RD1

RP23/CN51/RD2

RP22/CN52/PMBE/RD3

RPI42/CN57/RD12

RP25/CN13/PMWR/RD4

RP20/CN14/PMRD/RD5

CN19/RD13

C3INB/CN15/RD6

C3INA/CN16/RD7

VCAP/VDDCORE

ENVREG

CN68/RF0

CN69/RF1

CN78/RG1

CN77/RG0

CN39/RA6

CN40/RA7

CN58/PMD0/RE0

CN59/PMD1/RE1

CN81/RG14

CN79/RG12

CN80/RG13

CN60/PMD2/RE2

CN61/PMD3/RE3

CN62/PMD4/RE4

76

77

78

79

80

81

82

83

84

85

86

87

88

89

90

91

92

93

94

95

96

97

98

99

100

CN82/RG15

1

VDD

2

CN63/PMD5/RE5

3

SCL3/CN64/PMD6/RE6

4

SDA3/CN65/PMD7/RE7

5

RPI38/CN45/RC1

6

RPI39/CN46/RC2

7

RPI40/CN47/RC3

8

RPI41/CN48/RC4

9

C1IND/RP21/CN8/PMA5/RG6

10

C1INC/RP26/CN9/PMA4/RG7

11

C2IND/RP19/CN10/PMA3/RG8

12

MCLR

13

C2INC/RP27/CN11/PMA2/RG9

14

VSS

15

VDD

16

TMS/CN33/RA0

17

RPI33/CN66/RE8

18

RPI34/CN67/RE9

19

PGEC3/AN5/C1INA/RP18/CN7/RB5

20

PGED3/AN4/C1INB/RP28/CN6/RB4

21

AN3/C2INA/CN5/RB3

22

AN2/C2INB/RP13/CN4/RB2

23

PGEC1/AN1/RP1/CN3/RB1

24

PGED1/AN0/RP0/CN2/RB0

25

PIC24FJ64GA110 PIC24FJ128GA110 PIC24FJ192GA110 PIC24FJ256GA110

75

VSS

74

SOSCO/C3INC/ RPI37/T1CK/CN0/RC14

73

SOSCI/C3IND/CN1/RC13

72

RP11/CN49/RD0

71

RP12/CN56/PMCS1/RD11

70

RP3/CN55/PMCS2/RD10

69

RP4/CN54/RD9

68

RTCC/RP2/CN53/RD8

67

ASDA2/RPI35/CN44/RA15

66

ASCL2/RPI36/CN43/RA14

65

VSS

64

OSCO/CLKO/CN22/RC15

63

OSCI/CLKI/CN23/RC12

62

VDD

61

TDO/CN38/RA5

60

TDI/CN37/RA4

59

SDA2/CN36/RA3

58

SCL2/CN35/RA2

57

SCL1/CN83/RG2

56

SDA1/CN84/RG3

55

ASCK1/RPI45/INT0/CN72/RF6

54

RPI44/CN73/RF7

53

RP15/CN74/RF8

52

RP30/CN70/RF2

51

RP16/CN71/RF3

50

49

48

47

46

45

44

43

42

41

40

39

38

37

36

35

34

33

32

31

30

29

28

27

26

RP17/CN18/PMA8/RF5

RP10/CN17/PMA9/RF4

RP5/CN21/RD15

RPI43/CN20/RD14

VDD

VSS

AN15/REFO/RP29/CN12/PMA0/RB15

AN14/CTPLS/RP14/CN32/PMA1/RB14

AN13/CTED1/CN31/PMA10/RB13

AN12/CTED2/CN30/PMA11/RB12

RPI32/CN75/RF12

RP31/CN76/RF13

TCK/CN34/RA1

VDD

VSS

AN11/CN29/PMA12/RB11

AN10/CVREF/CN28/PMA13/RB10

AN9/RP9/CN27/RB9

AN8/RP8/CN26/RB8

AVSS

AVDD

PMA6/VREF+/CN42/RA10

VREF-/CN41/PMA7/RA9

PGED2/AN7/RP7/CN25/RB7

PGEC2/AN6/RP6/CN24/RB6

Legend: Shaded pins indicate pins tolerant to up to +5.5 VDC. RPn represents remappable pins for Peripheral Pin Select (PPS) feature.

DS30009905F-page 4

2007-2019 Microchip Technology Inc.

PIC24FJ256GA110 FAMILY

Table of Contents

1.0 Device Overview .......................................................................................................................................................................... 9 2.0 Guidelines for Getting Started with 16-Bit Microcontrollers........................................................................................................ 23 3.0 CPU ........................................................................................................................................................................................... 29 4.0 Memory Organization ................................................................................................................................................................. 35 5.0 Flash Program Memory.............................................................................................................................................................. 59 6.0 Resets ........................................................................................................................................................................................ 67 7.0 Interrupt Controller ..................................................................................................................................................................... 73 8.0 Oscillator Configuration ............................................................................................................................................................ 117 9.0 Power-Saving Features............................................................................................................................................................ 127 10.0 I/O Ports ................................................................................................................................................................................... 129 11.0 Timer1 ...................................................................................................................................................................................... 157 12.0 Timer2/3 and Timer4/5 ............................................................................................................................................................ 159 13.0 Input Capture with Dedicated Timer......................................................................................................................................... 165 14.0 Output Compare with Dedicated Timer .................................................................................................................................... 169 15.0 Serial Peripheral Interface (SPI)............................................................................................................................................... 177 16.0 Inter-Integrated Circuit (I2C) ..................................................................................................................................................... 187 17.0 Universal Asynchronous Receiver Transmitter (UART) ........................................................................................................... 195 18.0 Parallel Master Port (PMP)....................................................................................................................................................... 203 19.0 Real-Time Clock and Calendar (RTCC) .................................................................................................................................. 213 20.0 Programmable Cyclic Redundancy Check (CRC) Generator .................................................................................................. 223 21.0 10-Bit High-Speed A/D Converter ............................................................................................................................................ 227 22.0 Triple Comparator Module........................................................................................................................................................ 237 23.0 Comparator Voltage Reference................................................................................................................................................ 241 24.0 Charge Time Measurement Unit (CTMU) ................................................................................................................................ 243 25.0 Special Features ...................................................................................................................................................................... 247 26.0 Instruction Set Summary .......................................................................................................................................................... 259 27.0 Development Support............................................................................................................................................................... 267 28.0 Electrical Characteristics .......................................................................................................................................................... 269 29.0 Packaging Information.............................................................................................................................................................. 305 Appendix A: Revision History............................................................................................................................................................. 319 Index ................................................................................................................................................................................................. 321 The Microchip Website ...................................................................................................................................................................... 327 Customer Change Notification Service .............................................................................................................................................. 327 Customer Support .............................................................................................................................................................................. 327 Product Identification System ............................................................................................................................................................ 329

2007-2019 Microchip Technology Inc.

DS30009905F-page 5

PIC24FJ256GA110 FAMILY

TO OUR VALUED CUSTOMERS

It is our intention to provide our valued customers with the best documentation possible to ensure successful use of your Microchip products. To this end, we will continue to improve our publications to better suit your needs. Our publications will be refined and enhanced as new volumes and updates are introduced. If you have any questions or comments regarding this publication, please contact the Marketing Communications Department via E-mail at docerrors@. We welcome your feedback.

Most Current Data Sheet

To obtain the most up-to-date version of this data sheet, please register at our Worldwide Website at:

You can determine the version of a data sheet by examining its literature number found on the bottom outside corner of any page. The last character of the literature number is the version number, (e.g., DS30000000A is version A of document DS30000000).

Errata

An errata sheet, describing minor operational differences from the data sheet and recommended work arounds, may exist for current devices. As device/documentation issues become known to us, we will publish an errata sheet. The errata will specify the revision of silicon and revision of document to which it applies. To determine if an errata sheet exists for a particular device, please check with one of the following: ? Microchip's Worldwide Website; ? Your local Microchip sales office (see last page) When contacting a sales office, please specify which device, revision of silicon and data sheet (include literature number) you are using.

Customer Notification System

Register on our website at to receive the most current information on all of our products.

DS30009905F-page 6

2007-2019 Microchip Technology Inc.

PIC24FJ256GA110 FAMILY

Referenced Sources

This device data sheet is based on the following individual chapters of the "dsPIC33/PIC24 Family Reference Manual". These documents should be considered as the general reference for the operation of a particular module or device feature.

Note 1: To access the documents listed below, browse to the documentation section of the PIC24FJ256GA110 family product page of the Microchip website () or select a family reference manual section from the following list.

In addition to parameters, features and other documentation, the resulting page provides links to the related family reference manual sections.

? "CPU" (DS39703) ? "PIC24F Flash Program Memory" (DS30009715) ? "PIC24F Data Memory" (DS30009717) ? "Reset" (DS39712) ? "Interrupts" (DS70000600) ? "Oscillator" (DS39700) ? "Power-Saving Features" (DS39698) ? "I/O Ports with Peripheral Pin Select (PPS)" (DS00039711) ? "Timers" (DS39704) ? "Input Capture with Dedicated Timer" (DS70000352) ? "Output Compare with Dedicated Timer" (DS70005159) ? "Serial Peripheral Interface (SPI)" (DS70005185) ? "Inter-Integrated Circuit (I2C)" (DS70000195) ? "Universal Asynchronous Receiver Transmitter (UART)" (DS70000582) ? "Parallel Master Port (PMP)" (DS70005344) ? "Real-Time Clock and Calendar (RTCC)" (DS39696) ? "Programmable Cyclic Redundancy Check (CRC)" (DS39714) ? "10-Bit A/D Converter" (DS39705) ? "Scalable Comparator Module" (DS39734) ? "Charge Time Measurement Unit (CTMU)" (DS39724) ? "High-Level Device Integration" (DS39719) ? "Watchdog Timer (WDT)" (DS39697) ? "CodeGuardTM Intermediate Security" (DS70005182) ? "Programming and Diagnostics" (DS39716) ? "Comparator Voltage Reference Module" (DS39709)

2007-2019 Microchip Technology Inc.

DS30009905F-page 7

PIC24FJ256GA110 FAMILY

NOTES:

DS30009905F-page 8

2007-2019 Microchip Technology Inc.

................
................

In order to avoid copyright disputes, this page is only a partial summary.

Google Online Preview   Download