HT42B534-x USB To UART Bridge IC - Holtek

2y ago
91 Views
3 Downloads
788.61 KB
16 Pages
Last View : 28d ago
Last Download : 3m ago
Upload by : Roy Essex
Transcription

HT42B534-xUSB to UART Bridge ICFeatures Supports standard Windows drivers for VirtualCom Port (VCP): Windows XP (SP2), Vista,Widows 7 & Windows 8 (only an INF file isrequired), Windows 10 Operating Voltage (VDD): 3.3V 5.5V UART pin Voltage (VDDIO): 1.8V VDD (Less thanVDD voltage) Supports Android 4.0 or later version and Mac OS X Power down and wake-up functions to reducepower consumption Integrated 256 bytes EEPROM for user memory Package types: 8-pin SOP, 10-pin SOP/MSOP,16-pin NSOP Fully integrated 12MHz oscillator with 0.25%accuracy for all USB modes which requires noexternal componentsGeneral Description USB interface USB 2.0 Full Speed compatible Implements USB protocol composite device:–– Communication Device Class (CDC) forcommunications and configuration–– Human Interface Device (HID) for userconfigure USB VID, PID and devicedescription strings Internal 1.5kΩ pull-high resistor on D pinThe HT42B534-x device is a high performance USBto UART bridge controller with fully integratedUSB and UART interface functions, designed forapplications that communicate with various typesof UART. The device includes a USB 2.0 fullspeed compatible interface which is used for PCcommunication. The device also includes a fullyintegrated high speed oscillator which is used as clocksource for the USB and UART baud rate generator.The baud rate generator can support up to 3Mbps ofbaud rate for the UART interface. Fully-duplex Universal Asynchronous Receiverand Transmitter Interface – UART Supports Baud Rate up to 3Mbps Supports maximum 128 bytes transmit bufferand 128 bytes receive buffer UART Data formats supported:–– Data bits: 8–– Stop bits: 1 and 2–– Parity: odd, even, no parity Supports RTS/CTS pins for auto flow control Supports RX pin resume signal to request aremote wake-up Supports automatic resynchronization functionRev. 1.101March 26, 2019

HT42B534-xUSB Bridge IC Naming RulesHT42B 5 3 4 - xProduct FamilyHT42B Holtek Bridge ICVersionBridge Series of Host5 USB1 First VersionUSB Class typeBridge Series of Device3 CDC Class6 HID Class2 I2C3 SPI4 UARTRevision HistoryVersionDateHT42B534-12016/12/09First versionDescriptionHT42B534-22019/03/26Add an automatic resynchronization function to achieve the reconnection forsuccessful data transmission after power-on.Selection TablePart aceData RateI/OVDDPackageHT42B532-x USB to I2C Bridge —TX: 62 bytesRX: 62 bytesUp to 400kHz 8SOP10MSOPHT42B533-x USB to SPI Bridge —TX: 128 bytesRX: 128 bytesUp to 8MHz 10MSOP16NSOP —TX: 128 bytesRX: 128 bytesUp to 3MbpsBaud 8SOP10SOP/MSOP16NSOP— TX: 32 bytesRX: 32 bytesUp to 115.2kbpsBaud 10SOPHT42B534-x USB to UART BridgeHT42B564-x3.3V 5.5VFull-SpeedUSB (HID) to UARTBridgeBlock DiagramVDD3.3VRegulatorInternalOscillatorBaud RateGeneratorGNDVDDIOV33OD D-USBPHYVIDPIDConfigureRev. RansceiverorUARTCircuitryMarch 26, 2019

HT42B534-xPin D-47RX45D CTSTX56D DRTSRXVDDIOHT42B534-x10 MSOP-AHT42B534-x8 SOP-AD 116VDDD-215RIV33O314DCDGND413RTSD OLED89DTRHT42B534-x16 NSOP-ADGNDRXVDDIOUDETHT42B534-x10 SOP-APackage -x16NSOPHT42B534-xNote: x stands for version number.Pin DescriptionAs the Pin Description table applies to the package type with the most pins, not all of the listed pins may be presenton package types with smaller numbers of pins.Pin NameTypeDescriptionD I/OUSB D LineD-I/OUSB D- LineTXOAsynchronous data output (UART Transmit)RXIAsynchronous data input (UART Receive)CTSIClear To Send control input, active lowRTSOReady to Send control output, active lowDSRIData Set Ready control input, active lowDTROData Terminal Ready control output, active lowDCDIData Carrier Detect control input, active lowRIIRing Indicator control input, active lowLEDOTX/RX signal LED indication, active lowUDETIUSB plug in/out detect pin, only for 10-pin SOP packageV33OO3.3V regulator outputVDDIOPWRPositive power supply for TX/RX/CTS/RTS/DSR/DTR/DCD/RI pinsVDDPWRPositive power supply, USB bus powerGNDPWRNegative power supply, groundRev. 1.103March 26, 2019

HT42B534-xAbsolute Maximum RatingsSupply Voltage.VSS 0.3V to VSS 6.0VIOH Total. -80mAInput Voltage. VSS 0.3V to VDD 0.3VIOL Total. 80mAStorage Temperature.-50 C to 125 CTotal Power Dissipation. 500mWOperating Temperature.-40 C to 85 CNote: These are stress ratings only. Stresses exceeding the range specified under “Absolute Maximum Ratings”may cause substantial damage to this device. Functional operation of this device at other conditions beyondthose listed in the specification is not implied and prolonged exposure to extreme conditions may affectdevices reliability.D.C CharacteristicsSymbolParameterTa 25 CTest ng Voltage——3.3—5.5VDDIOUART Pins VDDIO Input Voltage——1.8—VDDVIDDOperating Current5VNo load—1116mAISUSSuspend Current (USB)5VSuspend mode, No load, USBon, other peripherals off—360450μAISTBStandby Current (Non-USB)for 10-pin SOP package only3VStandby mode, No load, USBPlug-out, other peripherals off,VDD power is from VDDIO–0.11.0μAVILInput Pins Input Low Voltage——0—0.2VDDIOVVIHInput Pins Input High —mA-5-10—mAIOLI/O Pins Sink CurrentIOHI/O Pins Source CurrentRPHI/O Pins Pull-high Resistance3V5V3V5VVOH 0.9VDDIO3V—2060100kΩ5V—103050kΩ—— 1μA—— 1μA3.03.33.6V-5%1.5 5%kΩ3VILEAKInput Leakage CurrentVV33O3.3V Regulator Output VoltageRUDP1Pull-high Resistance between D 3.3Vand V33ORev. 1.10VOL 0.1VDDIO5V5VVIN VDD or VIN VSSIV33O 70mA—4March 26, 2019

HT42B534-xA.C CharacteristicsSymbolParameterTa 25 CTest High Speed Internal RC Oscillator 3.3V 5.5V USB mode 0.25% MHztSSTSystem Start-up Timer Period—RX pin Wake-up frompower down mode16——tHIRCtRSTDSystem Reset Delay Time—Power-on reset2550100msPower-on Reset CharacteristicsSymbolTa 25 CTest ORVDD Start Voltage to Ensure Power-on Reset————100mVRRPORVDD Rising Rate to Ensure Power-on Reset——0.035——V/mstPORMinimum Time for VDD Stays at VPOR to EnsurePower-on Reset——1——msVDDtPORRRPORVPORRev. 1.105TimeMarch 26, 2019

HT42B534-xUSB InterfaceAs the USB device has a remote wake-up function,the USB device can wake up the USB host by sendinga remote wake-up pulse. Once the USB host receivesa remote wake-up signal from the USB device, thehost will send a resume signal to device.The USB interface, being USB 2.0 full-speedcompatible, is a 4-wire serial bus that allowscommunication between a host device and up to 127max peripheral devices on the same bus. A tokenbased protocol method is used by the host device forcommunication control. Other advantages of the USBbus include live plugging and unplugging and dynamicdevice configuration. As the complexity of USBdata protocol does not permit comprehensive USBoperation information to be provided in this datasheet,the reader should therefore consult other externalinformation for a detailed USB understanding.USB VID and PID ConfigurationThe device has configured the default Vendor ID(VID:0x04D9), Product ID (PID:0xB534) and productdescription strings of “USB to UART Bridge”. Theuser can update the Vendor ID, Product ID, productdescription strings and remote wake-up setting usingtheir application program.This device has been configured to the default USBconfiguration data as shown in the following table.Power PlanesThere are two power planes for the device and theyare the USB bus power input (VDD) and 3.3Vregulator output (V33O).ParameterFor the USB SIE VDD will supply all circuits relatedto USB SIE and be sourced from pin “VDD”. Oncethe USB is removed from the USB and there is nopower in the USB BUS, the USB SIE circuit is nolonger operational.USB Interface Operation0x04D9USB Product ID (PID)0xB534Remote wake-upDefault disableManufacturer NameHoltekProduct DescriptionUSB to UART BridgeSerial Number0000UART InterfaceTo communicate with an external USB host, theinternal USB module has external pins known asD and D- along with the 3.3V regulator outputV33O. A Serial Interface Engine (SIE) decodes theincoming USB data stream and transfers it to thecorrect endpoint buffer memory known as the FIFO.The USB module has 4 endpoints, EP0 EP3. Theendpoint 0 supports the Control transfer while theendpoint 1 endpoint 3 support the Interrupt orBulk transfer. The HT42B534-x Bridge IC supportsthe USB Communication Device Class (CDC) forcommunications and configuration.The HT42B534-x contains an integrated full-duplexasynchronous serial communications UART interfacethat enables communication with external devicesthat contain a serial interface. The UART functionhas many features and can transmit and receive dataserially by transferring a frame of data with eight databits per transmission as well as being able to detecterrors when the data is overwritten or incorrectlyframed. The UART function possesses its owninternal interrupt which can be used to indicate whena reception occurs or when a transmission terminates.0ControlThe integrated UART function contains the followingfeatures:1Interrupt2Bulk Out Full-duplex, asynchronous communication3Bulk InEndpointTransfer Type 8 bits character length Even, odd or no parity optionsUSB Endpoint Transfer Type One or two stop bitsIf there is no signal on the USB bus for over 3ms, theUSB device will enter the suspend mode. The deviceenters the suspend state to meet the requirements ofthe USB suspend current specification. When theresume signal is asserted by the USB host, the devicewill be woken up and leave the suspend mode.Rev. 1.10Value (hex)USB Vendor ID (VID) Baud rate generator with prescaler 128-byte Deep FIFO Transmit Data Buffer 128-byte Deep FIFO Receive Data Buffer RX pin wake-up function UART pins power supply by VDDIO pin6March 26, 2019

HT42B534-xUART External PinUART Power Down and Wake-upTo communicate with an external serial interface,the internal UART has two external pins known asTX and RX. The TX and RX pins are the UARTtransmitter and receiver pins respectively.If the USB host sends a suspend signal to theHT42B534-x USB device, it will enter the suspendmode. It is recommended to ensure that the UARTdata transmission or reception has been finishedbefore the device enters the suspend mode.UART Data Transfer SchemeThe UART function contains a receiver RX pin wakeup function. A falling edge on the RX pin will wakeup the device from the suspend mode.The data will be transferred to the Transmit ShiftRegister from where it will be shifted out, LSB first,onto the TX pin at a rate controlled by the BaudRate Generator. Data to be received by the UARTis accepted on the external RX pin, from where it isshifted in, LSB first, to the Receiver Shift Registerat a rate controlled by the Baud Rate Generator.The UART interface provides a 128 byte deep FIFOtransmit data buffer and a 128 byte deep FIFO receivedata buffer for applications.Application Program DemoHoltek USB Bridge ProgramHoltek provides an application program to setupthe HT42B534-x Bridge IC for USB to UART datacommunication. The application program carries thename “Holtek USB Bridge Program”. The applicationprogram function contains two blocks, the first blockis for the customer vendor ID, product ID and productinformation upgrate, the second block is for the USBto UART application settings. The USB to UARTsetting block can be used to configure the baud rate,data, stop bits, parity, flow control and data transmit/receive demo.For data transfer, the UART function utilises a nonreturn-to-zero, more commonly known as NRZ,format. This is composed of one start bit, eight databits and one or two stop bits. Parity is supported bythe UART hardware and can be setup to be even, oddor no parity. For the most common data format, 8 databits along with no parity and one stop bit, denoted as 8,N, 1, is used as the default setting, which is the settingat power-on.The main figure for the program update is as follows:The following diagram shows the transmit and receivewaveforms for an 8-bit data format.NextParity BitStartStartStopBitBit Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7Bit8-bit Data FormatBaud Rate GeneratorTo setup the speed of the serial data communication,the UART function contains its own dedicated baudrate generator. The default UART baud rate is 9600bpsand it can be controlled by the application program.The baud rate and miss rate table:Baud RateReal RateMiss Rate ev. 1.107March 26, 2019

HT42B534-xProgram Update Block Step5: Import user memory (user optional). Step6: Save or open user memory data (useroptional).On the program update block page, first open theHoltek VID/PID Bridge IC. If the USB has beenplugged into the host PC, a new window will popup showing USB open success. The user can updatethe customer VID, PID, manufacturer name, productdescription, serial number and 256 bytes of usermemory as well as set the UART bridge devicehardware flow control and remote wake-up functions.A user memory area, where no special data has beenstored, can be used by the user for self-definition. Step7: Download or upload VID/PID/Productstrings and the user memory data.USB to UART BlockThe USB to UART setting block is used to configurethe baud rate, data, stop bits, parity, flow control anddata transmit/receive demo. This page can also controlthe output RTS and DTR toggle pins, CTS, RI, DSRand DCD pins input status.The following table shows the configurationdescriptor length.ParameterThe figure for the USB to UART is as follows:LengthUSB Vendor ID(VID) 1 Word (hex)USB Product ID(PID) 1 Word (hex)Manufacturer NameMax. support 16 charactersProduct DescriptionMax. support 32 charactersSerial NumberMax. support 4 wordsThe main figure of the program update block is asfollows:USB to UART Bridge operating steps: Step1: Select USB to UART page. Step2: Check that device is HT42B534-x. Setp3: Select COM port number. Step4: Select baud rate. Step5: Select one or two stop bits. Step6: Select parity. Step7: Select flow control function.Configuration operating steps: Step8: Open the selections. Step1: Open the Holtek Bridge VID/PID device. Step9: Input the data to be transmitted. Step2: Change custom device or go to USB toUART page. Step10: Send data. Step11: Receive data. Setp3: Input VID/PID and product strings (If theuser needs to change custom device). Step12: Toggle RTS/ DTR pins. Step13: Input CTS/RI/DSR/DCD pins status. Step4: Hardware flow control and remote wakeupsetting.Rev. 1.108March 26, 2019

HT42B534-xApplication CircuitsRev. 1.109March 26, 2019

HT42B534-xDual Power Product Application CircuitsVCCVDD1N58173.3V5V or DDUSBConnectorVBUSDD ��DD LEDLEDV33OTX1µFRXUARTRXTXHT42B534-x10SOPNote: 1. Design note: 10-SOP package only for two power application, the VCC power must be below VDDpower. (The VCC power can be from the Li-battery).2. The UDET pin can used for detect the USB plug-in for transfer data, detect the USB plug-out for entryenergy saving mode.Rev. 1.1010March 26, 2019

HT42B534-xPackage InformationNote that the package information provided here is for consultation purposes only. As this information may beupdated at regular intervals users are reminded to consult the Holtek website for the latest version of the Package/Carton Information.Additional supplementary information with regard to packaging is listed below. Click on the relevant section to betransferred to the relevant website page. Package Information (include Outline Dimensions, Product Tape and Reel Specifications) The Operation Instruction of Packing Materials Carton informationRev. 1.1011March 26, 2019

HT42B534-x8-pin SOP (150mil) Outline Dimensions SymbolADimensions in inchMin.Nom.Max.—0.236 BSC—B—0.154 BSC—C0.012—0.020C′—0.193 BSC—D——0.069E—0.050 0 —8 SymbolRev. 1.10Dimensions in mmMin.Nom.Max.A—6.00 BSC—B—3.90 BSC—C0.31—0.51C′—4.90 BSC—D——1.75E—1.27 BSC—F0.10—0.25G0.40—1.27H0.10—0.25α0 —8 12March 26, 2019

HT42B534-x10-pin SOP (150mil) Outline Dimensions SymbolDimensions in inchMin.Nom.Max.A—0.236 BSC—B—0.154 BSC—C0.012—0.018C′—0.193 BSC—D——0.069E—0.039 0 —8 SymbolRev. 1.10Dimensions in mmMin.Nom.Max.A—F6.00 BSC—B—3.90 BSC—C0.30—0.45C′—4.90 BSC—D——1.75E—1.00 BSC—F0.10—0.25G0.40—1.27H0.10—0.25α0 —8 13March 26, 2019

HT42B534-x10-pin MSOP Outline Dimensions 0330.037B0.007—0.013C0.003—0.009D—0.118 BSC—E—0.193 BSC—E1—0.118 BSC—e—0.020 BSC—L0.0160.0240.031L1—0.037 BSC—y—0.004—θ0 —8 SymbolRev. 1.10Dimensions in inchMin.Dimensions in 95B0.17—0.33C0.08—0.23D—3.00 BSC—E—4.90 BSC—E1—3.00 BSC—e—0.50 BSC—L0.400.600.80L1—0.95 BSC—y—0.10—θ0 —8 14March 26, 2019

HT42B534-x16-pin NSOP (150mil) Outline Dimensions SymbolADimensions in inchMin.Nom.Max.—0.236 BSC—B—0.154 BSC—C0.012—0.020C’—0.390 BSC—D——0.069E—0.050 0 —8 SymbolRev. 1.10 Dimensions in mmMin.Nom.Max.A—6.0 BSC—B—3.9 BSC—C0.31—0.51C’—9.9 BSC—D——1.75E—1.27 BSC—F0.10—0.25G0.40—1.27H0.10—0.25α0 —8 15March 26, 2019

HT42B534-xCopyright 2019 by HOLTEK SEMICONDUCTOR INC.The information appearing in this Data Sheet is believed to be accurate at the timeof publication. However, Holtek assumes no responsibility arising from the use ofthe specifications described. The applications mentioned herein are used solelyfor the purpose of illustration and Holtek makes no warranty or representation thatsuch applications will be suitable without further modification, nor recommendsthe use of its products for application that may present a risk to human life due tomalfunction or otherwise. Holtek's products are not authorized for use as criticalcomponents in life support devices or systems. Holtek reserves the right to alterits products without prior notification. For the most up-to-date information, pleasevisit our web site at http://www.holtek.com.Rev. 1.1016March 26, 2019

resume signal is asserted by the USB host, the device will be woken up and leave the suspend mode. As the USB device has a remote wake-up function, the USB device can wake up the USB host by sending a remote wake-up pulse. Once the USB host receives a remote wake-up signal from the USB device, the host

Related Documents:

It can be used with any UART terminal, like the one found in MikroElektronika compilers. How does it work? Like already mentioned, USB UART click carries the FT232RL, a USB to UART interface IC, from FTDI. The entire USB protocol is handled on the IC itself, thus no USB specific firmwar

Interrupt UART library using the built-in UART with transmit and receive circular buffers. #include uart.h See also README.md This library can be used to transmit and receive data through the built in UART. An interrupt is generated when the UART has finished transmitting or

UART – USB Bridge The EV kit includes an FTDI FT230X USB-to-UART bridge chip. This eliminates the requirement for a physical RS-232 COM port. Instead, the MAX78000 UARTs are accessed through a USB Micro-B connector, CN1. UART 0 and UART 1 are selected using JH1 and JH2

3.5mm Audio Jack 2 core and spiral, 24 AWG diam 5mm TTL-232R-3V3-AJ USB to UART cable with 3.3V TTL level UART signals. 3.5mm Audio Jack 2 core and spiral, 24 AWG diam 5mm TTL-232R-3V3-2mm USB to UART cable with 3.3V TTL level UART signals. 8 way, keyed, 2mm connector for use with FTDI VDRIVE2 or VMUSIC2 modules 7 core, UL2464 26 AWG, diam 5mm

4-Wire UART Serial Interface The development board provides access to the module’s 4-wire UART interface (TX, RX, CTS, RTS) either through USB (via U9 FTDI USB-UART convertor chip) or through a breakout header connector J10. Refer to Figure 4. Note: BT900 module provides 4-wire UART inter

In-box 1m cable or Jabra 1.8m cable How to connect using Anker PowerLine/Newnex cable USB-A USB-C 3m USB-A to USB-C cable How to connect using Startech USB 3.0/USB 2.0 Startech USB Extender Power Adapter USB-A USB-A USB-C In-box

APC Back-UPS USB USB APC Back-UPS RS USB USB APC Back-UPS LS USB USB APC Back-UPS ES/CyberFort 350 USB APC Back-UPS BF500 USB APC BACK-UPS XS LCD USB APC Smart-UPS USB USB APC Back-UPS 940-0095A/C cables APC Back-UPS 940-0020B/C cables APC Back-UPS 940-0023A cable APC Back-UPS Office 940-0119A cable APC Ba

Mary plans to take Colin to see the secret garden. Mary’s visits make Colin feel a lot better. Martha’s brother, Dickon, visits Colin one day with Mary and brings lots of tame animals with him. Colin is delighted. Mary and Dickon take Colin secretly into the garden. Colin realises it is his mother’s garden, and says he will come every day. Colin spends a lot of time in the garden with .