参数资料
型号: PIC16C765-I/L
厂商: Microchip Technology
文件页数: 138/165页
文件大小: 0K
描述: IC MCU OTP 8KX14 USB 44PLCC
产品培训模块: Asynchronous Stimulus
8-bit PIC® Microcontroller Portfolio
标准包装: 27
系列: PIC® 16C
核心处理器: PIC
芯体尺寸: 8-位
速度: 24MHz
连通性: SCI,UART/USART,USB
外围设备: 欠压检测/复位,POR,PWM,WDT
输入/输出数: 33
程序存储器容量: 14KB(8K x 14)
程序存储器类型: OTP
RAM 容量: 256 x 8
电压 - 电源 (Vcc/Vdd): 4.35 V ~ 5.25 V
数据转换器: A/D 8x8b
振荡器型: 外部
工作温度: -40°C ~ 85°C
封装/外壳: 44-LCC(J 形引线)
包装: 管件
产品目录页面: 636 (CN2011-ZH PDF)
配用: AC164309-ND - MODULE SKT FOR PM3 44PLCC
ISPICR1-ND - ADAPTER IN-CIRCUIT PROGRAMMING
444-1001-ND - DEMO BOARD FOR PICMICRO MCU
PIC16C745/765
DS41124C-page 74
Preliminary
2000 Microchip Technology Inc.
ConfiguredUSB (Macro) continuously polls the enu-
meration status bits and waits until the device has been
configured by the host. This should be used after the
call to InitUSB and prior to the first time your application
attempts to communicate on the bus.
SetConfiguration is a callback function that allows
your application to associate some meaning to a Set
Configuration command from the host. The CH9 soft-
ware stores the value in USB_Curr_Config so it can be
reported back on a Get Configuration call. This func-
tion is also called, passing the new configuration in W.
This function is called from within the ISR, so it should
be kept as short as possible.
10.9.6
BEHIND THE SCENES
InitUSB clears the error counters and enables the
3.3V regulator and the USB Reset interrupt. This
implements the requirement to prevent the PICmicro
device from responding to commands until the device
has been RESET.
The host sees the device and resets the device, to
begin the enumeration process. The RESET then ini-
tializes the Buffer Descriptor Table (BDT), EndPoint
Control Registers and enables the remaining USB
interrupt sources.
The Interrupt transfers control to the interrupt vector
(address
0x0004
). Any Interrupt Service Routine
must preserve the processor state by saving the FSRs
that might change during interrupt processing. We rec-
ommend saving W, STATUS, PCLATH and FSR. W
can be stored in unbanked RAM to avoid banking
issues. Then it starts polling the Interrupt flags to see
what triggered the interrupt. The USB interrupts are
serviced by calling ServiceUSBInt which further tests
the USB interrupt sources to determine how to pro-
cess the interrupt.
Then, the host sends a setup token requesting the
device descriptor. The USB Peripheral receives the
Setup transaction, places the data portion in the EP0
OUT buffer, loads the USTAT register to indicate which
endpoint received the data and triggers the Token
Done (TOK_DNE) interrupt. The Chapter 9 commands
then interpret the Setup token and sets up the data to
respond to the request in the EP0 IN buffer, then sets
the UOWN bit to tell the SIE there is data available.
Then, the host sends an IN transaction to receive the
data from the setup transaction. The SIE sends the
data from the EP0 IN buffer and then sets the Token
Done interrupt to notify us that the data has been sent.
If there is additional data, the next buffer is setup in
EP0 IN buffer.
This token processing sequence holds true for the
entire enumeration sequence, which walks through the
flow chart starting chapter 9 of the USB spec. The
device starts off in the powered state, transitions to
default
via
the
Reset
interrupt,
transitions
to
ADDRESSED via the SetAddress command, and
transitions to CONFIGURED via a SetConfiguration
command.
The USB peripheral detects several different errors
and handles most internally. The USB_ERR interrupt
notifies the PICmicro device that an error has
occurred. No action is required by the device when an
error occurs. Instead, the errors are simply acknowl-
edged and counted. There is no mechanism to pull the
device off the bus if there are too many errors. If this
behavior is desired, it must be implemented in the
application.
The Activity interrupt is left disabled until the USB
peripheral detects no bus activity for 3 mS. Then it
suspends the USB peripheral and enables the activity
interrupt. The activity interrupt then reactivates the
USB peripheral when bus activity resumes, so pro-
cessing may continue.
CheckSleep is a separate call that takes the bus idle
one step further and puts the PICmicro device to
SLEEP, if the USB peripheral has detected no activity
on the bus. This powers down most of the device to
minimal current draw. This call should be made at a
point in the main loop where all other processing is
complete.
745cov.book Page 74 Wednesday, August 2, 2000 8:24 AM
相关PDF资料
PDF描述
ATMEGA88-20PU IC AVR MCU 8K 20MHZ 5V 28DIP
DSPIC33FJ64MC204-I/PT IC DSPIC MCU/DSP 64K 44-TQFP
PIC24HJ64GP206-I/PT IC PIC MCU FLASH 64KB 64TQFP
DSPIC33FJ64GP206-I/PT IC DSPIC MCU/DSP 64K 64TQFP
DSPIC30F3014-30I/ML IC DSPIC MCU/DSP 24K 44QFN
相关代理商/技术参数
参数描述
PIC16C765T-I/L 功能描述:8位微控制器 -MCU 14KB 256 RAM 33 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC16C765T-I/PT 功能描述:8位微控制器 -MCU 14KB 256 RAM 33 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC16C76T-04/SO 功能描述:8位微控制器 -MCU 14KB 368 RAM 22 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC16C76T-04E/SO 功能描述:8位微控制器 -MCU 14KB 368 RAM 22 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT
PIC16C76T-04I/SO 功能描述:8位微控制器 -MCU 14KB 368 RAM 22 I/O RoHS:否 制造商:Silicon Labs 核心:8051 处理器系列:C8051F39x 数据总线宽度:8 bit 最大时钟频率:50 MHz 程序存储器大小:16 KB 数据 RAM 大小:1 KB 片上 ADC:Yes 工作电源电压:1.8 V to 3.6 V 工作温度范围:- 40 C to + 105 C 封装 / 箱体:QFN-20 安装风格:SMD/SMT