Details
BUY PIC24FJ128GA306-I/PT https://www.utsource.net/itm/p/7430352.html
PIC PIC? XLP? 24F Microcontroller IC 16-Bit 32MHz 128KB (43K x 24) FLASH 64-TQFP (10x10)
Parameter | Description | Value |
---|---|---|
Device | Microcontroller | PIC24FJ128GA306-I/PT |
Package | Package Type | 44-Pin TQFP (PT) |
Operating Voltage (Vdd) | Supply Voltage Range | 1.8V to 3.6V |
Operating Temperature | Temperature Range | -40°C to +85°C |
Flash Memory | Program Memory Size | 128KB |
RAM | Data Memory Size | 16KB |
Clock Speed | Maximum Clock Frequency | 32MHz |
ADC | Analog-to-Digital Converter | 12-bit, 16 channels |
DAC | Digital-to-Analog Converter | 10-bit, 2 channels |
Timers | Number of Timers | 6 (2x 16-bit, 4x 8-bit) |
PWM | Pulse Width Modulation | 6 channels |
Serial Communication | UART, SPI, I2C | 3 UARTs, 2 SPIs, 2 I2Cs |
Interrupts | Number of Interrupt Sources | 39 |
Watchdog Timer (WDT) | Watchdog Timer | Yes |
Brown-out Reset (BOR) | Brown-out Reset | Yes |
Low-Voltage Programming (LVP) | Low-Voltage Programming | Yes |
Pin Count | Number of Pins | 44 |
Power Consumption | Active Mode Current | 200 μA/MHz |
Sleep Mode Current | Sleep Mode Current | 50 nA |
Capacitive Touch Sensing | Capacitive Touch Channels | 16 |
Comparator | Analog Comparators | 2 |
Voltage Reference | Internal Voltage Reference | 1.024V to 3.3V |
Brown-out Detection (BOD) | Brown-out Detection | Yes |
Program Memory Endurance | Flash Program Memory Endurance | 10,000 write/erase cycles |
Data Retention | Data Retention Time | 20 years at 85°C |
Programming Interface | In-Circuit Serial Programming (ICSP) | Yes |
Instructions for Use:
Power Supply:
- Ensure the supply voltage (Vdd) is within the specified range (1.8V to 3.6V).
- Connect a stable power source to Vdd and ground (GND).
Clock Configuration:
- Configure the internal oscillator or external clock source as needed.
- Use the
OSCCON
register to set the clock frequency.
Pin Configuration:
- Refer to the datasheet for pin assignments and configure the I/O pins using the
TRIS
registers. - Set the direction of the pins (input or output) using the
TRIS
registers.
- Refer to the datasheet for pin assignments and configure the I/O pins using the
Analog-to-Digital Converter (ADC):
- Initialize the ADC module using the
ADCON1
,ADCON2
, andADCON3
registers. - Select the appropriate channel and start conversion using the
ADGO
bit.
- Initialize the ADC module using the
Digital-to-Analog Converter (DAC):
- Initialize the DAC module using the
DAC1CON
andDAC2CON
registers. - Set the output voltage by writing to the
DAC1DAT
andDAC2DAT
registers.
- Initialize the DAC module using the
Serial Communication:
- Initialize the UART, SPI, or I2C modules using the respective control registers.
- Configure the baud rate, data format, and other parameters as required.
Interrupts:
- Enable interrupts globally using the
INTCON
register. - Configure individual interrupt sources and priorities using the
IEC
,IPC
, andIFS
registers.
- Enable interrupts globally using the
Watchdog Timer (WDT):
- Enable the WDT using the
RCON
register. - Clear the WDT periodically to prevent a reset.
- Enable the WDT using the
Brown-out Reset (BOR):
- Enable BOR using the
BORCON
register. - Set the brown-out threshold voltage if necessary.
- Enable BOR using the
Capacitive Touch Sensing:
- Initialize the capacitive touch sensing module using the
CTMU
andCTMUCON
registers. - Configure the touch channels and perform measurements.
- Initialize the capacitive touch sensing module using the
Programming:
- Use the MPLAB X IDE or another compatible programming tool to program the device.
- Connect the ICSP interface for in-circuit programming.
Power Management:
- Use sleep mode to reduce power consumption by setting the
SLEEP
bit in theWDTCON
register. - Wake up from sleep mode using interrupts or external triggers.
- Use sleep mode to reduce power consumption by setting the
For detailed information and specific register settings, refer to the official Microchip datasheet for the PIC24FJ128GA306-I/PT.
(For reference only)View more about PIC24FJ128GA306-I/PT on main site