PIC16C765-I/P Microchip Technology, PIC16C765-I/P Datasheet - Page 58

IC MCU OTP 8KX14 USB 40DIP

PIC16C765-I/P

Manufacturer Part Number
PIC16C765-I/P
Description
IC MCU OTP 8KX14 USB 40DIP
Manufacturer
Microchip Technology
Series
PIC® 16Cr

Specifications of PIC16C765-I/P

Core Size
8-Bit
Program Memory Size
14KB (8K x 14)
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Core Processor
PIC
Speed
24MHz
Connectivity
SCI, UART/USART, USB
Number Of I /o
33
Program Memory Type
OTP
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
4.35 V ~ 5.25 V
Data Converters
A/D 8x8b
Oscillator Type
External
Operating Temperature
-40°C ~ 85°C
Package / Case
40-DIP (0.600", 15.24mm)
Controller Family/series
PIC16C
No. Of I/o's
33
Ram Memory Size
256Byte
Cpu Speed
24MHz
No. Of Timers
3
Processor Series
PIC16C
Core
PIC
Data Bus Width
8 bit
Data Ram Size
256 B
Maximum Clock Frequency
24 MHz
Number Of Programmable I/os
33
Number Of Timers
3
Operating Supply Voltage
4.35 V to 5.25 V
Maximum Operating Temperature
+ 85 C
Mounting Style
Through Hole
3rd Party Development Tools
52715-96, 52716-328, 52717-734
Development Tools By Supplier
ICE2000, DM163022
Minimum Operating Temperature
- 40 C
On-chip Adc
5 bit
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With
ISPICR1 - ADAPTER IN-CIRCUIT PROGRAMMING444-1001 - DEMO BOARD FOR PICMICRO MCU
Eeprom Size
-
Lead Free Status / Rohs Status
 Details
Other names
Q975613

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
PIC16C765-I/P
Manufacturer:
MICROCHIP
Quantity:
12 000
Part Number:
PIC16C765-I/PT
Manufacturer:
Microchip Technology
Quantity:
10 000
PIC16C745/765
The Device descriptor provides general information
such as manufacturer, product number, serial number,
USB device class the product falls under, and the
number of different configurations supported. There
can only be one Device descriptor for any given appli-
cation.
The Configuration descriptor provides information on
the power requirements of the device and how many
different interfaces are supported when in this configu-
ration. There may be more than one configuration for
each device, (i.e., a high power device may also sup-
port a low power configuration).
The Interface descriptor details the number of end-
points used in this interface, as well as the class driver
to use should the device support functions in more
than just one device class. There can only be one
Interface descriptor for each configuration.
The Endpoint descriptor details the actual registers for
a given function. Information is stored about the trans-
fer types supported, direction (In/Out), bandwidth
requirements and polling interval. There may be more
than one endpoint in a device, and endpoints may be
shared between different interfaces.
Many of the four descriptors listed above will reference
or index different String descriptors. String descriptors
are used to provide vendor specific or application spe-
cific information. They may be optional and are
encoded in “Unicode” format.
10.1.7
Operating systems provide drivers which group func-
tions together by common device types called classes.
Examples of device classes include, but are not limited
to, storage, audio, communications and HID (Human
Interface). Class drivers for a given application are ref-
erenced in both the Device descriptor and Interface
descriptor. Most applications can find a Class Driver
which supports the majority of their function/command
needs. Vendors who have a requirement for specific
commands which are not supported by any of the
standard class drivers may provide a vendor specific
“.inf” file or driver for extra support.
10.1.8
While a complete USB overview is beyond the scope
of this document, a few key concepts must be noted.
Low speed communication is designed for devices,
which in the past, used an interrupt to communicate
with the host. In the USB scheme, devices do not
directly interrupt the processor when they have data.
Instead the host periodically polls each device to see if
they have any data. This polling rate is negotiated
between the device and host, giving the system a
guaranteed latency.
For more details on USB, see the USB V1.1 spec,
available from the USB website at www.usb.org.
DS41124C-page 58
DEVICE CLASSES/CLASS DRIVERS
SUMMARY
Preliminary
10.2
The PIC16C745/765 USB peripheral module supports
Low Speed control and interrupt (IN and OUT) trans-
fers only. The implementation supports 3 endpoint
numbers (0, 1, 2) for a total of 6 endpoints.
The following terms are used in the description of the
USB module:
• MCU - The core processor and corresponding
• SIE - Serial Interface Engine: That part of the
• USB - The USB module including SIE and
• Bit Stuffing - forces insertion of a transition on D+
• BD - Buffer Descriptor
• BDT - Buffer Descriptor Table
• EP - Endpoint (combination of endpoint number
• IN - Packet transfer into the host
• OUT - Packet transfer out of the host
10.3
When the USB transmits or receives data the SIE will
first check that the corresponding endpoint and direc-
tion Buffer Description UOWN bit equals 1. The USB
will move the data to or from the corresponding buffer.
When the TOKEN is complete, the USB will update the
BD status and change the UOWN bit to 0. The USTAT
register is updated and the TOK_DNE interrupt is set.
When the MCU processes the TOK_DNE interrupt it
reads the USTAT register, which gives the MCU the
information it needs to process the endpoint. At this
point the MCU will process the data and set the corre-
sponding UOWN bit. Figure 10-1 shows a time line of
how a typical USB token would be processed.
10.4
Microchip provides a comprehensive support library of
standard chapter 9 USB commands. These libraries
provide a software layer to insulate the application
software from having to handle the complexities of the
USB protocol. A simple Put/Get interface is imple-
mented to allow most of the USB processing to take
place in the background within the USB interrupt ser-
vice routine. Applications are encouraged to use the
provided libraries during both enumeration and config-
ured operation.
firmware
USB that performs functions such as CRC gener-
ation and clocking of the D+ and D- signals.
registers
and D- to maintain clock synchronization
and direction)
Introduction
USB Transaction
Firmware Support
2000 Microchip Technology Inc.

Related parts for PIC16C765-I/P