DataSheet.es    


PDF MCP2221A Data sheet ( Hoja de datos )

Número de pieza MCP2221A
Descripción UART Protocol Converter
Fabricantes Microchip 
Logotipo Microchip Logotipo



Hay una vista previa y un enlace de descarga de MCP2221A (archivo pdf) en la parte inferior de esta página.


Total 30 Páginas

No Preview Available ! MCP2221A Hoja de datos, Descripción, Manual

MCP2221A
USB 2.0 to I2C/UART Protocol Converter with GPIO
Note:
The MCP2221A is identical to the
MCP2221 in all aspects except for the
maximum supported baud rate of the
UART, which has been increased from
115200 (MCP2221) to 460800
(MCP2221A).
Features:
Universal Serial Bus (USB)
• Supports Full-Speed USB (12 Mb/s)
• Implements USB Protocol Composite Device:
- Communication Device Class (CDC) for
USB-to-UART conversion
- Human Interface Device (HID) for I2C device
control and configuration
• 448-Byte Buffer to Handle Data Throughput at
Any Supported UART Baud Rate:
- 64-byte transmit
- 384-byte receive
• Human Interface Device (HID) for Both
I2C Communication and Control:
64-byte buffer to handle data throughput at
any I2C baud rate
• Fully-Configurable VID and PID Assignments and
String Descriptors
• Bus Powered or Self Powered
• USB 2.0-Compliant: TID# 40001594
USB Driver and Software Support
• Enumerates as a Composite USB Device (CDC
and HID) Using Standard Drivers for Virtual Com
Port (VCP) on the Following Windows® Operating
Systems: XP® (SP3), Vista®, 7, 8, 8.1 and 10
• Configuration Utility for Establishing a Custom
Boot-Up Configuration
• I2C/SMBus Terminal
• Windows DLL
CDC and Universal Asynchronous
Receiver/Transmitter (UART) Options
• Communications Device Class (CDC) for the
USB-to-UART Option
• Responds to SET LINE CODING Commands to
Dynamically Change Baud Rates
• Supports Baud Rates: 300-460800
• UART TX and RX Pins Only
• Serial Number Used During the CDC
Enumeration Can Be Enabled By Using the
Microchip-provided Configuration Utility or By
Calling the Proper API From the Support Libraries
for this Device
I2C/SMBus
• The Device Runs as an I2C Master. The Data to
Write/Read On the I2C Bus is Conveyed By the
USB Interface.
• I2C Master:
- Up to 400 kHz clock rate
- Supports 7- or 10-bit addressable devices;
10-bit addressable devices are supported
through the PC host library
- Supports block reads/writes of up to 65,535
bytes long
• SMBus Master:
- Supports all of the SMBus transfers
- SMBus functionality is achieved through a
combination of chip and support library
processing
- Up to 400 kHz clock rate
General Purpose Input/Output (GPIO) Pins
• Four General Purpose Input/Output Pins
• All GP Pins Can Be Assigned to Other
Functionalities
Other Functionalities
• UART Activity LED Outputs (UTX and URX)
• SSPND Output Pin
• USBCFG Output Pin (Indicates When the
Enumeration Has Completed)
• Three ADC Inputs
• One DAC with Two Possible Output Options
• Clock Reference Output: 12 MHz or Other
Configurable Values
• External Interrupt Edge Detection
Other
• Operating Voltage: 3.0 to 5.5V
• Electrostatic Discharge (ESD) Protection: > 4 kV
Human Body Model (HBM)
• Industrial (I) Operating Temperature: -40°C to +85°C
2016 Microchip Technology Inc.
DS20005565A-page 1

1 page




MCP2221A pdf
1.4 Device Configuration
The MCP2221A keeps all the essential device
configuration settings stored in Flash memory.
Device configuration settings affect the way the
MCP2221A behaves at run time.
The settings are stored into the Flash memory on the
device. Some of the settings are also copied into
SRAM at Power-Up/Reset.
These device configuration settings reside in the
following two distinct areas of Flash memory:
• Chip Settings
The Chip settings area stores the key MCP2221A
parameters – USB parameters, ADC/DAC
reference voltage choice, start-up DAC value,
Clock Reference output (CLKR) frequency and
duty cycle values.
• GP Settings
The GP Settings area stores the GP designation
settings. For GP settings that are assigned to
GPIO output operation, output values (logic 1 or 0)
are also specified.
Even though the MCP2221A places a partial copy of
the Chip settings in SRAM, the following Chip settings
always reside in Flash:
• USB Manufacturer/Product and Serial Number
descriptors
• USB VID and PID pair
• USB options (e.g., the requested amount of
current that is presented to the USB host during
the USB enumeration process)
1.4.1
POWER-UP/RESET DEVICE
CONFIGURATION BEHAVIOR
At Power-up/Reset, the MCP2221A configures the
device options (GP designation, special function pins
parameters and USB enumeration options) according
to the Flash settings. Then, the Flash Chip settings and
GP settings are loaded into SRAM to allow for their
temporary modification at run time.
Chip settings of the device configuration Flash is
copied partially into SRAM. Only the run-
time-modifiable parameters are copied into SRAM.
GP Settings of the Device Configuration Flash (GP
settings area) are copied entirely into the SRAM. By
copying the GP settings completely into SRAM, the
user is allowed to completely change the GP
designation at run time.
The SRAM copy of the settings can be altered at run
time in order to change certain device behavior, e.g.,
GP designation (the GPs can be re-assigned for a
different type of operation than the one assigned at
power-up) and special parameters (DAC value,
ADC/DAC voltage references, clock output value).
MCP2221A
FIGURE 1-1:
CHIP SETTINGS RUN
TIME MANAGEMENT
Power-up/Reset
Copy Flash Chip and
GP settings to SRAM
USB enumeration
and configuration
complete
No SRAM settings
Yes
changes needed
Change the
SRAM settings
The SRAM settings (GP and partial Chip settings) can
be modified through USB HID commands, and they will
have an effect on the following device features:
• GP pin designation (switch between GPIO,
dedicated or special functions modes)
• GPIO direction and output value (only for GPIO
outputs) – for the GPs assigned to work in GPIO
mode
• Clock Output duty cycle and value – if GP1 is
assigned for CLKR mode (Clock Reference
Output mode), by modifying the SRAM settings,
the clock frequency and duty cycle can be
changed at run time
• DAC value and voltage reference used – the DAC
value setting as well as the voltage reference
used for it are stored in SRAM settings and they
can be changed at run time. Through this
mechanism, at run time the user can change the
DAC value, as well as the voltage reference.
• ADC voltage reference value – the voltage
reference used for ADC conversions can be
changed by altering its corresponding SRAM
setting
• Interrupt-on-Change (IOC) detector settings – if
GP1 is assigned for IOC mode, the SRAM
settings are used for setting up the triggers used
for external interrupt detection (positive, negative
edge detection or both)
2016 Microchip Technology Inc.
DS20005565A-page 5

5 Page





MCP2221A arduino
MCP2221A
REGISTER 1-10: USBREQCRT REGISTER
R/W-0
USBRE-
QCRT7
bit 7
R/W-0
USBRE-
QCRT6
R/W-1
USBRE-
QCRT5
R/W-1
USBRE-
QCRT4
R/W-0
USBRE-
QCRT3
R/W-0
USBRE-
QCRT2
R/W-1
USBRE-
QCRT1
R/W-0
USBRE-
QCRT0
bit 0
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
x = Bit is unknown
bit 7-0
USBREQCRT<7:0>: USB Bus-Powered Required Current Amount bits (in units of 2 mA)
Factory default is 50 (decimal); the USB enumeration interprets this value as a current requirement of
100 mA.
REGISTER 1-11: PASS0 – PASS7 REGISTER
R/W-0
PASSx7
bit 7
R/W-0
PASSx6
R/W-0
PASSx5
R/W-0
PASSx4
R/W-0
PASSx3
R/W-0
PASSx2
R/W-0
PASSx1
R/W-0
PASSx0
bit 0
Legend:
R = Readable bit
-n = Value at POR
W = Writable bit
‘1’ = Bit is set
U = Unimplemented bit, read as ‘0’
‘0’ = Bit is cleared
x = Bit is unknown
bit 7-0
PASSx<7:0>: Password Byte X Value bits (factory default is 0)
2016 Microchip Technology Inc.
DS20005565A-page 11

11 Page







PáginasTotal 30 Páginas
PDF Descargar[ Datasheet MCP2221A.PDF ]




Hoja de datos destacado

Número de piezaDescripciónFabricantes
MCP2221UART Protocol ConverterMicrochip
Microchip
MCP2221AUART Protocol ConverterMicrochip
Microchip

Número de piezaDescripciónFabricantes
SLA6805M

High Voltage 3 phase Motor Driver IC.

Sanken
Sanken
SDC1742

12- and 14-Bit Hybrid Synchro / Resolver-to-Digital Converters.

Analog Devices
Analog Devices


DataSheet.es es una pagina web que funciona como un repositorio de manuales o hoja de datos de muchos de los productos más populares,
permitiéndote verlos en linea o descargarlos en PDF.


DataSheet.es    |   2020   |  Privacy Policy  |  Contacto  |  Buscar