AC164139 Microchip Technology, AC164139 Datasheet - Page 251
![Graphics Display Prototype Board Graphics](/photos/28/36/283699/ac164139_sml.jpg)
AC164139
Manufacturer Part Number
AC164139
Description
Graphics Display Prototype Board Graphics
Manufacturer
Microchip Technology
Specifications of AC164139
Main Purpose
LCD Development
Embedded
No
Utilized Ic / Part
PICtail™ Plus Board
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Secondary Attributes
-
Primary Attributes
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Available stocks
Company
Part Number
Manufacturer
Quantity
Price
Company:
Part Number:
AC164139
Manufacturer:
Microchip Technology
Quantity:
135
- Current page: 251 of 408
- Download datasheet (4Mb)
18.5.2
1.
2.
3.
4.
5.
6.
7.
2010 Microchip Technology Inc.
Follow
Section 18.5.1 “Enable Host Mode and Dis-
cover a Connected Device” to discover a
device.
Set up the Endpoint Control register for
bidirectional control transfers by writing 0Dh to
U1EP0 (this sets the EPCONDIS, EPTXEN and
EPHSHK bits).
Place a copy of the device framework setup
command in a memory buffer. See “Chapter 9 of
the USB 2.0 Specification” for information on the
device framework command set.
Initialize the Buffer Descriptor (BD) for the
current (even or odd) TX EP0 to transfer the
eight bytes of command data for a device
framework command (i.e., GET
DESCRIPTOR):
a)
b)
Set the USB device address of the target device
in the address register (U1ADDR<6:0>). After a
USB bus Reset, the device USB address will be
zero. After enumeration, it will be set to another
value between 1 and 127.
Write D0h to U1TOK; this is a SETUP token to
Endpoint 0, the target device’s default control
pipe. This initiates a SETUP token on the bus,
followed by a data packet. The device hand-
shake is returned in the PID field of BD0STAT
after the packets are complete. When the USB
module updates BD0STAT, a transfer done
interrupt is asserted (the TRNIF flag is set). This
completes the setup phase of the setup transac-
tion as referenced in “Chapter 9 of the USB
Specification”.
To initiate the data phase of the setup transac-
tion (i.e., get the data for the GET
DESCRIPTOR command), set up a buffer in
memory to store the received data.
Set the BD data buffer address (BD0ADR)
to the starting address of the 8-byte
memory buffer containing the command.
Write 8008h to BD0STAT (this sets the
UOWN bit and sets a byte count of 8).
COMPLETE A CONTROL
TRANSACTION TO A CONNECTED
DEVICE
the
procedure
described
DEVICE
DEVICE
PIC24FJ256DA210 FAMILY
in
8.
9.
10. To initiate the status phase of the setup transac-
11. Initialize the current (even or odd) TX EP0 BD to
12. Write the Token register with the appropriate IN
Note:
Initialize the current (even or odd) RX or TX (RX
for IN, TX for OUT) EP0 BD to transfer the data.
a)
b)
Write the Token register with the appropriate IN
or OUT token to Endpoint 0, the target device’s
default control pipe (e.g., write 90h to U1TOK for
an IN token for a GET DEVICE DESCRIPTOR
command). This initiates an IN token on the bus
followed by a data packet from the device to the
host. When the data packet completes, the
BD0STAT is written and a transfer done interrupt
is asserted (the TRNIF flag is set). For control
transfers with a single packet data phase, this
completes the data phase of the setup transac-
tion as referenced in “Chapter 9 of the USB
Specification”. If more data needs to be
transferred, return to step 8.
tion, set up a buffer in memory to receive or send
the zero length status phase data packet.
transfer the status data:
a)
b)
or OUT token to Endpoint 0, the target device’s
default control pipe (e.g., write 01h to U1TOK for
an OUT token for a GET DEVICE DESCRIPTOR
command). This initiates an OUT token on the
bus followed by a zero length data packet from
the host to the device. When the data packet
completes, the BD is updated with the
handshake from the device and a transfer done
interrupt is asserted (the TRNIF flag is set). This
completes the status phase of the setup trans-
action as described in “Chapter 9 of the USB
Specification”.
Write C040h to BD0STAT. This sets the
UOWN, configures Data Toggle (DTS) to
DATA1 and sets the byte count to the length
of the data buffer (64 or 40h in this case).
Set BD0ADR to the starting address of the
data buffer.
Set the BDT buffer address field to the start
address of the data buffer.
Write 8000h to BD0STAT (set UOWN bit,
configure DTS to DATA0 and set byte count
to 0).
Only one control transaction can be
performed per frame.
DS39969B-page 251
Related parts for AC164139
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![TC1014-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1014-5.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.8VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-4.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1186-2.85VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: