Electronic Components Datasheet Search
  New Zealand  ▼
ALLDATASHEET.CO.NZ

X  

PIC18F4550ESOSQTP Datasheet(PDF) 166 Page - Microchip Technology

Part # PIC18F4550ESOSQTP
Description  28/40/44-Pin, High-Performance, Enhanced Flash, USB Microcontrollers with nanoWatt Technology
PDF  430 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

PIC18F4550ESOSQTP Datasheet(HTML) 166 Page - Microchip Technology

Back Button PIC18F4550ESOSQTP Datasheet HTML 162Page - Microchip Technology PIC18F4550ESOSQTP Datasheet HTML 163Page - Microchip Technology PIC18F4550ESOSQTP Datasheet HTML 164Page - Microchip Technology PIC18F4550ESOSQTP Datasheet HTML 165Page - Microchip Technology PIC18F4550ESOSQTP Datasheet HTML 166Page - Microchip Technology PIC18F4550ESOSQTP Datasheet HTML 167Page - Microchip Technology PIC18F4550ESOSQTP Datasheet HTML 168Page - Microchip Technology PIC18F4550ESOSQTP Datasheet HTML 169Page - Microchip Technology PIC18F4550ESOSQTP Datasheet HTML 170Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 166 / 430 page
background image
PIC18F2455/2550/4455/4550
DS39632D-page 164
Preliminary
© 2007 Microchip Technology Inc.
17.2
USB Status and Control
The operation of the USB module is configured and
managed through three control registers. In addition, a
total of 22 registers are used to manage the actual USB
transactions. The registers are:
• USB Control register (UCON)
• USB Configuration register (UCFG)
• USB Transfer Status register (USTAT)
• USB Device Address register (UADDR)
• Frame Number registers (UFRMH:UFRML)
• Endpoint Enable registers 0 through 15 (UEPn)
17.2.1
USB CONTROL REGISTER (UCON)
The USB Control register (Register 17-1) contains bits
needed to control the module behavior during transfers.
The register contains bits that control the following:
• Main USB Peripheral Enable
• Ping-Pong Buffer Pointer Reset
• Control of the Suspend mode
• Packet Transfer Disable
In addition, the USB Control register contains a status
bit, SE0 (UCON<5>), which is used to indicate the
occurrence of a single-ended zero on the bus. When
the USB module is enabled, this bit should be moni-
tored to determine whether the differential data lines
have come out of a single-ended zero condition. This
helps to differentiate the initial power-up state from the
USB Reset signal.
The overall operation of the USB module is controlled
by the USBEN bit (UCON<3>). Setting this bit activates
the module and resets all of the PPBI bits in the Buffer
Descriptor Table to ‘0’. This bit also activates the
on-chip voltage regulator and connects internal pull-up
resistors, if they are enabled. Thus, this bit can be used
as a soft attach/detach to the USB. Although all status
and control bits are ignored when this bit is clear, the
module needs to be fully preconfigured prior to setting
this bit.
REGISTER 17-1:
UCON: USB CONTROL REGISTER
U-0
R/W-0
R-x
R/C-0
R/W-0
R/W-0
R/W-0
U-0
—
PPBRST
SE0
PKTDIS
USBEN
RESUME
SUSPND
—
bit 7
bit 0
Legend:
C = Clearable bit
R = Readable bit
W = Writable bit
U = Unimplemented bit, read as ‘0’
-n = Value at POR
‘1’ = Bit is set
‘0’ = Bit is cleared
x = Bit is unknown
bit 7
Unimplemented: Read as ‘0’
bit 6
PPBRST: Ping-Pong Buffers Reset bit
1
= Reset all Ping-Pong Buffer Pointers to the Even Buffer Descriptor (BD) banks
0
= Ping-Pong Buffer Pointers not being reset
bit 5
SE0: Live Single-Ended Zero Flag bit
1
= Single-ended zero active on the USB bus
0
= No single-ended zero detected
bit 4
PKTDIS: Packet Transfer Disable bit
1
= SIE token and packet processing disabled, automatically set when a SETUP token is received
0
= SIE token and packet processing enabled
bit 3
USBEN: USB Module Enable bit
1
= USB module and supporting circuitry enabled (device attached)
0
= USB module and supporting circuitry disabled (device detached)
bit 2
RESUME: Resume Signaling Enable bit
1
= Resume signaling activated
0
= Resume signaling disabled
bit 1
SUSPND: Suspend USB bit
1
= USB module and supporting circuitry in Power Conserve mode, SIE clock inactive
0
= USB module and supporting circuitry in normal operation, SIE clock clocked at the configured rate
bit 0
Unimplemented: Read as ‘0’



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com