Basic Information Functional Description Application Description Points to Note Others

Application Description

 


Question 1

When using the HT82K629A for USB keyboard applications, can special function keys be defined?

Answer

Yes, this is possible. The HT82K629's multimedia key has 5 functions, Explorer, Screen Save, Record, Rewind and Minimize, which can be used to define special functions. If this is done, it is necessary to manage this using the PC application program USB driver.


Question 2

Under what circumstances will the HT82K628A transmit “AA” to the PC?

Answer

Under the following reset conditions the HT82K628A will transmit “AA” to the PC.

  • A normal power on reset condition.

  • If the RES line on the device is pulled low

  • If a Low-voltage Reset condition is reached, that is if the Vdd voltage is less than 2.4V, then the internal LVR circuit will transmit “AA” to the PC

  • If the Watch Dog Timer is activated. If the device receives noise over the accepted noise threshold, then the firmware may enter a loop or enter an undefined condition, when this happens the WDT internal circuit will reset the IC and will transmit “AA” to the PC.

  • If the PC sends an “FF” instruction to the device, then the device will respond by transmitting “AA” to the PC


Question 3

In the HT82K95E how is the data read on USBD-/DATA pin and input on the USBD+/CLK pin?

Answer

The HT82K95E supports both USB and PS/2 modes. When SPS2 (bit 4 in the USR register) = 1, and SUSB (bit 5 of USR) = 0, then the PS/2 mode will be selected. Now the PS2DAI (bit 4 of USC) and PS2CKI (bit 5 of USC) can be used as USBD-/DATA pin and USBD+/CLK pin input data. But note that the corresponding PS2DAO (bit 6 of USC) and PS2CKO (bit 7 of USC) must be set high, otherwise the read in data will all be zero. When SPS2 (bit 4 of USR) = 0 and SUSB (bit 5 of USR) = 1, the USB mode will be selected. Now the USBD-/DATA pin and USBD+/CLK pin will use the SIE for driver control. The USB data needs to use the FIFO to read.



Others

 

 


Question 1

How can the Keyboard/Mouse devices for the PS/2 interface be connected to the USB interface? Does the circuit board need to be changed or is it possible to just change the PS/2 plug to a USB type?

Answer

The PS/2 and USB are two very different types of interfaces with totally different data protocols. Holtek Keyboard/Mouse devices basically are divided into two categories. The first category is the USB+PS/2 devices, such as the HT82M98A and HT82K629A devices, which can automatically detect if the connected interface is a USB type or PS/2 type. Upon detection the devices will then transmit the corresponding correct USB or PS/2 signals. The circuit hardware to implement both types of interface is the same, details of which are given in the Application Circuit in the corresponding datasheet. For most applications a USB plug is supplied as standard and an adapter plug supplied along with the products to enable the user to change to a PS/2 interface if required. In the other device category are the PS/2 devices, such as theHT82M39A and HT82K628A devices, which can only be used with PS/2 interfaces. It is not possible to connect these devices to a USB interface by making circuit board modifications or by using an adapter plug.