PIC18F25J50-I/SS Microchip Technology, PIC18F25J50-I/SS Datasheet - Page 10

IC PIC MCU FLASH 32K 2V 28-SSOP

PIC18F25J50-I/SS

Manufacturer Part Number
PIC18F25J50-I/SS
Description
IC PIC MCU FLASH 32K 2V 28-SSOP
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr

Specifications of PIC18F25J50-I/SS

Program Memory Type
FLASH
Program Memory Size
32KB (16K x 16)
Package / Case
28-SSOP
Core Processor
PIC
Core Size
8-Bit
Speed
48MHz
Connectivity
I²C, SPI, UART/USART, USB
Peripherals
Brown-out Detect/Reset, DMA, POR, PWM, WDT
Number Of I /o
16
Ram Size
3.8K x 8
Voltage - Supply (vcc/vdd)
2.15 V ~ 3.6 V
Data Converters
A/D 10x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC18F
Core
PIC
Data Bus Width
8 bit
Data Ram Size
3776 B
Interface Type
EUSART, I2C, SPI
Maximum Clock Frequency
48 MHz
Number Of Timers
5
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52715-96, 52716-328, 52717-734, 52712-325, EWPIC18
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, DM183022, DM183032, DV164136, MA180024
Minimum Operating Temperature
- 40 C
On-chip Adc
10 bit, 10 Channel
Package
28SSOP
Device Core
PIC
Family Name
PIC18
Maximum Speed
48 MHz
Operating Supply Voltage
2.5|3.3 V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
AC164322 - MODULE SOCKET MPLAB PM3 28/44QFN
Eeprom Size
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC18F25J50-I/SS
Manufacturer:
MICROCHIP
Quantity:
1 001
© 2008 Microchip Technology Inc.
1.2.2
The USB Firmware Framework provides a set of modular firmware interfaces that
handle most of the work for implementing USB communications. Figure 1-2 shows a
typical USB program flow. Each firmware reference project is written to have a
cooperative multitasking environment; thus, no blocking functions should be
implemented.
The main() function is an infinite loop that services different tasks. These can be
logically thought of as either a USB task or a user task. USB tasks are handled by
USBTasks(), which polls and services all USB hardware interrupts.
FIGURE 1-2:
1.2.3
1. Launch MPLAB IDE.
2. From the MPLAB IDE menu bar, select File > Open Workspace...
3. Navigate and select the workspace file. Please see the release notes associated
4. Return to the menu bar and select Project > Build Options... > Project. The Build
5. Click on the Directories tab and verify the following:
Main
{
}
//Stack Callbacks
USBCBSuspend()
USBCBWakeFromSuspend
USBCB_SOF_Handler()
USBCBErrorHandler()
USBCBCheckOtherReq()
USBCBStdSetDscHandler()
USBCBInitEP()
USBCBSendResume()
with the stack for more information about the reference designs available.
Options dialog appears (Figure 1-3).
• The Output Directory and Intermediary Directory paths point to the
• The Include Search Path directory includes the following entries: “.”,
• The Library Search Path points to the “lib” directory under the appropriate
• The Linker-Script Path points to the directory of the project’s linker script file.
USBDeviceInit();
while(1)
{
}
directory where the output files should be placed.
..\Include, ..\Microchip\Include, and ..\..<Application> (see
Figure 1-3 for an example). This allows the files within the Framework to locate
the application-specific configuration files as well as the application-specific
code to reach the Framework functions.
compilers installation directory.
USBTasks();
The Logical Structure
Configuring MPLAB IDE for the Framework
main.c
LOGICAL STRUCTURE OF THE FIRMWARE FRAMEWORK
USBCheckHIDRequest()
HIDTxHandleBusy()
HIDTxPacket()
Device Descriptor
Configuration Descriptor(s)
String Descriptor(s)
USBDescriptors.c
hid.c
USBEnableEndpoint()
USBStallEndpoint()
USBTransferOnePacket()
USBHandleBusy()
USBHandleGetLength()
USBHandleGetAddr()
...
USBDeviceInit(void)
{
}
USBTasks(void)
{
}
...
...
USBDevice.c
DS51679B-page 6

Related parts for PIC18F25J50-I/SS