PIC24FJ256GB110-I/PT Microchip Technology, PIC24FJ256GB110-I/PT Datasheet - Page 218

IC PIC MCU FLASH 256K 100TQFP

PIC24FJ256GB110-I/PT

Manufacturer Part Number
PIC24FJ256GB110-I/PT
Description
IC PIC MCU FLASH 256K 100TQFP
Manufacturer
Microchip Technology
Series
PIC® 24Fr

Specifications of PIC24FJ256GB110-I/PT

Program Memory Type
FLASH
Program Memory Size
256KB (85.5K x 24)
Package / Case
100-TFQFP
Core Processor
PIC
Core Size
16-Bit
Speed
32MHz
Connectivity
I²C, SPI, UART/USART, USB OTG
Peripherals
Brown-out Detect/Reset, LVD, POR, PWM, WDT
Number Of I /o
83
Ram Size
16K x 8
Voltage - Supply (vcc/vdd)
2 V ~ 3.6 V
Data Converters
A/D 16x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Processor Series
PIC24FJ
Core
PIC
Data Bus Width
16 bit
Data Ram Size
16 KB
Interface Type
I2C/SPI/UART
Maximum Clock Frequency
32 MHz
Number Of Programmable I/os
84
Number Of Timers
5
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
52713-733, 52714-737, 53276-922, EWDSPIC
Development Tools By Supplier
PG164130, DV164035, DV244005, DV164005, PG164120, DM240001, DM240011
Minimum Operating Temperature
- 40 C
On-chip Adc
16-ch x 10-bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
876-1004 - PIC24 BREAKOUT BOARDDM240011 - KIT STARTER MPLAB FOR PIC24F MCUMA240014 - MODULE PLUG-IN PIC24DM240001 - BOARD DEMO PIC24/DSPIC33/PIC32
Eeprom Size
-
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC24FJ256GB110-I/PT
Manufacturer:
MICROCHIP
Quantity:
65 100
Part Number:
PIC24FJ256GB110-I/PT
Manufacturer:
MICROCHIP
Quantity:
214
Part Number:
PIC24FJ256GB110-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
Part Number:
PIC24FJ256GB110-I/PT
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Part Number:
PIC24FJ256GB110-I/PT
0
PIC24FJ256GB110 FAMILY
18.4.2
1.
2.
3.
4.
18.4.3
1.
2.
3.
4.
DS39897C-page 218
Attach to a USB host and enumerate as described
in Chapter 9 of the USB 2.0 specification.
Create a data buffer, and populate it with the
data to send to the host.
In the appropriate (EVEN or ODD) Tx BD for the
desired endpoint:
a)
b)
c)
When the USB module receives an IN token, it
automatically transmits the data in the buffer.
Upon completion, the module updates the status
register (BDnSTAT) and sets the Transfer
Complete Interrupt Flag, TRNIF (U1IR<3>).
Attach to a USB host and enumerate as described
in Chapter 9 of the USB 2.0 specification.
Create a data buffer with the amount of data you
are expecting from the host.
In the appropriate (EVEN or ODD) Tx BD for the
desired endpoint:
a)
b)
c)
When the USB module receives an OUT token,
it automatically receives the data sent by the
host to the buffer. Upon completion, the module
updates the status register (BDnSTAT) and sets
the Transfer Complete Interrupt Flag, TRNIF
(U1IR<3>).
Set up the status register (BDnSTAT) with
the correct data toggle (DATA0/1) value and
the byte count of the data buffer.
Set up the address register (BDnADR) with
the starting address of the data buffer.
Set the UOWN bit of the status register to
‘1’.
Set up the status register (BDnSTAT) with
the correct data toggle (DATA0/1) value and
the byte count of the data buffer.
Set up the address register (BDnADR) with
the starting address of the data buffer.
Set the UOWN bit of the status register to
‘1’.
RECEIVING AN IN TOKEN IN
DEVICE MODE
RECEIVING AN OUT TOKEN IN
DEVICE MODE
Endpoint 0 control register (U1EP0) and buffer
descriptors.
18.5
The following sections describe how to perform common
Host mode tasks. In Host mode, USB transfers are
invoked explicitly by the host software. The host soft-
ware is responsible for the Acknowledge portion of the
transfer. Also, all transfers are performed using the
18.5.1
1.
2.
3.
4.
5.
6.
7.
8.
9.
10. Perform enumeration as described by Chapter 9
Enable Host mode by setting U1CON<3>
(HOSTEN). This causes the Host mode control
bits in other USB OTG registers to become
available.
Enable the D+ and D- pull-down resistors by set-
ting
(U1OTGCON<5:4>). Disable the D+ and D-
pull-up resistors by clearing DPPULUP and
DMPULUP (U1OTGCON<7:6>).
At this point, SOF generation begins with the
SOF counter loaded with 12,000. Eliminate
noise on the USB by clearing the SOFEN bit
(U1CON<0>) to disable Start-Of-Frame packet
generation.
Enable the device attached interrupt by setting
ATTACHIE (U1IE<6>).
Wait
(U1IR<6> = 1). This is signaled by the USB
device changing the state of D+ or D- from ‘0’
to ‘1’ (SE0 to J state). After it occurs, wait
100 ms for the device power to stabilize.
Check the state of the JSTATE and SE0 bits in
U1CON. If the JSTATE bit (U1CON<7>) is ‘0’,
the connecting device is low speed. If the
connecting device is low speed, set the low
LSPDEN and LSPD bits (U1ADDR<7> and
U1EP0<7>) to enable low-speed operation.
Reset the USB device by setting the USBRST
bit (U1CON<4>) for at least 50 ms, sending
Reset signaling on the bus. After 50 ms,
terminate the Reset by clearing USBRST.
To keep the connected device from going into
suspend, enable SOF packet generation to keep
by setting the SOFEN bit.
Wait 10 ms for the device to recover from Reset.
of the USB 2.0 specification.
Host Mode Operation
for
ENABLE HOST MODE AND
DISCOVER A CONNECTED DEVICE
DPPULDWN
the
device
 2009 Microchip Technology Inc.
and
attached
DMPULDWN
interrupt

Related parts for PIC24FJ256GB110-I/PT