WINBOND W83627HF-AW
Specifications
Game Port
Support two separate Joysticks. Support every Joystick two axis (X,Y) and two button (A,B) controllers.
General Purpose I/O Ports
22 programmable general purpose I/O ports. General purpose I/O ports can serve as simple I/O ports, interrupt steering inputs, watch dog timer output, power LED output, infrared I/O pins, KBC control I/O pins, suspend LED output, RSMRST# signal, PWROK signal, Beep output. Functional in power down mode (GP1 only.)
Hardware Monitor Functions ( Only for W83627HF.)
5 VID input pins for CPU Vcore identification. 3 thermal inputs from optionally remote thermistors or 2N3904 transistors or PentiumTM II (Deschutes) thermal diode output. 7 positive voltage inputs (typical for +12V, -12V, +5V, -5V, +3.3V, VcoreA, VcoreB.) 2 intrinsic voltage monitoring (typical for Vbat, +5VSB.) 3 fan speed monitoring inputs. 2 fan speed control. Build in Case open detection circuit. WATCHDOG comparison of all monitored values. Programmable hysteresis and setting points for all monitored items. Over temperature indicate output. Automatic Power On voltage detection Beep. Issue SMI#, IRQ, OVT# to activate system protection. Intel LDCMTM / Acer ADMTM compatible.
Infrarer
Support IrDA version 1.0 SIR protocol with maximum baud rate up to 115.2K bps. Support SHARP ASK-IR protocol with maximum baud rate up to 57,600 bps. Support Consumer IR.
Keyboard Controller
8042 based with optional F/W from AMIKKEYTM-2, Phoenix MultiKey/42 or customer code with 2K bytes of programmable ROM, and 256 bytes of RAM. Asynchronous Access to Two Data Registers and One status Register. Software compatibility with the 8042. Support PS/2 mouse. Support port 92. Support both interrupt and polling modes. Fast Gate A20 and Hardware Keyboard Reset. 8 Bit Timer/ Counter. Support binary and BCD arithmetic. 6 MHz, 8 MHz, 12 MHz, or 16 MHz operating frequency.
MIDI Port
The baud rate is 31.25 Kbaud. 16-byte input FIFO. 16-byte output FIFO.
OnNow Functions
Keyboard Wake-Up by programmable keys. Mouse Wake-Up by programmable buttons. CIR Wake-Up by programmable keys. On Now Wake-Up from all of the ACPI sleeping states (S1-S5.)
Package
128-pin PQFP
Parallel Port
Compatible with IBM parallel port. Support PS/2 compatible bi-directional parallel port. Support Enhanced Parallel Port (EPP) - Compatible with IEEE 1284 specification. Support Extended Capabilities Port (ECP) - Compatible with IEEE 1284 specification. Extension FDD mode supports disk drive B; and Extension 2FDD mode supports disk drives A and B through parallel port. Enhanced printer port back-drive current protection.
UART
Two high-speed 16550 compatible UARTs with 16-byte send/receive FIFOs. MIDI compatible. Fully programmable serial-interface characteristics: 5, 6, 7 or 8-bit characters. Even, odd or no parity bit generation/detection. 1, 1.5 or 2 stop bits generation. Internal diagnostic capabilities: Loop-back controls for communications link fault isolation. Break, parity, overrun, framing error simulation. Programmable baud generator allows division of 1.8461 MHz and 24 MHz by 1 to (216-1.) Maximum baud rate up to 921k bps for 14.769 MHz and 1.5M bps for 24 MHz.
Features
- Compliant with Microsoft PC98/PC99 Hardware Design Guide
- Include all the features of Winbond I/O W83977TF and W83977EF
- Integrate Hardware Monitor functions
- Meet LPC Spec. 1.0
- Programmable configuration settings
- Single 24 or 48 MHz clock input
- Support DPM (Device Power Management), ACPI
- Support LDRQ#(LPC DMA), SERIRQ (serial IRQ)
Datasheet
Extracted Text
��
��
������
�����
����
����
����
����
�����
�� �����������
� � ������������
������
��
��
����
����
������
���������������������������������������
� ���������
������ ������ �������� ��������������
�������
�������������
�� ����� ��������� ����� �
����������������������
��
�����������������
�� ��������������� ��������� �����
������������� �!�"�#������� ��$�����
������������
����
��%������$����$������
�� �����&�������� ��������� ����� ��� ’������������%������$����$�������
���������������
+�������������$����$�������
���
��������������)��
(� �*��)���� �����
!�"�#���������%�������������������
��*��(���(��
,��� ����(���� ���� ���� ��-�$�.����������
��
�����
)�
�����
*�
�����
��
�����
��
�����
���
�
���������������������������������������������������������������������������������������
����������������������������������������������������������������������������������
�������������������������
�
��������������������������
������ ��������� ���� ���� ��������� ���� ���� ��� ����� �������� ������������ ������������
���������������������������������������������������������������������������������
��������������������������������������������������������������������������������������
����������������������������������������������������������������������������������
���������������������������������������������������
�
�
�� ����������
�����������
��
��
����
������������������
����
�����
�������������������������������������������������������������������������������������������������������������������������
�������������������������������������������������������������������������������������������������������������������
�����������������������������������������������������������������������������������������������������������������
���������������������������������������������������������������������������������������������������������������������������������
����������������������������������������������������������������������������������������������������������������������������������������������������������������
����������������������������������������������������������������������������������������������������������������������������������������������������������������
�����������������������������������������������������������������������������������������������������������������������������������������������
������������������������������������������������������������������������������������������������������������������������������������������������������
��������������������������������������������������������������������������������������������������������������������������������������������������������������
���������������������������������������������������������������������������������������������������������������������������������������������������������������
��������� �������������������������������������������������������������������������������������������������������������������������������
!���� �����������"#�������������������� ��������������$��������������������������������������������������������
�����%���������&�������������������������������������������������������������������������������������������������������������������������������������
�������%����������������’�������������������������������������������������������������������������������������������������������������������������
��������������������������������� ��!�������������"��#�������������������������������������������������������������������������������������
������$���������� �������������������������������������������������������������������������������������������������������������������������������������
��������������������������������� ��!�������������"��#�������������������������������������������������������������������������������������
����%���������������������������%� ��!������������"&’# ������������������������������������������������������������������������������������
�������� ���������������������������������������������������������������������������������������������������������������������������������������������������������
������������������������������������������������������������������������������������������������������������
��������������������������������������������������������������������������������������������������������������
����� �����������������������������������������������������������������������������������������������������������������������������������������������������������
%�����()������*�����������������������������������������������������������������������������������������������������������������������������������������������������
%�����+�+�� ����#�������������������������������������������������������������������������������������������������������������������������������������������������
%���%�������&��������������������������������������������������������������������������������������������������������������������������������������������������%�
%���,��-�������������������������������������������������������������������������������������������������������������������������������������������������%�
%���.��������/������������/��0�1�/�����������������������������������������������������������������������������������������������������������������%�
���������������������������������������
����� �� ��������������������������
�� ����������
�����������
�
%���2��+�3�3�����������������������������������������������������������������������������������������������������������������������������������������������������,�
%���4��+�3�3�����/�����������������������������������������������������������������������������������������������������������������������������������������,�
�������%���������������������������������������������������������������������������������������������������������������������������������������������
%������&��������0������(� &(���0�����#� ���/�������//�����5��#������������������������������������������������������������������������%4�
%������&��������0������’� &’���0�����#� ���/�������//�����5��#������������������������������������������������������������������������%��
%���%����0��������������0������ �����0�����#� -�����������//�����5��#������������������������������������������������������������,��
%���,��)������������0������ )����0�����#� ���/�������//�����5�%# ������������������������������������������������������������������,��
%���.��1����&��������0������ 1&���0�����#� ���/�������//�����5�,#�����������������������������������������������������������������,��
%���2��������������0������ �����0�����#� -�����������//�����5�,# �������������������������������������������������������������������,��
%���4��+�+����0������ ��-�������//�����5�.#����������������������������������������������������������������������������������������������������,,�
%���$����0�������������0������ �����0�����#� ���/�������//�����5�4#�����������������������������������������������������������������,2�
%������3��*�0��������3���������0������ 33���0�����#� -�����������//�����5�4#������������������������������������������������,4�
��������������������������������������������������������������������������������������������������������������������������������������
��������(��������"���������������(��’������������!������#�������$��������������������������������
�������%��������������������������������������������������������������������������������������������������������������������������������������������������
,�����6(�)�3���������0������ 63�#� ���/�-����#��������������������������������������������������������������������������������������������,$�
,�����6(�)�&��������0������ 6&�#� ���/�-����# �����������������������������������������������������������������������������������������������.��
,���%��7��/�8�9��3���������0������ 73�#� ���/�-����#�����������������������������������������������������������������������������������.��
,���,��7��/�8�9��&��������0������ 7&�#� ���/�-����# ��������������������������������������������������������������������������������������.��
,���.��6(�)�+�+��3���������0������ 6+�#� -��������:#�����������������������������������������������������������������������������������.%�
,���2������������&��������0������ �&�#� ���/����:# ���������������������������������������������������������������������������������������������.,�
,���4������������3���������0������ �3�#� ���/�-����#����������������������������������������������������������������������������������������..�
,���$�����0���������’��/����������� ’;;�’7;#� ���/�-����#����������������������������������������������������������������������..�
,������6����/�*���/���0������ 6��#� ���/�-����# ���������������������������������������������������������������������������������������������.2�
����������������������������������������������������������������������������������������������������������������������������
����������%������������������������������������������������������������������������������������������������������������������������������������������������������
.�����’��9����0�������������’�**�����0������� �’�#� ���/#�����������������������������������������������������������������������������.4�
.�����’��9����0��������������3���������0������ �3�#����������������������������������������������������������������������������������������.4�
.���%�’��9����0��������������&��������0������ �&�#�������������������������������������������������������������������������������������������.4�
.���,�’��9�<%���0%���3���3���������0��������’��9�&��������0������ 3)���’&�#� ’(�=�<%#������������������������.$�
.���.�’��9����0,���3���3���������0������ 3)�#�����������������������������������������������������������������������������������������������.��
.���2�’��9����0.���6(�)�;�����&��������0������ 6&�#�������������������������������������������������������������������������������������2��
.���4�’��9����02������������*����/�3��*�0���0������ ���>3+�#��������������������������������������������������������������������2��
.���$�’��9����04���6������*���/���0������ 6���(6��#���������������������������������������������������������������������������������2��
.�����’��9����0�<����’��/��������������;���8� ’;;�’7;#�����������������������������������������������������������������������������2%�
.������’��9����0����"������������0��������� "��# ��������������������������������������������������������������������������������������������2,�
���������������������������������������
������ � ������������������������������������
�� ����������
�����������
�
.������’��9�<%���0%���3���3���������0��������’��9�&��������0������ 3)���’&�#� ’(�=�<%#����������������������2,�
.������’��9����0,���)�����;�!�’:�����0������ )1�;#�������������������������������������������������������������������������������������2,�
.����%�’��9����0.���)�����7�08�’:�����0������ )1�7#�����������������������������������������������������������������������������������2,�
��������������������������������������������������������������������������������������������������������������������������������
������������������������%��������������������������������������������������������������������������������������������������������������������������
���������������������������!���$������������������������������������������������������������������������������������������������������������
2����������&!�������������������������������������������������������������������������������������������������������������������������������������������������24�
2�������������&������’�**�� ���������������������������������������������������������������������������������������������������������������������������������24�
2���%���������3�������;���8���/���������3�������&!�������������������������������������������������������������������������������������2$�
2���,�?���(//��������� �������������������������������������������������������������������������������������������������������������������������������������2$�
2���.�?���������������%������������������������������������������������������������������������������������������������������������������������������������2��
2���2�’���1����*�����������������/�?�����0������ ��������������������������������������������������������������������������������������������4��
2���4�?������������������� �������������������������������������������������������������������������������������������������������������������������������4��
2���$�?������������������������������������������������������������������������������������������������������������������������������������������������������4��
�����)�����������������������������!���$�������������������������������������������������������������������������������������
2�%���?3����0��������/�1�/����*�����������������������������������������������������������������������������������������������������������������4��
2�%����������/����(+�*����������������������������������������������������������������������������������������������������������������������������������4%�
2�%�%��������&��������0������ �&�#��������������������������������������������������������������������������������������������������������������������4%�
2�%�,��������3���������0������ �3�# ����������������������������������������������������������������������������������������������������������������4,�
2�%�.��+�*�� �������������������+�+�#�1�/��@����������������������������������������������������������������������������������������������4.�
2�%�2�����+�*�� ?3�������+�+�#�1�/��@�����������������������������������������������������������������������������������������������������4.�
2�%�4��+�*�� )����+�+��1�/�#�1�/��@������������������������������������������������������������������������������������������������������������4.�
2�%�$���*0(� 3��*�0����������0������(#�1�/��@���������������������������������������������������������������������������������������������4.�
2�%�����*0’� 3��*�0����������0������’#�1�/��@���������������������������������������������������������������������������������������������4.�
2�%�������� ?A���/�/�3���������0�����#�1�/��@�����������������������������������������������������������������������������������������������42�
2�%����’���1����*�?3���������0������ ���������������������������������������������������������������������������������������������������������������4$�
2�%����?3������������������ �����������������������������������������������������������������������������������������������������������������������������4��
2�%��%�?3���������������������������������������������������������������������������������������������������������������������������������������������������$��
2�%��,�+�+�������������������������������������������������������������������������������������������������������������������������������������������������$��
2�%��.��1(�)����*�������������������������������������������������������������������������������������������������������������������������������������������$��
2�%��2����0�����/����� �����1(#�1�/�������������������������������������������������������������������������������������������������������$��
�����)�����������������!�)����$�������������������������������������������������������������������������������������������������������������
�����)������������������!�)�����$���������������������������������������������������������������������������������������������������������
����� !������������������������������������������������������������������������������������������������������������
��������������������������������������������������������������������������������������������������������������������������������������������������������������
�����������������������������������������������������������������������������������������������������������������������������������������������������������������
���������������������������������������
������� � ������������������������������������
�� ����������
�����������
�
�������������%����������������������������������������������������������������������������������������������������������������������������������������������
�����������������������������������������������������������������������������������������������������������������������������������������������������������������
�������� ����%������’��"����������������������%����������������������������������������������������������������
4�.���=’�3���������0������ ;�0����������.B�3��+�# �����������������������������������������������������������������������������������������$4�
4�.�����������3���������0������ ��*�����"�����@��A�,#�������������������������������������������������������������������������������������$4�
��������������������"����������������������������������������������������������������������������������������������������
#�������������� ����������������������������������������������������������������������������������������#��
�������������������������������������������������������������������������������������������������������������������������������������������������������������
������?A���/�/�+����������0������������������������������������������������������������������������������������������������������������������������������
������?A���/�/�+���������?��������0������� ?+?��#�������������������������������������������������������������������������������������������
����%�?A���/�/�+����������/�A���0������� ?+���#B�?A���/�/�+���������������0������ ?+���#�������������������������
���������%����������*���������������������������������������������������������������������������������������������������������������������������
������?������8���A���/�/�*����������/�����������������������������������������������������������������������������������������������������������������
������3��*�0�������8�����*�0����������0�������������������������������������������������������������������������������������������������������������
����%�?A����8���A���/�/�*����������/� ����������������������������������������������������������������������������������������������������������������%�
����,�&�*�!�������0������0��A����� ����������������������������������������������������������������������������������������������������������������%�
�$�������������������������������������������������������������������������������������������������������������#��
�������������%�����������������������������������������������������������������������������������������������������#��
�����%�����������������������������������������������������������������������������������������������������������������������������������������������
����������������������������������������������������������������������������������������������������������������������������������������������������������
�������;�3������*����������������������������������������������������������������������������������������������������������������������������������������������.�
���������3������*��� ��������������������������������������������������������������������������������������������������������������������������������������������4�
�����������%������������������������������������������������������������������������������������������������������������������������������������������������
���%���1������������,���2"������0���������������������������������������������������������������������������������������������������������������������
���%���1���������0�����������0���������������������������������������������������������������������������������������������������������������������������
���%�%�)�����������1�����������1��8��� ������������������������������������������������������������������������������������������������������%�
�����������������������������������������������������������������������������������������������������������������������������
���,���+�������/��������������������������������������������������������������������������������������������������������������������������������������������,�
���,���+�������/�������� �����������������������������������������������������������������������������������������������������������������������������������2�
��������+��������������������������������������������������������������������������������������������������������������������������������������������
���.���"����0��&1�C���/��� ������������������������������������������������������������������������������������������������������������������������������2�
���.���+���&1�C���/��� ������������������������������������������������������������������������������������������������������������������������������������4�
���.�%�)8��-$%2�47+����������������������&1�C�����������8����!����/�����������������������������������������������������4�
���.�,��)8��-$%2�47+������������������������/��������%�&1�C�����������8����!����/�����/�����
���������������������������������������
��"��� � ������������������������������������
�� ����������
�����������
�
�������0�����/�����3�D,38E�����2� ����������������������������������������������������������������������������������������������������������
�������(�+������������������������������������������������������������������������������������������������������������������������������������������
���2���)8��-$%2�47+������������������������/�%������)����������� �")C#�8����8��*����!��0����/����������
��������%����������������������������������������������������������������������������������������������������������������������������������������������
���4���(//�������0������ �����A.8#����������������������������������������������������������������������������������������������������������������������
���4����������0������ �����A28#�������������������������������������������������������������������������������������������������������������������������,�
���4�%�3��*�0����������0������F���/�A�,�8�������������������������������������������������������������������������������������������������������,�
���4�,�����������&��������0�������F���/�A�,�8 ��������������������������������������������������������������������������������������������������.�
���4�.�����������&��������0��������F���/�A�,�8 �������������������������������������������������������������������������������������������������2�
���4�2�&1�C�1��9���0��������F���/�A�,%8 ��������������������������������������������������������������������������������������������������������2�
���4�4�&1�C�1��9���0��������F���/�A�,,8 ��������������������������������������������������������������������������������������������������������4�
���4�$��������/���0������F���/�A�,.8���������������������������������������������������������������������������������������������������������������4�
���4���38������3�������0�����������/�A�,28 �������������������������������������������������������������������������������������������������������4�
���4����"���+�������������0������F���/�A�,48 ������������������������������������������������������������������������������������������������$�
���4����&������’���(//�������0������F���/�A�,$8 ���������������������������������������������������������������������������������������������$�
���4����"������(1�F���/�A���8��%+8����2�8���4+8� ��������������# ���������������������������������������������������������������
���4��%�"����0����� "��,#�G�������������0����������/�A�,�8 ����������������������������������������������������������������������������
���4��,�)���������������/�)�����������%�&������’���(//�������0���������/�A�,(8�����������������������������������������
���4��.�����3���������0����������/�A�,’8������������������������������������������������������������������������������������������������������������
���4��2���H��")C��������:�&��������0���������/�A�,38�������������������������������������������������������������������������������������
���4��4�+(������6)���/�’??��3���������0���������/�A�,�8�������������������������������������������������������������������������%�
���4��$���0������.�8�<�.+8�’��9�&��������0����������/�A�,?8� ���(������������#�������������������������������������������,�
���4����-�����/�"��/��������0����������/�A�,+8� ���(������������#�������������������������������������������������������������,�
���4����-�����/�)�������0�����������/�A�.�8���..8� ’��9��#�����������������������������������������������������������������������������.�
���4����’??��3���������0������������/�A�.28� ’��9��#������������������������������������������������������������������������������������.�
���4����’??��3���������0������������/�A�.48� ’��9��#������������������������������������������������������������������������������������2�
���4��%�38�����������/�A�.$8� ’��9��# ��������������������������������������������������������������������������������������������������������������4�
���4��,��������/���0������������/�A�.�8� ’��9��# ���������������������������������������������������������������������������������������������4�
���4��.��-1�6)��3������������/�A�.(8� ’��9��#�������������������������������������������������������������������������������������������$�
���4��2��-1�6)��3������������/�A�.’8� ’��9��#�������������������������������������������������������������������������������������������$�
���4��4��-1�6)����3���9�&�����������/�A�.38� ’��9��#����������������������������������������������������������������������������������
���4��$�"’()�1�������3���������0�����������/�A�.�8� ’��9��# ����������������������������������������������������������������������%��
���4�����������/���0�����������.?8� ’��9��#�����������������������������������������������������������������������������������������������������%��
���4�%���������/���0������������/�A�.+8� ’��9��#��������������������������������������������������������������������������������������������%��
���4�%��)�����������&��������)����������� 7�08�’:��#���0����������/�A�.�8� ’��9��#���������������������������������%��
���4�%��)�����������&��������)����������� ;�!�’:��#���0����������/�A�.�8� ’��9��#����������������������������������%��
���4�%%�)�����������&��������3��*�0����������0����������/�A�.�8� ’��9��# ��������������������������������������������������%��
���������������������������������������
�"��� � ������������������������������������
�� ����������
�����������
�
���4�%,�)�����������&��������7:��������� 7�08�’:��#���0����������/�A�.%8� ’��9��#�������������������������������������%��
���4�%.�)�����������&��������7:��������� ;�!�’:��#���0����������/�A�.,8� ’��9��#��������������������������������������%%�
���4�%2�)�����������&������������������������� 7�08�’:��#���0����������/�A�..8� ’��9��#�������������������������%%�
���4�%4�)�����������&������������������������� ;�!�’:��#���0����������/�A�.28� ’��9��#��������������������������%,�
���4�%$�)�����������&������%�)����������� 7�08�’:��#���0����������/�A�.�8� ’��9��#���������������������������������%,�
���4�%��)�����������&������%�)����������� ;�!�’:��#���0����������/�A�.�8� ’��9��#����������������������������������%.�
���4�,��)�����������&������%�3��*�0����������0����������/�A�.�8� ’��9��# ��������������������������������������������������%.�
���4�,��)�����������&������%�7:��������� 7�08�’:��#���0����������/�A�.%8� ’��9��#�������������������������������������%2�
���4�,��)�����������&������%�7:��������� ;�!�’:��#���0����������/�A�.,8� ’��9��#��������������������������������������%2�
���4�,%�)�����������&������%������������������ 7�08�’:��#���0����������/�A�..8� ’��9��#�������������������������%4�
���4�,,�)�����������&������%������������������ ;�!�’:��#���0����������/�A�.28 ’��9��#���������������������������%4�
���4�,.�����������&��������0������%������/�A�.�8� ’(�=,#�������������������������������������������������������������������������������%$�
���4�,2�&1�C�1��9���0������%�������/�A�.�8� ’(�=�,#������������������������������������������������������������������������������������%$�
���4�,4��������/���0�����������/�A�.�8� ’��9�,# ���������������������������������������������������������������������������������������������%$�
���4�,$�’??��3���������0������%�����/�A�.%8� ’��9�,#�����������������������������������������������������������������������������������%��
���4�,��)�����������&���������**������0�����������/�A�.,8� ’��9�,# ��������������������������������������������������������������%��
���4�.��)�����������&���������**������0�����������/�A�..8� ’��9�,# ��������������������������������������������������������������,��
���4�.��)�����������&������%��**������0�����������/�A�.28� ’��9�,# ��������������������������������������������������������������,��
���4�.���������/���0�����������/�A�.48��.$8����������������������������������������������������������������������������������������������������,��
���4�.%������)����7��/!����&��������0�������������/�A�.�8� ’��9�,# �������������������������������������������������������������,��
���4�.,������)����7��/!����&��������0��������������/�A�.(8� ’��9�,#������������������������������������������������������������,��
���4�..������)����7��/!����&��������0���������������/�A�.’8� ’��9�,# ����������������������������������������������������������,��
���4�.2��������/���0�����������/�A�.38� ’��9�,#���������������������������������������������������������������������������������������������,%�
���4�.4�"������������0�����������/�A�.�8� ’��9�,# ����������������������������������������������������������������������������������������,%�
���4�.$�"������(1��F���/�A�.�8���.(8� ��������������#�� ’(�=�.#�������������������������������������������������������������,%�
���4�.��-�����/�)������0�����������/�A�.�8� ’��9�2#��������������������������������������������������������������������������������������,%�
��������������&����������������������������������������������������������������������������������������������������������������������
��������������������������������������������������������������������������������������������������������������������������������������������������������������
�������*’��������������������������������������������������������������������������������������������������������������������������������������������������
����������������������������������������������������������������������������������������������������������������������������������������������������������������
����������������������������������������������������������������������������������������������������������������
�����������!%�����$�����������%���������������������������������������������������������������������������������������������������������
��������%�������(������!���$�������������������������������������������������������������������������������������������������������������������������
��������%�������(������!�������������$��������������������������������������������������������������������������������������������������
��������%�������(������!������$,$���������������������������������������������������������������������������������������������������������������
��������%�������(������!������$�������������������������������������������������������������������������������������������������������������������
���������������������������������������
�"���� � ������������������������������������
�� ����������
�����������
�
��������%�������(������!���$�������������������������������������������������������������������������������������������������������������������������
��������%�������(������!���$��������������������������������������������������������������������������������������������������������������������������
��������%�������(������!%����������������������������%����������$����������������������������������������
�������%�������(������!%����������$����������������������������������������������������������������������������������������������������������
���������%�������(������!%������������������ ������������������������"��������!(��$�$����
���������%�������(������!����$���������������������������������������������������������������������������������������������������������������������
���������%�������(������!���� �����������$������������������������������������������������������������������������������������
����������������������������������������������������������������������������������������������������������������������������$�
�����������������)����������%�������������������������������������������������������������������������������������������������������������
������������������������������������������������������������������������������������������������������������������������������������������������������
����������������������������������������������������������������������������������������������������������������������
���������������������)��������������������������������������������������������������������������������������������������������������������
���������������������)�������������������������������������������������������������������������������������������������������������������
�����������������������������������������������������������������������������������������������������������������������������������������������������������
�������������������������������������������������������������������������������������������������������������������
��������������������������%�����������������������������������������������������������������������������
���������������%������������������������������������������������������������������������������������������������������
�
���������������������������������������
�"����� � ������������������������������������
W83627HF/F
PRELIMINARY
GENERAL DESCRIPTION
The W83627HF and W83627F are evolving product from Winbond's most popular I/O family. They
feature a whole new interface, namely LPC (Low Pin Count) interface, which will be supported in the
next generation Intel chip-set. This interface as its name suggests is to provide an economical
implementation of I/O's interface with lower pin count and still maintains equivalent performance as its
ISA interface counterpart. Approximately 40 pin counts are saved in LPC I/O comparing to ISA
implementation. With this additional freedom, we can implement more devices on a single chip as
demonstrated in W83627F/HF's integration of Game Port and MIDI Port. It is fully transparent in terms of
software which means no BIOS or device driver update is needed except chip-specific configuration.
The disk drive adapter functions of W83627F/HF include a floppy disk drive controller compatible with the
industry standard 82077/ 765, data separator, write pre-compensation circuit, decode logic, data rate
selection, clock generator, drive interface control logic, and interrupt and DMA logic. The wide range of
functions integrated onto the W83627F/HF greatly reduces the number of components required for
interfacing with floppy disk drives. The W83627F/HF supports four 360K, 720K, 1.2M, 1.44M, or 2.88M
disk drives and data transfer rates of 250 Kb/s, 300 Kb/s, 500 Kb/s,1 Mb/s, and 2 Mb/s.
The W83627F/HF provides two high-speed serial communication ports (UARTs), one of which supports
serial Infrared communication. Each UART includes a 16-byte send/receive FIFO, a programmable
baud rate generator, complete modem control capability, and a processor interrupt system. Both
UARTs provide legacy speed with baud rate up to 115.2k bps and also advanced speed with baud rates
of 230k, 460k, or 921k bps which support higher speed modems. In addition, the W83627F/HF provides
IR functions: IrDA 1.0 (SIR for 1.152K bps) and TV remote IR (Consumer IR, supporting NEC, RC-5,
extended RC-5, and RECS-80 protocols).
The W83627F/HF supports one PC-compatible printer port (SPP), Bi-directional Printer port (BPP) and
also Enhanced Parallel Port (EPP) and Extended Capabilities Port (ECP). Through the printer port
interface pins, also available are: Extension FDD Mode and Extension 2FDD Mode allowing one or two
external floppy disk drives to be connected.
The configuration registers support mode selection, function enable/disable, and power down function
selection. Furthermore, the configurable PnP features are compatible with the plug-and-play feature
TM
demand of Windows 95/98 , which makes system resource allocation more efficient than ever.
The W83627F/HF provides functions that complies with ACPI (Advanced Configuration and Power
Interface), which includes support of legacy and ACPI power management through or PSOUT#
PME#
function pins. For OnNow keyboard Wake-Up, OnNow mouse Wake-Up, and OnNow CIR Wake-Up.
The W83627F/HF also has auto power management to reduce the power consumption.
The keyboard controller is based on 8042 compatible instruction set with a 2K Byte programmable ROM
TM
and a 256-Byte RAM bank. Keyboard BIOS firmware are available with optional AMIKEY -2, Phoenix
TM
MultiKey/42 , or customer code.
The W83627F/HF provides a set of flexible I/O control functions to the system designer through a set of
General Purpose I/O ports. These GPIO ports may serve as simple I/O or may be individually configured
to provide a predefined alternate function. General Purpose Port 1 is designed to be functional even in
power down mode (VCC is off).
Publication Release Date: November 2000
- 1 - Revision 1.0
W83627HF/F
PRELIMINARY
The W83627F/HF is made to fully comply with Microsoft PC98 and PC99 Hardware Design Guide.
Moreover W83627F/HF is made to meet the specification of PC98/PC99's requirement in the power
management: ACPI and DPM (Device Power Management).
The W83627F/HF contains a game port and a MIDI port. The game port is designed to support 2
joysticks and can be applied to all standard PC game control devices, They are very important for a
entertainment or consumer computer.
Only the W83627HF support hardware status monitoring for personal computers. It can be used to
monitor several critical hardware parameters of the system, including power supply voltages, fan speeds,
and temperatures, which are very important for a high-end computer system to work stably and properly.
FEATURES
General
· Meet LPC Spec. 1.0
· Support LDRQ#(LPC DMA), SERIRQ (serial IRQ)
· Include all the features of Winbond I/O W83977TF and W83977EF
· Integrate Hardware Monitor functions
· Compliant with Microsoft PC98/PC99 Hardware Design Guide
· Support DPM (Device Power Management), ACPI
· Programmable configuration settings
· Single 24 or 48 MHz clock input
FDC
· Compatible with IBM PC AT disk drive systems
· Variable write pre-compensation with track selectable capability
· Support vertical recording format
· DMA enable logic
· 16-byte data FIFOs
· Support floppy disk drives and tape drives
· Detects all overrun and underrun conditions
· Built-in address mark detection circuit to simplify the read electronics
· FDD anti-virus functions with software write protect and FDD write enable signal (write data
signal was forced to be inactive)
· Support up to four 3.5-inch or 5.25-inch floppy disk drives
· Completely compatible with industry standard 82077
· 360K/720K/1.2M/1.44M/2.88M format; 250K, 300K, 500K, 1M, 2M bps data transfer rate
· Support 3-mode FDD, and its Win95/98 driver
Publication Release Date: November 2000
- 2 - Revision 1.0
W83627HF/F
PRELIMINARY
UART
· Two high-speed 16550 compatible UARTs with 16-byte send/receive FIFOs
· MIDI compatible
· Fully programmable serial-interface characteristics:
--- 5, 6, 7 or 8-bit characters
--- Even, odd or no parity bit generation/detection
--- 1, 1.5 or 2 stop bits generation
· Internal diagnostic capabilities:
--- Loop-back controls for communications link fault isolation
--- Break, parity, overrun, framing error simulation
16
· Programmable baud generator allows division of 1.8461 MHz and 24 MHz by 1 to (2 -1)
· Maximum baud rate up to 921k bps for 14.769 MHz and 1.5M bps for 24 MHz
Infrared
· Support IrDA version 1.0 SIR protocol with maximum baud rate up to 115.2K bps
· Support SHARP ASK-IR protocol with maximum baud rate up to 57,600 bps
· Support Consumer IR
Parallel Port
· Compatible with IBM parallel port
· Support PS/2 compatible bi-directional parallel port
· Support Enhanced Parallel Port (EPP) - Compatible with IEEE 1284 specification
· Support Extended Capabilities Port (ECP) - Compatible with IEEE 1284 specification
· Extension FDD mode supports disk drive B; and Extension 2FDD mode supports disk drives A
and B through parallel port
· Enhanced printer port back-drive current protection
Keyboard Controller
TM TM
· 8042 based with optional F/W from AMIKKEY -2, Phoenix MultiKey/42 or customer code
with 2K bytes of programmable ROM, and 256 bytes of RAM
· Asynchronous Access to Two Data Registers and One status Register
· Software compatibility with the 8042
· Support PS/2 mouse
Publication Release Date: November 2000
- 3 - Revision 1.0
W83627HF/F
PRELIMINARY
· Support port 92
· Support both interrupt and polling modes
· Fast Gate A20 and Hardware Keyboard Reset
· 8 Bit Timer/ Counter
· Support binary and BCD arithmetic
· 6 MHz, 8 MHz, 12 MHz, or 16 MHz operating frequency
Game Port
· Support two separate Joysticks
· Support every Joystick two axis (X,Y) and two button (A,B) controllers
MIDI Port
· The baud rate is 31.25 Kbaud
· 16-byte input FIFO
· 16-byte output FIFO
General Purpose I/O Ports
· 22 programmable general purpose I/O ports
· General purpose I/O ports can serve as simple I/O ports, interrupt steering inputs, watch dog
timer output, power LED output, infrared I/O pins, KBC control I/O pins, suspend LED output,
RSMRST# signal, PWROK signal, Beep output
· Functional in power down mode (GP1 only)
OnNow Functions
· Keyboard Wake-Up by programmable keys
· Mouse Wake-Up by programmable buttons
· CIR Wake-Up by programmable keys
· On Now Wake-Up from all of the ACPI sleeping states (S1-S5)
Hardware Monitor Functions ( Only for W83627HF)
· 5 VID input pins for CPU Vcore identification
TM
· 3 thermal inputs from optionally remote thermistors or 2N3904 transistors or Pentium II
(Deschutes) thermal diode output
· 7 positive voltage inputs (typical for +12V, -12V, +5V, -5V, +3.3V, VcoreA, VcoreB)
· 2 intrinsic voltage monitoring (typical for Vbat, +5VSB)
Publication Release Date: November 2000
- 4 - Revision 1.0
W83627HF/F
PRELIMINARY
· 3 fan speed monitoring inputs
· 2 fan speed control
· Build in Case open detection circuit
· WATCHDOG comparison of all monitored values
· Programmable hysteresis and setting points for all monitored items
· Over temperature indicate output
· Automatic Power On voltage detection Beep
· Issue SMI#, IRQ, OVT# to activate system protection
TM
TM
· Intel LDCM / Acer ADM compatible
Package
· 128-pin PQFP
Publication Release Date: November 2000
- 5 - Revision 1.0
W83627HF/F
PRELIMINARY
PIN CONFIGURATION FOR 627F
P R
S
W S
L
R P M C
P
P WI I C WR I
_
L D R R S T R S R
S
E T R T U L O T R
X
D OX X S #
# K # X P
/ / / / D S D R D C C / / / / / S
A A G G G GG G RC OS T T S T L V GG G G GP OM M
V G P P P P P P V I D U I R S R SV K B P P P P PS U D C
N N N N N C NN N N 2 2 2 2 2 2 S BB T N B B B BC N I A 3 3 3 3 3 I T A L
C C C C C C CC C D 1 2 3 4 5 6 S # # B B # # # # C C N T 0 1 2 3 4 N # T K
1 1 1 9 9 9 9 9 9 9 9 9 9 8 8 8 8 8 8 8 8 8 7 7 7 7 7 7 7 7 7 7 6 6 6 6 6
8
0 0 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5
2 1 0
NC 103 64 SUSLED/GP35
104 63 KDAT
NC
62
NC 105 KCLK
106 61 VSB
NC
107 60 KBRST
NC
108 59 A20GATE
NC
109 KBLOCK#
NC 58
RIA#
NC 110 57
NC 111 56 DCDA#
112 VSS
NC 55
54 SOUTA
113
NC
53 SINA
VCC 114
52
115
NC DTRA#
116 51
NC W83627F RTSA#
VSS 117 50 DSRA#
NC 118 49
CTSA#
119 48
MSI/GP20
VCC
120 47
MSO/IRQIN0
STB#
121
46
GPSA2/GP17 AFD#
122
GPSB2/GP16 45 ERR#
123 44
GPY1/GP15 INIT#
124
GPY2/P16/GP14 43 SLIN#
GPX2/P15/GP13 125 42 PD0
126 41 PD1
GPX1/P14/GP12
127 40
PD2
GPSB1/P13/GP11
39
GPSA1/P12/GP10 128 PD3
1 1 1 2 2 2 2 2 2 2 2 3 3 3 3
1 1 1 1 1 1 1 2 2 3 3 3
3 3
1 2 3 4 5 7 9 0 8 3
6 8 9 0 1 2 3 4 5 6 7 8 1 2 3 4 5 6 7 9 0 1 2 4 5 6
7 8
D D I M D D MD S WW V T WR H D C P VP L S L L L L V L L
S P B A P P P P
R R N O S S OI T D E C RP D E S L M SC D E AA A A C F R
L E U C D D D D
V V D A B A B R E # # C A# A A K K E SI R R DD D D C R E
C S K 7 6 5 4
D D E # # # # # P K T D C I # C QI 3 2 1 0 3 A S
T Y #
E E X # 0 A # H N L # R V ME
N N # # # G K Q E T
0 1 # # #
/
S
M
I
#
/
G
P
2
7
Publication Release Date: November 2000
- 6 - Revision 1.0
W83627HF/F
PRELIMINARY
PIN CONFIGURATION FOR 627HF
P R
S
W S
L
R P M C
P
P WI I C C WR I
_
S S L D R R A S T R S R
S
+ C D E T R T S U L O T R
X
V V 3 + - L A D O X X E S # # K # X P
V C C . 1 1 - / / / / / / D S D R D C O C / / / / / S
T V O O 3 A 2 2 5 A G G GG GG R C OS T T S T P L V GGG G GP OM M
I R R R V V V V V G P P P P P P V I D UI R S R SV E K B P P P P P S U D C
N E E E I C I I I N 2 2 2 2 2 2 S B B T N B B B BC N I A 3 3 3 3 3 I T A L
3 F A B N C N N N D 1 2 3 4 5 6 S # # BB # # # # C # N T 0 1 2 3 4 N # T K
1 1 1 9 9 9 9 9 9 9 9 9 9 8 8 8 8 8 8 8 8 8 8 7 7 7 7 7 7 7 7 7 7 6 6 6 6 6
0 0 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5 4 3 2 1 0 9 8 7 6 5
2 1 0
VTIN2 103 64
SUSLED/GP35
104
VTIN1 63 KDAT
OVT# 62 KCLK
105
VID4 106 61 VSB
107 60 KBRST
VID3
VID2 108 59 A20GATE
VID1 109 58 KBLOCK#
VID0 110 57 RIA#
FANIO3 111 56 DCDA#
FANIO2 112 55 VSS
54 SOUTA
FANIO1 113
53 SINA
VCC 114 W83627HF
115 52
FANPWM2 DTRA#
116 51
FANPWM1 RTSA#
VSS 117 50 DSRA#
118 49
BEEP CTSA#
119 48
MSI/GP20
VCC
120 47
MSO/IRQIN0
STB#
121
46
GPSA2/GP17 AFD#
122
GPSB2/GP16 45 ERR#
123 44
GPY1/GP15 INIT#
124
GPY2/P16/GP14 43 SLIN#
GPX2/P15/GP13 125 42 PD0
126 41 PD1
GPX1/P14/GP12
127 40 PD2
GPSB1/P13/GP11
128 39
GPSA1/P12/GP10 PD3
1 1 1 1 1 1 2 2 2 2 2 2 2 2 2 3 3 3 3 3
1 1 1 1 2 3 3 3
3
1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5
6 8
7
D D I M D D MD S WW V T WR H D CP V P L S L L L L V L L
S P B A P P P P
R R N O S S OI T D E C R P D E S L M S C D E AA A A C F R
L E U C D D D D
V V D A B A B R E # # C A # A A K KE S I R R DD D D C R E
C S K 7 6 5 4
D D E # # # # # P K T D C I # C QI 3 2 1 0 3 A S
T Y #
E E X # 0 A # H N L # R V ME
N N # # # G K Q E T
0 1 # # #
/
S
M
I
#
/
G
P
2
7
Publication Release Date: November 2000
- 7 - Revision 1.0
W83627HF/F
PRELIMINARY
1. PIN DESCRIPTION
Note: Please refer to Section 13.2 DC CHARACTERISTICS for details.
I/O - TTL level bi-directional pin with 8 mA source-sink capability
8t
I/O - TTL level bi-directional pin with 12 mA source-sink capability
12t
I/O - 3.3V TTL level bi-directional pin with 12 mA source-sink capability
12tp3
I/OD - TTL level bi-directional pin open drain output with 12 mA sink capability
12t
I/O - TTL level bi-directional pin with 24 mA source-sink capability
24t
OUT - TTL level output pin with 12 mA source-sink capability
12t
OUT - 3.3V TTL level output pin with 12 mA source-sink capability
12tp3
OD - Open-drain output pin with 12 mA sink capability
12
OD - Open-drain output pin with 24 mA sink capability
24
IN - CMOS level Schmitt-trigger input pin
cs
IN - TTL level input pin
t
IN - TTL level input pin with internal pull down resistor
td
IN - TTL level Schmitt-trigger input pin
ts
IN - 3.3V TTL level Schmitt-trigger input pin
tsp3
1.1 LPC Interface
SYMBOL PIN I/O FUNCTION
CLKIN 18 IN System clock input. According to the input frequency 24MHz or
t
48MHz, it is selectable through register. Default is 24MHz input.
19 OD Generated PME event.
PME# 12
PCICLK 21 IN PCI clock input.
tsp3
LDRQ# 22 O Encoded DMA Request signal.
12tp3
SERIRQ 23 I/OD12t Serial IRQ input/Output.
LAD[3:0] 24-27 I/O These signal lines communicate address, control, and data
12tp3
information over the LPC bus between a host and a peripheral.
29 IN Indicates start of a new cycle or termination of a broken cycle.
LFRAME# tsp3
30 IN Reset signal. It can connect to PCIRST# signal on the host.
LRESET# tsp3
SUSCLKIN 75 INts 32khz clock input , for CIR only.
Publication Release Date: November 2000
- 8 - Revision 1.0
W83627HF/F
PRELIMINARY
1.2 FDC Interface
SYMBOL PIN I/O FUNCTION
DRVDEN0 1 OD Drive Density Select bit 0.
24
DRVDEN1 2 OD Drive Density Select bit 1. (Default)
12
SMI# Int System Management Interrupt
(IRQIN1) (Interrupt channel input. For C version only)
GP27 I/OD General purpose I/O port 3 bit 6.
12
3 IN This Schmitt-triggered input from the disk drive is active low when
INDEX# cs
the head is positioned over the beginning of a track marked by an
index hole. This input pin is pulled up internally by a 1 KW
resistor. The resistor can be disabled by bit 7 of L0-CRF0
(FIPURDWN).
4 OD Motor A On. When set to 0, this pin enables disk drive 0. This
MOA# 24
is an open drain output.
5 OD Drive Select B. When set to 0, this pin enables disk drive B.
DSB# 24
This is an open drain output.
6 OD Drive Select A. When set to 0, this pin enables disk drive A.
DSA# 24
This is an open drain output.
7 OD Motor B On. When set to 0, this pin enables disk drive 1. This
MOB# 24
is an open drain output.
8 OD Direction of the head step motor. An open drain output.
DIR# 24
Logic 1 = outward motion
Logic 0 = inward motion
9 OD Step output pulses. This active low open drain output produces a
STEP# 24
pulse to move the head to another track.
10 OD Write data. This logic low open drain writes pre-compensation
WD# 24
serial data to the selected FDD. An open drain output.
11 OD Write enable. An open drain output.
WE# 24
13 IN Track 0. This Schmitt-triggered input from the disk drive is active
TRAK0# cs
low when the head is positioned over the outermost track. This
input pin is pulled up internally by a 1 KW resistor. The resistor
can be disabled by bit 7 of L0-CRF0 (FIPURDWN).
14 IN Write protected. This active low Schmitt input from the disk drive
WP# cs
indicates that the diskette is write-protected. This input pin is
pulled up internally by a 1 KW resistor. The resistor can be
disabled by bit 7 of L0-CRF0 (FIPURDWN).
Publication Release Date: November 2000
- 9 - Revision 1.0
W83627HF/F
PRELIMINARY
1.2 FDC Interface, continued
SYMBOL PIN I/O FUNCTION
15 IN The read data input signal from the FDD. This input pin is pulled
RDATA# cs
up internally by a 1 KW resistor. The resistor can be disabled by
bit 7 of L0-CRF0 (FIPURDWN).
16 OD Head select. This open drain output determines which disk drive
HEAD# 24
head is active.
Logic 1 = side 0
Logic 0 = side 1
17 IN Diskette change. This signal is active low at power on and
DSKCHG# cs
whenever the diskette is removed. This input pin is pulled up
internally by a 1 KW resistor. The resistor can be disabled by bit
7 of L0-CRF0 (FIPURDWN).
1.3 Multi-Mode Parallel Port
The following pins have alternate functions, which are controlled by CR28 and L3-CRF0.
SYMBOL PIN I/O FUNCTION
SLCT 31 IN PRINTER MODE:
t
An active high input on this pin indicates that the printer is
selected. Refer to the description of the parallel port for definition
of this pin in ECP and EPP mode.
OD EXTENSION FDD MODE: WE2#
12
This pin is for Extension FDD B; its function is the same as the
WE# pin of FDC.
OD EXTENSION 2FDD MODE: WE2#
12
This pin is for Extension FDD A and B; its function is the same as
the WE# pin of FDC.
PE 32 IN PRINTER MODE:
t
An active high input on this pin indicates that the printer has
detected the end of the paper. Refer to the description of the
parallel port for the definition of this pin in ECP and EPP mode.
OD EXTENSION FDD MODE: WD2#
12
This pin is for Extension FDD B; its function is the same as the
pin of FDC.
WD#
OD EXTENSION 2FDD MODE: WD2#
12
This pin is for Extension FDD A and B; its function is the same as
the pin of FDC.
WD#
Publication Release Date: November 2000
- 10 - Revision 1.0
W83627HF/F
PRELIMINARY
1.3 Multi-Mode Parallel Port, continued
SYMBOL PIN I/O FUNCTION
BUSY 33 IN PRINTER MODE:
t
An active high input indicates that the printer is not ready to
receive data. Refer to the description of the parallel port for
definition of this pin in ECP and EPP mode.
OD EXTENSION FDD MODE: MOB2#
12
This pin is for Extension FDD B; its function is the same as the
MOB# pin of FDC.
OD EXTENSION 2FDD MODE: MOB2#
12
This pin is for Extension FDD A and B; its function is the same as
the MOB# pin of FDC.
ACK# 34 IN PRINTER MODE: ACK#
t
An active low input on this pin indicates that the printer has
received data and is ready to accept more data. Refer to the
description of the parallel port for the definition of this pin in ECP
and EPP mode.
OD
12 EXTENSION FDD MODE: DSB2#
This pin is for the Extension FDD B; its functions is the same as
the DSB# pin of FDC.
OD
12
EXTENSION 2FDD MODE: DSB2#
This pin is for Extension FDD A and B; its function is the same as
the DSB# pin of FDC.
ERR# 45 IN PRINTER MODE: ERR#
t
An active low input on this pin indicates that the printer has
encountered an error condition. Refer to the description of the
parallel port for the definition of this pin in ECP and EPP mode.
EXTENSION FDD MODE: HEAD2#
OD
12
This pin is for Extension FDD B; its function is the same as the
HEAD#pin of FDC.
OD
EXTENSION 2FDD MODE: HEAD2#
12
This pin is for Extension FDD A and B; its function is the same as
the HEAD# pin of FDC.
Publication Release Date: November 2000
- 11 - Revision 1.0
W83627HF/F
PRELIMINARY
1.3 Multi-Mode Parallel Port, continued
SYMBOL PIN I/O FUNCTION
SLIN# 43 OD PRINTER MODE: SLIN#
12
Output line for detection of printer selection. Refer to the description
of the parallel port for the definition of this pin in ECP and EPP
mode.
OD EXTENSION FDD MODE: STEP2#
12
This pin is for Extension FDD B; its function is the same as the
STEP# pin of FDC.
OD EXTENSION 2FDD MODE: STEP2#
12
This pin is for Extension FDD A and B; its function is the same as
the STEP# pin of FDC.
INIT# 44 OD PRINTER MODE: INIT#
12
Output line for the printer initialization. Refer to the description of
the parallel port for the definition of this pin in ECP and EPP mode.
EXTENSION FDD MODE: DIR2#
OD
This pin is for Extension FDD B; its function is the same as the
12
DIR# pin of FDC.
EXTENSION 2FDD MODE: DIR2#
OD This pin is for Extension FDD A and B; its function is the same as
12
the DIR# pin of FDC.
AFD# 46 OD PRINTER MODE: AFD#
12
An active low output from this pin causes the printer to auto feed a
line after a line is printed. Refer to the description of the parallel port
for the definition of this pin in ECP and EPP mode.
EXTENSION FDD MODE: DRVDEN0
OD
12
This pin is for Extension FDD B; its function is the same as the
DRVDEN0 pin of FDC.
EXTENSION 2FDD MODE: DRVDEN0
OD
12
This pin is for Extension FDD A and B; its function is the same as
the DRVDEN0 pin of FDC.
Publication Release Date: November 2000
- 12 - Revision 1.0
W83627HF/F
PRELIMINARY
1.3 Multi-Mode Parallel Port, continued
SYMBOL PIN I/O FUNCTION
STB# 47 OD PRINTER MODE: STB#
12
An active low output is used to latch the parallel data into the
printer. Refer to the description of the parallel port for the definition
of this pin in ECP and EPP mode.
- EXTENSION FDD MODE: This pin is a tri-state output.
- EXTENSION 2FDD MODE: This pin is a tri-state output.
PD0 42 I/O PRINTER MODE: PD0
12t
Parallel port data bus bit 0. Refer to the description of the parallel
port for the definition of this pin in ECP and EPP mode.
IN EXTENSION FDD MODE: INDEX2#
t
This pin is for Extension FDD B; its function is the same as the
INDEX# pin of FDC. It is pulled high internally.
IN EXTENSION 2FDD MODE: INDEX2#
t
This pin is for Extension FDD A and B; its function is the same as
the INDEX# pin of FDC. It is pulled high internally.
41 I/O PRINTER MODE: PD1
PD1
12t
Parallel port data bus bit 1. Refer to the description of the parallel
port for the definition of this pin in ECP and EPP mode.
IN
EXTENSION FDD MODE: TRAK02#
t
This pin is for Extension FDD B; its function is the same as the
TRAK0# pin of FDC. It is pulled high internally.
IN
EXTENSION. 2FDD MODE: TRAK02#
t
This pin is for Extension FDD A and B; its function is the same as
the TRAK0# pin of FDC. It is pulled high internally.
40 I/O PRINTER MODE: PD2
PD2
12t
Parallel port data bus bit 2. Refer to the description of the parallel
port for the definition of this pin in ECP and EPP mode.
IN
EXTENSION FDD MODE: WP2#
t
This pin is for Extension FDD B; its function is the same as the
WP# pin of FDC. It is pulled high internally.
IN
EXTENSION. 2FDD MODE: WP2#
t
This pin is for Extension FDD A and B; its function is the same as
the WP# pin of FDC. It is pulled high internally.
Publication Release Date: November 2000
- 13 - Revision 1.0
W83627HF/F
PRELIMINARY
1.3 Multi-Mode Parallel Port, continued
SYMBOL PIN I/O FUNCTION
39 I/O PRINTER MODE: PD3
PD3
12t
Parallel port data bus bit 3. Refer to the description of the parallel
port for the definition of this pin in ECP and EPP mode.
IN
EXTENSION FDD MODE: RDATA2#
t
This pin is for Extension FDD B; its function is the same as the
RDATA# pin of FDC. It is pulled high internally.
IN
EXTENSION 2FDD MODE: RDATA2#
t
This pin is for Extension FDD A and B; its function is the same as
the RDATA# pin of FDC. It is pulled high internally.
PD4 38 I/O PRINTER MODE: PD4
12t
Parallel port data bus bit 4. Refer to the description of the parallel
port for the definition of this pin in ECP and EPP mode.
IN EXTENSION FDD MODE: DSKCHG2#
t
This pin is for Extension FDD B; the function of this pin is the same
as the DSKCHG# pin of FDC. It is pulled high internally.
EXTENSION 2FDD MODE: DSKCHG2#
IN
t
This pin is for Extension FDD A and B; this function of this pin is
the same as the DSKCHG# pin of FDC. It is pulled high internally.
37 I/O PRINTER MODE: PD5
PD5
12t
Parallel port data bus bit 5. Refer to the description of the
parallel port for the definition of this pin in ECP and EPP mode.
-
EXTENSION FDD MODE: This pin is a tri-state output.
-
EXTENSION 2FDD MODE: This pin is a tri-state output.
36 I/OD PRINTER MODE: PD6
PD6
12t
Parallel port data bus bit 6. Refer to the description of the parallel
- port for the definition of this pin in ECP and EPP mode.
EXTENSION FDD MODE: This pin is a tri-state output.
OD EXTENSION. 2FDD MODE: MOA2#
12
This pin is for Extension FDD A; its function is the same as the
MOA# pin of FDC.
35 I/OD PRINTER MODE: PD7
PD7
12t
Parallel port data bus bit 7. Refer to the description of the parallel
port for the definition of this pin in ECP and EPP mode.
-
EXTENSION FDD MODE: This pin is a tri-state output.
OD
EXTENSION 2FDD MODE: DSA2#
12
This pin is for Extension FDD A; its function is the same as the
DSA# pin of FDC.
Publication Release Date: November 2000
- 14 - Revision 1.0
W83627HF/F
PRELIMINARY
1.4 Serial Port Interface
SYMBOL PIN I/O FUNCTION
49 IN Clear To Send. It is the modem control input.
CTSA#
t
78 The function of these pins can be tested by reading bit 4 of the
CTSB#
handshake status register.
DSRA# 50 IN Data Set Ready. An active low signal indicates the modem or
t
data set is ready to establish a communication link and transfer
79
DSRB#
data to the UART.
51 I/O UART A Request To Send. An active low signal informs the modem
8t
RTSA#
or data set that the controller is ready to send data.
During power-on reset, this pin is pulled down internally and is
HEFRAS
defined as HEFRAS, which provides the power-on value for CR26 bit
6 (HEFRAS). A 4.7 kW is recommended if intends to pull up.
(select 4EH as configuration I/O port¢s address)
80 I/O UART B Request To Send. An active low signal informs the modem
8t
RTSB#
or data set that the controller is ready to send data.
52 I/O UART A Data Terminal Ready. An active low signal informs the
8t
DTRA#
modem or data set that the controller is ready to communicate.
During power-on reset, this pin is pulled down internally and is
PNPCSV#
defined as , which provides the power-on value for CR24
PNPCSV#
bit 0 ( ). A 4.7 kW is recommended if intends to pull up.
PNPCSV#
(clear the default value of FDC, UARTs, PRT, Game port and MIDI
port)
81 I/O UART B Data Terminal Ready. An active low signal informs the
8t
DTRB#
modem or data set that controller is ready to communicate.
SINA 53 IN Serial Input. It is used to receive serial data through the
t
SINB communication link.
82
54 I/O UART A Serial Output. It is used to transmit serial data out to the
8t
SOUTA
communication link.
During power-on reset, this pin is pulled down internally and is
PENKBC
defined as PENKBC, which provides the power-on value for CR24 bit
2 (ENKBC). A 4.7 kW resistor is recommended if intends to pull up.
(enable KBC)
SOUTB 83 I/O UART B Serial Output. During power-on reset, this pin is pulled
8t
down internally and is defined as PEN48, which provides the power-
PEN48
on value for CR24 bit 6 (EN48). A 4.7 kW resistor is
recommended if intends to pull up.
56 IN Data Carrier Detect. An active low signal indicates the modem or
DCDA#
t
data set has detected a data carrier.
DCDB# 84
57 IN Ring Indicator. An active low signal indicates that a ring signal is
RIA#
t
being received from the modem or data set.
85
RIB#
Publication Release Date: November 2000
- 15 - Revision 1.0
W83627HF/F
PRELIMINARY
1.5 KBC Interface
SYMBOL PIN I/O FUNCTION
KBLOCK# 58 INt Keyboard inhibit control input. This pin is after system reset.
Internal pull high. (KBC P17)
A20GATE 59 O12 Gate A20 output. This pin is high after system reset. (KBC P21)
KBRST 60 O12 Keyboard reset. This pin is high after system reset. (KBC P20)
KDATA 63 I/OD Keyboard Data.
16
MDATA 66 I/OD PS2 Mouse Data.
16
KCLK 62 I/OD Keyboard Clock.
16
MCLK 65 I/OD PS2 Mouse Clock.
16
1.6 ACPI Interface
SYMBOL PIN I/O FUNCTION
VBAT 74 PWR Battery voltage input.
PSOUT# 67 OD Panel Switch Output. This signal is used for Wake-Up system
12
from S5 state. This pin is pulse output, active low.
cold
PSIN 68 IN Panel Switch Input. This pin is high active with an internal pull
td
down resistor.
1.7 Hardware Monitor Interface
(For W83627HF only, all these pins in W83627F are NC.)
SYMBOL PIN I/O FUNCTION
CASEOPEN#
76 IN CASE OPEN. An active low input from an external device when
t
case is opened. This signal can be latched if pin VBAT is
connect to battery, even W83627HF is power off.
-5VIN 94 AIN 0V to 4.096V FSR Analog Inputs.
-12VIN 95 AIN 0V to 4.096V FSR Analog Inputs.
+12VIN 96 AIN 0V to 4.096V FSR Analog Inputs.
+3.3VIN 98 AIN 0V to 4.096V FSR Analog Inputs.
VCOREB 99 AIN 0V to 4.096V FSR Analog Inputs.
VCOREA 100 AIN 0V to 4.096V FSR Analog Inputs.
VREF 101 AOUT Reference Voltage for temperature measuration.
VTIN3 102 AIN Temperature sensor 3 input. It is used for CPU2 temperature
measuration.
Publication Release Date: November 2000
- 16 - Revision 1.0
W83627HF/F
PRELIMINARY
1.7 Hardware Monitor Interface, continued
SYMBOL PIN I/O FUNCTION
VTIN2 103 AIN Temperature sensor 2 input. It is used for CPU1 temperature
measuration.
VTIN1 104 AIN Temperature sensor 1 input. It is used for system temperature
measuration.
OVT# 105 OD Over temperature Shutdown Output. It indicated the VTIN2 or
12
VTIN3 is over temperature limit.
VID[4:0] 106- IN Voltage Supply readouts from Pentium II .
t
110
FANIO[3:1] 111- I/O 0V to +5V amplitude fan tachometer input.
12ts
113
Alternate Function: Fan on-off control output.
These multifunctional pins can be programmable input or output.
FANPWM1 116 O Fan speed control. Use the Pulse Width Modulatuion (PWM)
12
technic knowledge to control the Fan's RPM.
FANPWM2 115
BEEP 118 OD12 Beep function for hardware monitor. This pin is low after system
reset.
1.8 Game Port & MIDI Port
SYMBOL PIN I/O FUNCTION
GPSA1 128 INcs Active-low, Joystick I switch input 1. (Default)
GP10 I/OD General purpose I/O port 1 bit 0.
12
P12 I/OD12 Alternate Function Output:KBC P12 I/O port.
GPSB1 127 INcs Active-low, Joystick II switch input 1. (Default)
GP11 I/OD General purpose I/O port 1 bit 1.
12
P13 I/OD12 Alternate Function Output:KBC P13 I/O port.
GPX1 126 I/OD12 Joystick I timer pin. this pin connect to X positioning variable
resistors for the Josystick. (Default)
General purpose I/O port 1 bit 2.
GP12 I/OD
12
P14 I/OD12 Alternate Function Output:KBC P14 I/O port.
Publication Release Date: November 2000
- 17 - Revision 1.0
W83627HF/F
PRELIMINARY
1.8 Game Port & MIDI Port, continued
SYMBOL PIN I/O FUNCTION
GPX2 125 I/OD Joystick II timer pin. this pin connect to X positioning variable
12
resistors for the Josystick. (Default)
General purpose I/O port 1 bit 3.
GP13 I/OD
12
P15 I/OD12 Alternate Function Output:KBC P15 I/O port.
GPY2 124 I/OD Joystick II timer pin. this pin connect to Y positioning variable
12
resistors for the Josystick. (Default)
General purpose I/O port 1 bit 4.
GP14 I/OD
12
P16 I/OD12 Alternate Function Output:KBC P16 I/O port.
GPY1 123 I/OD Joystick I timer pin. this pin connect to Y positioning variable
12
resistors for the Josystick. (Default)
GP15 I/OD12 General purpose I/O port 1 bit 5.
GPSB2 122 INcs Active-low, Joystick II switch input 2. This pin has an internal pull-
up resistor. (Default)
GP16 I/OD General purpose I/O port 1 bit 6.
12
GPSA2 121 INcs Active-low, Joystick I switch input 2. This pin has an internal pull-
up resistor. (Default)
GP17 I/OD General purpose I/O port 1 bit 7.
12
MSI 119 INt MIDI serial data input .(Default)
GP20 I/OD General purpose I/O port 2 bit 0.
12t
MSO 120 OUT12t MIDI serial data output. (Default)
IRQIN0 INt Alternate Function input: Interrupt channel input.
Publication Release Date: November 2000
- 18 - Revision 1.0
W83627HF/F
PRELIMINARY
1.9 General Purpose I/O Port
1.9.1 General Purpose I/O Port 1 (Power source is Vcc)
see 1.8 Game Port
1.9.2 General Purpose I/O Port 2 (Power source is Vcc)
SYMBOL PIN I/O FUNCTION
GP20 119 I/OD General purpose I/O port 2 bit 0.
12t
MSI MIDI serial data input. Schmitt trigger input with internal pull-up
INt
register. (Default)
GP21 92 I/OD General purpose I/O port 2 bit 1.
12t
(SCL) (Alternate Function: Serial Bus Clock. For W83627HF Only)
INts
GP22 91 I/OD General purpose I/O port 2 bit 2.
12t
(SDA) I/OD12ts (Alternate Function: Serial Bus bi-directional Data.
For W83627HF Only)
GP23 90 I/OD General purpose I/O port 2 bit 3.
24t
PLED OD24t Power LED output, this signal is low after system reset. (Default)
GP24 89 I/OD General purpose I/O port 2 bit 4.
12t
WDTO OD Watch dog timer output. (Default)
12t
GP25 88 I/OD General purpose I/O port 2 bit 5.
12t
IRRX Alternate Function Input: Infrared Receiver input. (Default)
INts
GP26 87 I/OD General purpose I/O port 2 bit 6.
12t
IRTX Alternate Function Output: Infrared Transmitter Output. (Default)
OUT12t
GP27 2 I/OD General purpose I/O port 2 bit 7.
24t
DRVDEN1 Drive Density Select bit 0. (Default)
OD24t
IRQIN1 Alternate Function Input: Interrupt channel input.
INt
Publication Release Date: November 2000
- 19 - Revision 1.0
W83627HF/F
PRELIMINARY
1.9.3 General Purpose I/O Port 3 (Power souce is VSB)
SYMBOL PIN I/O FUNCTION
GP30 73 I/OD12t General purpose I/O port 3 bit 0.
SLP_SX# INt Chpset suspend C status input.
GP31 72 I/OD General purpose I/O port 3 bit 1.
12t
PWRCTL# OD This pin generates the PWRCTL# signal while the power failure.
12t
(Default)
GP32 71 I/OD General purpose I/O port 3 bit 2.
12t
PWROK OD This pin generates the PWROK signal while the VCC come in.
12t
(Default)
GP33 70 I/OD General purpose I/O port 3 bit 3.
12t
RSMRST# OD This pin generates the RSMRST signal while the VSB come in.
12t
(Default)
GP34 69 I/OD General purpose I/O port 3 bit 4.
12t
CIRRX# OD Consumer IR receiving input. This pin can Wake-Up system from
12t
S5 (Default)
cold.
GP35 64 I/OD General purpose I/O port 3 bit 5.
24t
SUSLED OD Suspend LED output, it can program to flash when suspend state.
24t
This function can work without VCC. (Default)
1.10 POWER PINS
SYMBOL PIN FUNCTION
VCC 12, 48, 77, 114 +5V power supply for the digital circuitry.
VSB 61 +5V stand-by power supply for the digital circuitry.
VCC3V 28 +3.3V power supply for driving 3V on host interface.
AVCC 97 Analog VCC input. Internally supplier to all analog circuitry.
AGND 93 Internally connected to all analog circuitry. The ground reference
for all analog inputs..
VSS 20, 55, 86, 117 Ground.
Publication Release Date: November 2000
- 20 - Revision 1.0
W83627HF/F
PRELIMINARY
2. LPC (LOW PIN COUNT) INTERFACE
LPC interface is to replace ISA interface serving as a bus interface between host (chip-set) and
peripheral (Winbond I/O). Data transfer on the LPC bus are serialized over a 4 bit bus. The general
characteristics of the interface implemented in Winbond LPC I/O are:
· One control line, namely LFRAME#, which is used by the host to start or stop transfers. No
peripherals drive this signal.
· The LAD[3:0] bus, which communicates information serially. The information conveyed are cycle
type, cycle direction, chip selection, address, data, and wait states.
· MR (master reset) of Winbond ISA I/O is replaced with a active low reset signal, namely LRESET#, in
Winbond LPC I/O.
· An additional 33 MHz PCI clock is needed in Winbond LPC I/O for synchronization.
· DMA requests are issued through LDRQ#.
· Interrupt requests are issued through SERIRQ.
· Power management events are issued through PME#.
Comparing to its ISA counterpart, LPC implementation saves up to 40 pin counts (see table below) free
for integrating more devices on a single chip.
Winbond I/O Interface pins count
W83977TF D[7:0], SA[15:0], DRQ[3:0], DACK#[3:0], TC, IOR#, IOW#, IOCHRDY, IRQs 49
W83627HF LAD[3:0], LFRAME#, PCICLK, LDRQ#, SERIRQ, PME# 9
save 40
The transition from ISA to LPC is transparent in terms of software which means no BIOS or device driver
update is needed except chip-specific configuration.
Publication Release Date: November 2000
- 21 - Revision 1.0
W83627HF/F
PRELIMINARY
3. FDC FUNCTIONAL DESCRIPTION
3.1 W83627HF FDC
The floppy disk controller of the W83627HF integrates all of the logic required for floppy disk control.
The FDC implements a PC/AT or PS/2 solution. All programmable options default to compatible
values. The FIFO provides better system performance in multi-master systems. The digital data
separator supports up to 2 M bits/sec data rate.
The FDC includes the following blocks: AT interface, Precompensation, Data Rate Selection, Digital
Data Separator, FIFO, and FDC Core.
3.1.1 AT interface
The interface consists of the standard asynchronous signals: , WR#, A0-A3, IRQ, DMA control, and
RD#
a data bus. The address lines select between the configuration registers, the FIFO and control/status
registers. This interface can be switched between PC/AT, Model 30, or PS/2 normal modes. The PS/2
register sets are a superset of the registers found in a PC/AT.
3.1.2 FIFO (Data)
The FIFO is 16 bytes in size and has programmable threshold values. All command parameter
information and disk data transfers go through the FIFO. Data transfers are governed by the RQM and
DIO bits in the Main Status Register.
The FIFO defaults to disabled mode after any form of reset. This maintains PC/AT hardware
compatibility. The default values can be changed through the CONFIGURE command. The advantage of
the FIFO is that it allows the system a larger DMA latency without causing disk errors. The following
tables give several examples of the delays with a FIFO. The data are based upon the following formula:
THRESHOLD # ´ (1/DATA/RATE) *8 - 1.5 mS = DELAY
FIFO THRESHOLD MAXIMUM DELAY TO SERVICING AT 500K BPS
Data Rate
1 Byte 1 ´ 16 mS - 1.5 mS = 14.5 mS
2 Byte 2 ´ 16 mS - 1.5 mS = 30.5 mS
8 Byte 8 ´ 16 mS - 1.5 mS = 6.5 mS
15 Byte 15 ´ 16 mS - 1.5 mS = 238.5 mS
FIFO THRESHOLD MAXIMUM DELAY TO SERVICING AT 1M BPS
Data Rate
1 Byte 1 ´ 8 mS - 1.5 mS = 6.5 mS
2 Byte 2 ´ 8 mS - 1.5 mS = 14.5 mS
8 Byte 8 ´ 8 mS - 1.5 mS = 62.5 mS
15 Byte 15 ´ 8 mS - 1.5 mS = 118.5 mS
Publication Release Date: November 2000
- 22 - Revision 1.0
W83627HF/F
PRELIMINARY
At the start of a command the FIFO is always disabled and command parameters must be sent based
upon the RQM and DIO bit settings in the main status register. When the FDC enters the command
execution phase, it clears the FIFO of any data to ensure that invalid data are not transferred.
An overrun and underrun will terminate the current command and the data transfer. Disk writes will
complete the current sector by generating a 00 pattern and valid CRC. Reads require the host to remove
the remaining data so that the result phase may be entered.
DMA transfers are enabled with the SPECIFY command and are initiated by the FDC by activating the
DRQ pin during a data transfer command. The FIFO is enabled directly by asserting DACK# and
addresses need not be valid.
Note that if the DMA controller is programmed to function in verify mode a pseudo read is performed by
the FDC based only on DACK#. This mode is only available when the FDC has been configured into byte
mode (FIFO disabled) and is programmed to do a read. With the FIFO enabled the above operation is
performed by using the new VERIFY command. No DMA operation is needed.¡@
3.1.3 Data Separator
The function of the data separator is to lock onto the incoming serial read data. When a lock is achieved
the serial front end logic of the chip is provided with a clock which is synchronized to the read data. The
synchronized clock, called the Data Window, is used to internally sample the serial data portion of the
bit cell, and the alternate state samples the clock portion. Serial to parallel conversion logic separates
the read data into clock and data bytes.
The Digital Data Separator (DDS) has three parts: control logic, error adjustment, and speed tracking.
The DDS circuit cycles once every 12 clock cycles ideally. Any data pulse input will be synchronized
and then adjusted by immediate error adjustment. The control logic will generate RDD and RWD for
every pulse input. During any cycle where no data pulse is present, the DDS cycles are based on speed.
A digital integrator is used to keep track of the speed changes in the input data stream.
3.1.4 Write Precompensation
The write precompensation logic is used to minimize bit shifts in the RDDATA stream from the disk
drive. Shifting of bits is a known phenomenon in magnetic media and is dependent on the disk media
and the floppy drive.
The FDC monitors the bit stream that is being sent to the drive. The data patterns that require
precompensation are well known. Depending upon the pattern, the bit is shifted either early or late
relative to the surrounding bits.
3.1.5 Perpendicular Recording Mode
The FDC is also capable of interfacing directly to perpendicular recording floppy drives. Perpendicular
recording differs from the traditional longitudinal method in that the magnetic bits are oriented vertically.
This scheme packs more data bits into the same area.
Publication Release Date: November 2000
- 23 - Revision 1.0
W83627HF/F
PRELIMINARY
FDCs with perpendicular recording drives can read standard 3.5" floppy disks and can read and write
perpendicular media. Some manufacturers offer drives that can read and write standard and
perpendicular media in a perpendicular media drive.
A single command puts the FDC into perpendicular mode. All other commands operate as they normally
do. The perpendicular mode requires a 1 Mbps data rate for the FDC. At this data rate the FIFO eases
the host interface bottleneck due to the speed of data transfer to or from the disk.
3.1.6 FDC Core
The W83627HF FDC is capable of performing twenty commands. Each command is initiated by a multi-
byte transfer from the microprocessor. The result can also be a multi-byte transfer back to the
microprocessor. Each command consists of three phases: command, execution, and result.
Command
The microprocessor issues all required information to the controller to perform a specific operation.
Execution
The controller performs the specified operation.
Result
After the operation is completed, status information and other housekeeping information is provided to
the microprocessor.
3.1.7 FDC Commands
Command Symbol Descriptions:
C: Cylinder number 0 - 256
D: Data Pattern
DIR: Step Direction
DIR = 0, step out
DIR = 1, step in
DS0: Disk Drive Select 0
DS1: Disk Drive Select 1
DTL: Data Length
EC: Enable Count
EOT: End of Track
EFIFO: Enable FIFO
EIS: Enable Implied Seek
EOT: End of track
FIFOTHR: FIFO Threshold
GAP: Gap length selection
GPL: Gap Length
Publication Release Date: November 2000
- 24 - Revision 1.0
W83627HF/F
PRELIMINARY
H: Head number
HDS: Head number select
HLT: Head Load Time
HUT: Head Unload Time
LOCK: Lock EFIFO, FIFOTHR, PTRTRK bits prevent affected by software reset
MFM: MFM or FM Mode
MT: Multitrack
N: The number of data bytes written in a sector
NCN: New Cylinder Number
ND: Non-DMA Mode
OW: Overwritten
PCN: Present Cylinder Number
POLL: Polling Disable
PRETRK: Precompensation Start Track Number
R: Record
RCN: Relative Cylinder Number
R/W: Read/Write
SC: Sector/per cylinder
SK: Skip deleted data address mark
SRT: Step Rate Time
ST0: Status Register 0
ST1: Status Register 1
ST2: Status Register 2
ST3: Status Register 3
WG: Write gate alters timing of WE
Publication Release Date: November 2000
- 25 - Revision 1.0
W83627HF/F
PRELIMINARY
(1) Read Data
PHASE R/W D7 D6 D5 D4 D3 D2 D1 D0 REMARKS
Command W MT MFM SK 0 1 1 0 0 Command codes
W 0 0 0 0 0 HDS DS1 DS0
W -------------------------------- C --------------------------------- Sector ID information prior
to command execution
W --------------------------------- H ----------------------------------
W -------------------------------- R ---------------------------------
W -------------------------------- N --------------------------------
W ------------------------------- EOT -------------------------------
W ------------------------------ GPL ------------------------------
W -------------------------------- DTL -------------------------------
Execution Data transfer between the
FDD and system
Result R ----------------------------- ST0 ---------------------------------- Status information after
R command execution
----------------------------- ST1 ----------------------------------
R
----------------------------- ST2 ----------------------------------
R -------------------------------- C ----------------------------------- Sector ID information after
command execution
R -------------------------------- H -----------------------------------
R -------------------------------- R -----------------------------------
R --------------------------------- N -----------------------------------
Publication Release Date: November 2000
- 26 - Revision 1.0
W83627HF/F
PRELIMINARY
(2) Read Deleted Data
PHASE R/W D7 D6 D5 D4 D3 D2 D1 D0 REMARKS
Command W MT MFM SK 0 1 1 0 0 Command codes
W 0 0 0 0 0 HDS DS1 DS0
W -------------------------------- C ------------------------------------- Sector ID information prior to
command execution
W -------------------------------- H -------------------------------------
W ------------------------------- R ------------------------------------
W -------------------------------- N -------------------------------------
W ------------------------------ EOT ----------------------------------
W ------------------------------ GPL ----------------------------------
W ------------------------------ DTL ----------------------------------
Execution Data transfer between the
FDD and system
Result R ------------------------- ST0 ----------------------------- Status information after
command execution
R -------------------------- ST1 -----------------------------
R ------------------------- ST2 ----------------------------
R ---------------------------- C ------------------------------- Sector ID information after
command execution
R ---------------------------- H -------------------------------
R ---------------------------- R -------------------------------
R --------------------------- N ------------------------------
Publication Release Date: November 2000
- 27 - Revision 1.0
W83627HF/F
PRELIMINARY
(3) Read A Track
PHASE R/W D7 D6 D5 D4 D3 D2 D1 D0 REMARKS
Command W 0 MFM 0 0 0 0 1 0 Command codes
W 0 0 0 0 0 HDS DS1 DS0
W ------------------------------- C --------------------------------- Sector ID information prior
to command execution
W ------------------------------ H --------------------------------
W ------------------------------- R ---------------------------------
W -------------------------------- N ---------------------------------
W ----------------------------- EOT ------------------------------
W ----------------------------- GPL ------------------------------
W ----------------------------- DTL ------------------------------
Execution Data transfer between the
FDD and system; FDD
reads contents of all
cylinders from index hole
to EOT
Result R ------------------------------ ST0 ---------------------------------- Status information after
command execution
R ------------------------------ ST1 ----------------------------------
R ------------------------------ ST2 ----------------------------------
R --------------------------------- C ------------------------------------ Sector ID information after
command execution
R -------------------------------- H ------------------------------------
R ------------------------------- R -----------------------------------
R -------------------------------- N ------------------------------------
Publication Release Date: November 2000
- 28 - Revision 1.0
W83627HF/F
PRELIMINARY
(4) Read ID
PHASE R/W D7 D6 D5 D4 D3 D2 D1 D0 REMARKS
Command W 0 MFM 0 0 1 0 1 0 Command codes
W 0 0 0 0 0 HDS DS1 DS0
Execution
The first correct ID
information on the cylinder
is stored in Data Register
Result R ------------------------------ ST0 ---------------------------------
Status information after
command execution
R ------------------------------ ST1 --------------------------------
------------------------------ ST2 ---------------------------------
R
R -------------------------------- C --------------------------------- Disk status after the
R command has been
--------------------------------- H ----------------------------------
completed
R
--------------------------------- R ----------------------------------
R
-------------------------------- N ---------------------------------
Publication Release Date: November 2000
- 29 - Revision 1.0
W83627HF/F
PRELIMINARY
(5) Verify
PHASE R/W D7 D6 D5 D4 D3 D2 D1 D0 REMARKS
Command W MT MFM SK 1 0 1 1 0 Command codes
W EC 0 0 0 0 HDS DS1 DS0
W ----------------------------- C ---------------------------------
Sector ID information prior
to command execution
W ------------------------------ H ---------------------------------
W ----------------------------- R ---------------------------------
W ------------------------------ N ---------------------------------
W ---------------------------- EOT -------------------------------
W ---------------------------- GPL -------------------------------
--------------------------- DTL/SC ---------------------------
Execution
No data transfer takes
place
Result R ---------------------------- ST0 ---------------------------------- Status information after
command execution
R ---------------------------- ST1 ---------------------------------
R ---------------------------- ST2 ---------------------------------
R ------------------------------ C ---------------------------------- Sector ID information after
command execution
R ------------------------------ H ----------------------------------
R ------------------------------ R -----------------------------------
R ------------------------------ N -----------------------------------
(6) Version
PHASE R/W D7 D6 D5 D4 D3 D2 D1 D0 REMARKS
Command W 0 0 0 1 0 0 0 0 Command code
Result R 1 0 0 1 0 0 0 0 Enhanced controller
Publication Release Date: November 2000
- 30 - Revision 1.0
W83627HF/F
PRELIMINARY
(7) Write Data
PHASE R/W D7 D6 D5 D4 D3 D2 D1 D0 REMARKS
Command W MT MFM 0 0 0 1 0 1 Command codes
W 0 0 0 0 0 HDS DS1 DS0
W ------------------------------ C --------------------------------- Sector ID information prior
to Command execution
W ------------------------------ H --------------------------------
W ------------------------------ R --------------------------------
W ------------------------------- N --------------------------------
W ----------------------------- EOT -----------------------------
W ---------------------------- GPL -----------------------------
W ----------------------------- DTL ------------------------------
Execution Data transfer between the
FDD and system
Result R ----------------------------- ST0 ------------------------------- Status information after
Command execution
R ----------------------------- ST1 -------------------------------
R ----------------------------- ST2 -------------------------------
R ------------------------------ C ---------------------------------- Sector ID information after
Command execution
R ------------------------------ H ----------------------------------
R ------------------------------ R ----------------------------------
R ------------------------------ N ----------------------------------
Publication Release Date: November 2000
- 31 - Revision 1.0
W83627HF/F
PRELIMINARY
(8) Write Deleted Data
PHASE R/W D7 D6 D5 D4 D3 D2 D1 D0 REMARKS
Command W MT MFM 0 0 1 0 0 1 Command codes
W 0 0 0 0 0 HDS DS1 DS0
W -------------------------------- C ---------------------------------- Sector ID
information prior to
W -------------------------------- H ----------------------------------
command
W --------------------------------- R ----------------------------------
execution
W --------------------------------- N ----------------------------------
W ------------------------------- EOT ------------------------------
W ------------------------------- GPL ------------------------------
W -------------------------------- DTL -------------------------------
Execution Data transfer
between the FDD
and system
Result R -------------------------------- ST0 -------------------------------- Status information
after command
R --------------------------------- ST1 --------------------------------
execution
R --------------------------------- ST2 --------------------------------
R ----------------------------------- C ---------------------------------- Sector ID
information after
R ----------------------------------- H ----------------------------------
command
R ----------------------------------- R ----------------------------------
execution
R ----------------------------------- N ----------------------------------
Publication Release Date: November 2000
- 32 - Revision 1.0
W83627HF/F
PRELIMINARY
(9) Format A Track
PHASE R/W D7 D6 D5 D4 D3 D2 D1 D0 REMARKS
Command W 0 MFM 0 0 1 1 0 1 Command codes
W 0 0 0 0 0 HDS DS1 DS0
W ---------------------------------- N -------------------------------------- Bytes/Sector
W ---------------------------------- SC ------------------------------------- Sectors/Cylinder
W ---------------------------------- GPL ------------------------------------ Gap 3
W ------------------------------------ D -------------------------------------- Filler Byte
Execution W ------------------------------------ C -------------------------------------- Input Sector
for Each Parameters
W ------------------------------------- H ----------------------------------------
Sector
W ------------------------------------- R ----------------------------------------
Repeat:
W ------------------------------------- N ----------------------------------------
Result R --------------------------------- ST0 ----------------------------------- Status information
after command
R ----------------------------------- ST1 -------------------------------------
execution
R ---------------------------------- ST2 ------------------------------------
R -------------------------------- Undefined --------------------------------
R
-------------------------------- Undefined --------------------------------
R
--------------------------------- Undefined ---------------------------------
R
-------------------------------- Undefined --------------------------------
(10) Recalibrate
PHASE R/W D7 D6 D5 D4 D3 D2 D1 D0 REMARKS
Command W 0 0 0 0 0 1 1 1 Command codes
W 0 0 0 0 0 0 DS1 DS0
Execution Head retracted to
Track 0 Interrupt
Publication Release Date: November 2000
- 33 - Revision 1.0
W83627HF/F
PRELIMINARY
(11) Sense Interrupt Status
PHASE R/W D7 D6 D5 D4 D3 D2 D1 D0 REMARKS
Command W 0 0 0 0 1 0 0 0 Command code
Result R ------------------------------------ ST0 --------------------------------------- Status information
at the end of each
R --------------------------------- PCN ------------------------------------
seek operation
(12) Specify
PHASE R/W D7 D6 D5 D4 D3 D2 D1 D0 REMARKS
Command W 0 0 0 0 0 0 1 1 Command codes
W | ------------------SRT --------------------- | -------------- HUT ---------- |
W |------------------------------------ HLT ------------------------------| ND
(13) Seek
PHASE R/W D7 D6 D5 D4 D3 D2 D1 D0 REMARKS
Command W 0 0 0 0 1 1 1 1 Command codes
W 0 0 0 0 0 HDS DS1 DS0
W ------------------------------------ NCN -------------------------------------
Execution R Head positioned
over proper cylinder
on diskette
(14) Configure
PHASE R/W D7 D6 D5 D4 D3 D2 D1 D0 REMARKS
Configure information
Command W 0 0 0 1 0 0 1 1
W 0 0 0 0 0 0 0 0
W 0 EIS EFIFO POLL | -------------- FIFOTHR ---------------|
W | -----------------------------------PRETRK -------------------------------- |
Execution Internal registers
written
Publication Release Date: November 2000
- 34 - Revision 1.0
W83627HF/F
PRELIMINARY
(15) Relative Seek
PHASE R/W D7 D6 D5 D4 D3 D2 D1 D0 REMARKS
Command W 1 DIR 0 0 1 1 1 1 Command codes
W 0 0 0 0 0 HDS DS1 DS0
W | ------------------------------------- RCN ----------------------------- |
(16) Dumpreg
PHASE R/W D7 D6 D5 D4 D3 D2 D1 D0 REMARKS
Command W 0 0 0 0 1 1 1 0 Registers placed in
FIFO
Result R -------------------------------- PCN-Drive 0-------------------------------
R -------------------------------- PCN-Drive 1 ------------------------------
R ------------------------------- PCN-Drive 2------------------------------
R --------------------------------- PCN-Drive 3 -------------------------------
R --------------SRT ----------------- | ---------------- HUT ---------------
R -------------------- HLT --------------------------------------------| ND
R -------------------------------- SC/EOT ----------------------------------
R LOCK 0 D3 D2 D1 D0 GAP WG
R 0 EIS EFIFO POLL | ----------------- FIFOTHR ------------------
R ---------------------------------PRETRK -------------------------------------
(17) Perpendicular Mode
PHASE R/W D7 D6 D5 D4 D3 D2 D1 D0 REMARKS
Command W 0 0 0 1 0 0 1 0 Command Code
W OW 0 D3 D2 D1 D0 GAP WG
(18) Lock
PHASE R/W D7 D6 D5 D4 D3 D2 D1 D0 REMARKS
Command W LOCK 0 0 1 0 1 0 0 Command Code
LOCK
Result R 0 0 0 0 0 0 0
Publication Release Date: November 2000
- 35 - Revision 1.0
W83627HF/F
PRELIMINARY
(19) Sense Drive Status
PHASE R/W D7 D6 D5 D4 D3 D2 D1 D0 REMARKS
Command W 0 0 0 0 0 1 0 0 Command Code
0
W 0 0 0 0 HDS DS1 DS0
--------------------------- ST3 -------------------------------------
Result R Status information
about disk drive
(20) Invalid
PHASE R/W D7 D6 D5 D4 D3 D2 D1 D0 REMARKS
------------------------------- Invalid Codes ----------------------------- Invalid codes (no
Command W
operation- FDC
goes to standby
state)
----------------------------------- ST0 ----------------------------------- ST0 = 80H
Result R
Publication Release Date: November 2000
- 36 - Revision 1.0
W83627HF/F
PRELIMINARY
3.2 Register Descriptions
There are several status, data, and control registers in W83627HF. These registers are defined below:
ADDRESS REGISTER
OFFSET READ WRITE
base address + 0 SA REGISTER
base address + 1 SB REGISTER
base address + 2 DO REGISTER
base address + 3 TD REGISTER TD REGISTER
base address + 4 MS REGISTER DR REGISTER
base address + 5 DT (FIFO) REGISTER DT (FIFO) REGISTER
base address + 7 DI REGISTER CC REGISTER
3.2.1 Status Register A (SA Register) (Read base address + 0)
This register is used to monitor several disk interface pins in PS/2 and Model 30 modes. In PS/2 mode,
the bit definitions for this register are as follows:
2
1
7 6 5 4 3
0
DIR
WP
INDEX
HEAD
TRAK0
STEP
DRV2
INIT PENDING
INIT PENDING (Bit 7):
This bit indicates the value of the floppy disk interrupt output.
DRV2# (Bit 6):
0 A second drive has been installed
1 A second drive has not been installed
STEP (Bit 5):
This bit indicates the complement of STEP# output.
(Bit 4):
TRAK0#
This bit indicates the value of TRAK0# input.
Publication Release Date: November 2000
- 37 - Revision 1.0
W83627HF/F
PRELIMINARY
HEAD (Bit 3):
This bit indicates the complement of HEAD# output.
0 side 0
1 side 1
(Bit 2):
INDEX#
This bit indicates the value of output.
INDEX#
WP# (Bit 1):
0 disk is write-protected
1 disk is not write-protected
DIR (Bit 0)
This bit indicates the direction of head movement.
0 outward direction
1 inward direction
In PS/2 Model 30 mode, the bit definitions for this register are as follows:
2
1
7 6 5 4 3 0
DIR
WP
INDEX
HEAD
TRAK0
STEP F/F
DRQ
INIT PENDING
INIT PENDING (Bit 7):
This bit indicates the value of the floppy disk interrupt output.
DRQ (Bit 6):
This bit indicates the value of DRQ output pin.
STEP F/F (Bit 5):
This bit indicates the complement of latched STEP# output.
TRAK0 (Bit 4):
This bit indicates the complement of TRAK0# input.
Publication Release Date: November 2000
- 38 - Revision 1.0
W83627HF/F
PRELIMINARY
(Bit 3):
HEAD#
This bit indicates the value of output.
HEAD#
0 side 1
1 side 0
INDEX (Bit 2):
This bit indicates the complement of INDEX# output.
WP (Bit 1):
0 disk is not write-protected
1 disk is write-protected
(Bit 0)
DIR#
This bit indicates the direction of head movement.
0 inward direction
1 outward direction
3.2.2 Status Register B (SB Register) (Read base address + 1)
This register is used to monitor several disk interface pins in PS/2 and Model 30 modes. In PS/2 mode,
the bit definitions for this register are as follows:
2 1
7 6 5 4 3
0
1
1
MOT EN A
MOT EN B
WE
RDATA Toggle
WDATA Toggle
Drive SEL0
Drive SEL0 (Bit 5):
This bit indicates the status of DO REGISTER bit 0 (drive select bit 0).
WDATA Toggle (Bit 4):
This bit changes state at every rising edge of the output pin.
WD#
RDATA Toggle (Bit 3):
This bit changes state at every rising edge of the output pin.
RDATA#
WE (Bit 2):
This bit indicates the complement of the output pin.
WE#
MOT EN B (Bit 1)
Publication Release Date: November 2000
- 39 - Revision 1.0
W83627HF/F
PRELIMINARY
This bit indicates the complement of the output pin.
MOB#
MOT EN A (Bit 0)
This bit indicates the complement of the output pin.
MOA#
In PS/2 Model 30 mode, the bit definitions for this register are as follows:
2
7 6 5 4 3 1
0
DSC
DSD
WE F/F
RDATA F/F
WD F/F
DSA
DSB
DRV2
(Bit 7):
DRV2#
0 A second drive has been installed
1 A second drive has not been installed
(Bit 6):
DSB#
This bit indicates the status of DSB# output pin.
DSA# (Bit 5):
This bit indicates the status of DSA# output pin.
WD F/F(Bit 4):
This bit indicates the complement of the latched WD# output pin at every rising edge of the WD#
output pin.
RDATA F/F(Bit 3):
This bit indicates the complement of the latched RDATA# output pin .
WE F/F (Bit 2):
This bit indicates the complement of latched WE# output pin.
(Bit 1):
DSD#
0 Drive D has been selected
1 Drive D has not been selected
(Bit 0):
DSC#
0 Drive C has been selected
1 Drive C has not been selected
Publication Release Date: November 2000
- 40 - Revision 1.0
W83627HF/F
PRELIMINARY
3.2.3 Digital Output Register (DO Register) (Write base address + 2)
The Digital Output Register is a write-only register controlling drive motors, drive selection, DRQ/IRQ
enable, and FDC resetting. All the bits in this register are cleared by the MR pin. The bit definitions are
as follows:
7 6 5 4 3 2 1-0
Drive Select: 00 select drive A
01 select drive B
10 select drive C
11 select drive D
Floppy Disk Controller Reset
Active low resets FDC
DMA and INT Enable
Active high enable DRQ/IRQ
Motor Enable A. Motor A on when active high
Motor Enable B. Motor B on when active high
Motor Enable C. Motor C on when active high
Motor Enable D. Motor D on when active high
3.2.4 Tape Drive Register (TD Register) (Read base address + 3)
This register is used to assign a particular drive number to the tape drive support mode of the data
separator. This register also holds the media ID, drive type, and floppy boot drive information of the floppy
disk drive. In normal floppy mode, this register includes only bit 0 and 1. The bit definitions are as
follows:
2
1
7 6 5 4 3 0
X X X X X X
Tape sel 0
Tape sel 1
If three mode FDD function is enabled (EN3MODE = 1 in CR9), the bit definitions are as follows:
2
7 6 5 4 3 1
0
Tape Sel 0
Tape Sel 1
Floppy boot drive 0
Floppy boot drive 1
Drive type ID0
Drive type ID1
Media ID0
Media ID1
Publication Release Date: November 2000
- 41 - Revision 1.0
W83627HF/F
PRELIMINARY
Media ID1 Media ID0 (Bit 7, 6):
These two bits are read only. These two bits reflect the value of CR8 bit 3, 2.
Drive type ID1 Drive type ID0 (Bit 5, 4):
These two bits reflect two of the bits of CR7. Which two bits are reflected depends on the last drive
selected in the DO REGISTER.
Floppy Boot drive 1, 0 (Bit 3, 2):
These two bits reflect the value of CR8 bit 1, 0.
Tape Sel 1, Tape Sel 0 (Bit 1, 0):
These two bits assign a logical drive number to the tape drive. Drive 0 is not available as a tape drive and
is reserved as the floppy disk boot drive.
TAPE SEL 1 TAPE SEL 0 DRIVE SELECTED
0 0 None
0 1 1
1 0 2
1 1 3
3.2.5 Main Status Register (MS Register) (Read base address + 4)
The Main Status Register is used to control the flow of data between the microprocessor and the
controller. The bit definitions for this register are as follows:
6 0
7 5 4 3 2 1
FDD 0 Busy, (D0B = 1), FDD number 0 is in the SEEK mode.
FDD 1 Busy, (D1B = 1), FDD number 1 is in the SEEK mode.
FDD 2 Busy, (D2B = 1), FDD number 2 is in the SEEK mode.
FDD 3 Busy, (D3B = 1), FDD number 3 is in the SEEK mode.
FDC Busy, (CB). A read or write command is in the process when CB = HIGH.
Non-DMA mode, the FDC is in the non-DMA mode, this bit is set only during the
execution phase in non-DMA mode.
Transition to LOW state indicates execution phase has ended.
DATA INPUT/OUTPUT, (DIO). If DIO= HIGH then transfer is from Data Register to the processor.
If DIO = LOW then transfer is from processor to Data Register.
Request for Master (RQM). A high on this bit indicates Data Register is ready to send or receive data to or from the processor.
3.2.6 Data Rate Register (DR Register) (Write base address + 4)
The Data Rate Register is used to set the transfer rate and write precompensation. The data rate of the
FDC is programmed by the CC REGISTER for PC-AT and PS/2 Model 30 and PS/2 mode, and not by
the DR REGISTER. The real data rate is determined by the most recent write to either of the DR
REGISTER or CC REGISTER.
Publication Release Date: November 2000
- 42 - Revision 1.0
W83627HF/F
PRELIMINARY
7 6 5 4 3 1
2 0
0
DRATE0
DRATE1
PRECOMP0
PRECOMP1
PRECOMP2
POWER DOWN
S/W RESET
S/W RESET (Bit 7):
This bit is the software reset bit.
POWER-DOWN (Bit 6):
0 FDC in normal mode
1 FDC in power-down mode
PRECOMP2 PRECOMP1 PRECOMP0 (Bit 4, 3, 2):
These three bits select the value of write precompensation. The following tables show the
precompensation values for the combination of these bits.
PRECOMP PRECOMPENSATION DELAY
2 1 0 250K - 1 Mbps 2 Mbps Tape drive
0 0 0 Default Delays Default Delays
0 0 1 41.67 nS 20.8 nS
0 1 0 83.34 nS 41.17 nS
0 1 1 125.00 nS 62.5nS
1 0 0 166.67 nS 83.3 nS
1 0 1 208.33 nS 104.2 nS
1 1 0 250.00 nS 125.00 nS
1 1 1 0.00 nS (disabled) 0.00 nS (disabled)
DATA RATE DEFAULT PRECOMPENSATION DELAYS
250 KB/S 125 nS
300 KB/S 125 nS
500 KB/S 125 nS
1 MB/S 41.67nS
2 MB/S 20.8 nS
Publication Release Date: November 2000
- 43 - Revision 1.0
W83627HF/F
PRELIMINARY
DRATE1 DRATE0 (Bit 1, 0):
These two bits select the data rate of the FDC and reduced write current control.
00 500 KB/S (MFM), 250 KB/S (FM), RWC = 1
01 300 KB/S (MFM), 150 KB/S (FM), RWC = 0
10 250 KB/S (MFM), 125 KB/S (FM), RWC = 0
11 1 MB/S (MFM), Illegal (FM), RWC = 1
The 2 MB/S data rate for Tape drive is only supported by setting 01 to DRATE1 and DRATE0 bits, as
well as setting 10 to DRT1 and DRT0 bits which are two of the Configure Register CRF4 or CRF5 bits in
logic device 0. Please refer to the function description of CRF4 or CRF5 and data rate table for individual
data rates setting.
3.2.7 FIFO Register (R/W base address + 5)
The Data Register consists of four status registers in a stack with only one register presented to the
data bus at a time. This register stores data, commands, and parameters and provides diskette-drive
status information. Data bytes are passed through the data register to program or obtain results after a
command. In the W83627HF, this register defaults to FIFO disabled mode after reset. The FIFO can
change its value and enable its operation through the CONFIGURE command.
Status Register 0 (ST0)
7-6 5 3 2 1-0
4
US1, US0 Drive Select:
00 Drive A selected
01 Drive B selected
10 Drive C selected
11 Drive D selected
HD Head address:
1 Head selected
0 Head selected
NR Not Ready:
1 Drive is not ready
0 Drive is ready
EC Equipment Check:
1 When a fault signal is received from the FDD or the track
0 signal fails to occur after 77 step pulses
0 No error
SE Seek end:
1 seek end
0 seek error
IC Interrupt Code:
00 Normal termination of command
01 Abnormal termination of command
10 Invalid command issue
11 Abnormal termination because the ready signal from FDD changed state during command execution
Publication Release Date: November 2000
- 44 - Revision 1.0
W83627HF/F
PRELIMINARY
Status Register 1 (ST1)
7 6 5 4 3 2 1 0
Missing Address Mark. 1 When the FDC cannot detect the data address mark
or the data address mark has been deleted.
NW (Not Writable). 1 If a write Protect signal is detected from the diskette drive during
execution of write data.
ND (No DATA). 1 If specified sector cannot be found during execution of a read, write or verifly data.
Not used. This bit is always 0.
OR (Over Rum). 1 If the FDC is not serviced by the host system within a certain time interval during data transfer.
DE (data Error).1 When the FDC detects a CRC error in either the ID field or the data field.
Not used. This bit is always 0.
EN (End of track). 1 When the FDC tries to access a sector beyond the final sector of a cylinder.
Status Register 2 (ST2)
7 4 3 2 1 0
6 5
MD (Missing Address Mark in Data Field).
1 If the FDC cannot find a data address mark
(or the address mark has been deleted)
when reading data from the media
0 No error
BC (Bad Cylinder)
1 Bad Cylinder
0 No error
SN (Scan Not satisfied)
1 During execution of the Scan command
0 No error
SH (Scan Equal Hit)
1 During execution of the Scan command, if the equal condition is satisfied
0 No error
WC (Wrong Cylinder)
1 Indicates wrong Cylinder
DD (Data error in the Data field)
1 If the FDC detects a CRC error in the data field
0 No error
CM (Control Mark)
1 During execution of the read data or scan command
0 No error
Not used. This bit is always 0
Status Register 3 (ST3)
7 6 5 4 3 2 1 0
US0 Unit Select 0
US1 Unit Select 1
HD Head Address
TS Two-Side
TO Track 0
RY Ready
WP Write Protected
FT Fault
Publication Release Date: November 2000
- 45 - Revision 1.0
W83627HF/F
PRELIMINARY
3.2.8 Digital Input Register (DI Register) (Read base address + 7)
The Digital Input Register is an 8-bit read-only register used for diagnostic purposes. In a PC/XT or AT
only Bit 7 is checked by the BIOS. When the register is read, Bit 7 shows the complement of
DSKCHG#, while other bits of the data bus remain in tri-state. Bit definitions are as follows:
7 6 5
4 3 2 1 0
x x x x x x
x
Reserved for the hard disk controller
x
During a read of this register, these bits are in tri-state
DSKCHG
In the PS/2 mode, the bit definitions are as follows:
7 6 5 4 3 2
1 0
1 1 1 1
HIGH DENS
DRATE0
DRATE1
DSKCHG
DSKCHG (Bit 7):
This bit indicates the complement of the DSKCHG# input.
Bit 6-3: These bits are always a logic 1 during a read.
DRATE1 DRATE0 (Bit 2, 1):
These two bits select the data rate of the FDC. Refer to the DR register bits 1 and 0 for the settings
corresponding to the individual data rates.
HIGH DENS# (Bit 0):
0 500 KB/S or 1 MB/S data rate (high density FDD)
1 250 KB/S or 300 KB/S data rate
In the PS/2 Model 30 mode, the bit definitions are as follows:
7 6 5 4 3 2
0
1
0 0 0
DRATE0
DRATE1
NOPREC
DMAEN
DSKCHG
Publication Release Date: November 2000
- 46 - Revision 1.0
W83627HF/F
PRELIMINARY
DSKCHG (Bit 7):
This bit indicates the status of DSKCHG# input.
Bit 6-4: These bits are always a logic 1 during a read.
DMAEN (Bit 3):
This bit indicates the value of DO REGISTER bit 3.
NOPREC (Bit 2):
This bit indicates the value of CC REGISTER NOPREC bit.
DRATE1 DRATE0 (Bit 1, 0):
These two bits select the data rate of the FDC.
3.2.9 Configuration Control Register (CC Register) (Write base address + 7)
This register is used to control the data rate. In the PC/AT and PS/2 mode, the bit definitions are as
follows:
4 2
6 5 3 1 0
7
x x x x x x
DRATE0
DRATE1
X: Reserved
Bit 7-2: Reserved. These bits should be set to 0.
DRATE1 DRATE0 (Bit 1, 0):
These two bits select the data rate of the FDC.
In the PS/2 Model 30 mode, the bit definitions are as follows:
2
1
7 6 5 4 3
0
X X X X X
DRATE0
DRATE1
NOPREC
X: Reserved
Bit 7-3: Reserved. These bits should be set to 0.
NOPREC (Bit 2):
This bit indicates no precompensation. It has no function and can be set by software.
DRATE1 DRATE0 (Bit 1, 0):
These two bits select the data rate of the FDC.
Publication Release Date: November 2000
- 47 - Revision 1.0
W83627HF/F
PRELIMINARY
4. UART PORT
4.1 Universal Asynchronous Receiver/Transmitter (UART A, UART B)
The UARTs are used to convert parallel data into serial format on the transmit side and convert serial
data to parallel format on the receiver side. The serial format, in order of transmission and reception, is a
start bit, followed by five to eight data bits, a parity bit (if programmed) and one, one and half (five-bit
format only) or two stop bits. The UARTs are capable of handling divisors of 1 to 65535 and producing a
16x clock for driving the internal transmitter logic. Provisions are also included to use this 16x clock to
drive the receiver logic. The UARTs also support the MIDI data rate. Furthermore, the UARTs also
include complete modem control capability and a processor interrupt system that may be software
trailed to the computing time required to handle the communication link. The UARTs have a FIFO mode
to reduce the number of interrupts presented to the CPU. In each UART, there are 16-byte FIFOs for
both receive and transmit mode.
4.2 Register Address
4.2.1 UART Control Register (UCR) (Read/Write)
The UART Control Register controls and defines the protocol for asynchronous data communications,
including data length, stop bit, parity, and baud rate selection.
5 4 2
7 6 3 1 0
Data length select bit 0 (DLS0)
Data length select bit 1(DLS1)
Multiple stop bits enable (MSBE)
Parity bit enable (PBE)
Even parity enable (EPE)
Parity bit fixed enable (PBFE)
Set silence enable (SSE)
Baudrate divisor latch access bit (BDLAB)
Bit 7: BDLAB. When this bit is set to a logical 1, designers can access the divisor (in 16-bit binary
format) from the divisor latches of the baudrate generator during a read or write operation. When
this bit is reset, the Receiver Buffer Register, the Transmitter Buffer Register, or the Interrupt
Control Register can be accessed.
Bit 6: SSE. A logical 1 forces the Serial Output (SOUT) to a silent state (a logical 0). Only IRTX is
affected by this bit; the transmitter is not affected.
Bit 5: PBFE. When PBE and PBFE of UCR are both set to a logical 1,
(1) if EPE is logical 1, the parity bit is fixed as logical 0 to transmit and check.
(2) if EPE is logical 0, the parity bit is fixed as logical 1 to transmit and check.
Publication Release Date: November 2000
- 48 - Revision 1.0
W83627HF/F
PRELIMINARY
TABLE 4-1 UART Register Bit Map
Bit Number
Register Address Base 0 1 2 3 4 5 6 7
+ 0 Receiver RBR RX Data RX Data RX Data RX Data RX Data RX Data RX Data RX Data
Buffer
BDLAB = 0 Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7
Register
(Read Only)
+ 0 Transmitter TBR TX Data TX Data TX Data TX Data TX Data TX Data TX Data TX Data
Buffer Register
BDLAB = 0 Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7
(Write Only)
+ 1 Interrupt Control ICR RBR Data TBR USR HSR 0 0 0 0
Register Ready Empty Interrupt Interrupt
BDLAB = 0
Interrupt Interrupt Enable Enable
Enable Enable
(EUSRI) (EHSRI)
(ERDRI) (ETBREI)
+ 2 Interrupt Status ISR "0" if Interrupt Interrupt Interrupt 0 0 FIFOs FIFOs
Register Interrupt Status Status Status
Enabled Enabled
(Read Only) Pending
Bit (0) Bit (1) Bit (2)**
** **
+ 2 UART FIFO UFR FIFO RCVR XMIT DMA Reserved Reversed RX RX
Control Enable FIFO FIFO Mode Interrupt Interrupt
Register Reset Reset Select Active Level Active Level
(Write Only) (LSB) (MSB)
+ 3 UART Control UCR Data Data Multiple Parity Even Parity Set Baudrate
Register Length Length Stop Bits Bit Parity Bit Fixed Silence Divisor
Select Select Enable Enable Enable Enable Enable Latch
Bit 0 Bit 1 Access Bit
(MSBE) (PBE) (EPE) PBFE) (SSE)
(DLS0) (DLS1) (BDLAB)
+ 4 Handshake HCR Data Request Loopback IRQ Internal 0 0 0
Control Terminal to RI Enable Loopback
Register Ready Send Input Enable
(DTR) (RTS)
+ 5 UART Status USR RBR Data Overrun Parity Bit No Stop Silent TBR TSR RX FIFO
Register Ready Error Error Bit Byte Empty Empty Error
Error Detected Indication
(RDR) (OER) (PBER) (TBRE) (TSRE)
(NSER) (SBD) (RFEI) **
+ 6 Handshake HSR CTS DSR RI Falling DCD Clear Data Set Ring Data Carrier
Status Register Toggling Toggling Edge Toggling to Send Ready Indicator Detect
(DCD)
(TCTS) (TDSR) (FERI) (TDCD) (CTS) (DSR) (RI)
+ 7 User Defined UDR Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7
Register
+ 0 Baudrate BLL Bit 0 Bit 1 Bit 2 Bit 3 Bit 4 Bit 5 Bit 6 Bit 7
Divisor Latch
BDLAB = 1
Low
+ 1 Baudrate BHL Bit 8 Bit 9 Bit 10 Bit 11 Bit 12 Bit 13 Bit 14 Bit 15
Divisor Latch
BDLAB = 1
High
*: Bit 0 is the least significant bit. The least significant bit is the first bit serially transmitted or received.
**: These bits are always 0 in 16450 Mode.
Publication Release Date: November 2000
- 49 - Revision 1.0
W83627HF/F
PRELIMINARY
Bit 4: EPE. This bit describes the number of logic 1's in the data word bits and parity bit only when bit 3
is programmed. When this bit is set, an even number of logic 1's are sent or checked. When the
bit is reset, an odd number of logic 1's are sent or checked.
Bit 3: PBE. When this bit is set, the position between the last data bit and the stop bit of the SOUT will
be stuffed with the parity bit at the transmitter. For the receiver, the parity bit in the same position
as the transmitter will be detected.
Bit 2: MSBE. This bit defines the number of stop bits in each serial character that is transmitted or
received.
(1) If MSBE is set to a logical 0, one stop bit is sent and checked.
(2) If MSBE is set to a logical 1, and data length is 5 bits, one and a half stop bits are sent and
checked.
(3) If MSBE is set to a logical 1, and data length is 6, 7, or 8 bits, two stop bits are sent and
checked.
Bits 0 and 1: DLS0, DLS1. These two bits define the number of data bits that are sent or checked in
each serial character.
TABLE 4-2 WORD LENGTH DEFINITION
DLS1 DLS0 DATA LENGTH
0 0 5 bits
0 1 6 bits
1 0 7 bits
1 1 8 bits
4.2.2 UART Status Register (USR) (Read/Write)
This 8-bit register provides information about the status of the data transfer during communication.
2
7 6 5 4 3 1 0
RBR Data ready (RDR)
Overrun error (OER)
Parity bit error (PBER)
No stop bit error (NSER)
Silent byte detected (SBD)
Transmitter Buffer Register empty (TBRE)
Transmitter Shift Register empty (TSRE)
RX FIFO Error Indication (RFEI)
Publication Release Date: November 2000
- 50 - Revision 1.0
W83627HF/F
PRELIMINARY
Bit 7: RFEI. In 16450 mode, this bit is always set to a logic 0. In 16550 mode, this bit is set to a logic 1
when there is at least one parity bit error, no stop bit error or silent byte detected in the FIFO. In
16550 mode, this bit is cleared by reading from the USR if there are no remaining errors left in the
FIFO.
Bit 6: TSRE. In 16450 mode, when TBR and TSR are both empty, this bit will be set to a logical 1. In
16550 mode, if the transmit FIFO and TSR are both empty, it will be set to a logical 1. Other
thanthese two cases, this bit will be reset to a logical 0.
Bit 5: TBRE. In 16450 mode, when a data character is transferred from TBR to TSR, this bit will be set to
a logical 1. If ETREI of ICR is a logical 1, an interrupt will be generated to notify the CPU to write
the next data. In 16550 mode, this bit will be set to a logical 1 when the transmit FIFO is empty. It
will be reset to a logical 0 when the CPU writes data into TBR or FIFO.
Bit 4: SBD. This bit is set to a logical 1 to indicate that received data are kept in silent state for a full
word time, including start bit, data bits, parity bit, and stop bits. In 16550 mode, it indicates the
same condition for the data on top of the FIFO. When the CPU reads USR, it will clear this bit to a
logical 0.
Bit 3: NSER. This bit is set to a logical 1 to indicate that the received data have no stop bit. In 16550
mode, it indicates the same condition for the data on top of the FIFO. When the CPU reads USR,
it will clear this bit to a logical 0.
Bit 2: PBER. This bit is set to a logical 1 to indicate that the parity bit of received data is wrong. In 16550
mode, it indicates the same condition for the data on top of the FIFO. When the CPU reads USR,
it will clear this bit to a logical 0.
Bit 1: OER. This bit is set to a logical 1 to indicate received data have been overwritten by the next
received data before they were read by the CPU. In 16550 mode, it indicates the same condition
instead of FIFO full. When the CPU reads USR, it will clear this bit to a logical 0.
Bit 0: RDR. This bit is set to a logical 1 to indicate received data are ready to be read by the CPU in the
RBR or FIFO. After no data are left in the RBR or FIFO, the bit will be reset to a logical 0.
4.2.3 Handshake Control Register (HCR) (Read/Write)
This register controls the pins of the UART used for handshaking peripherals such as modem, and
controls the diagnostic mode of the UART.
2
7 6 5 4 3 1 0
0
0 0
Data terminal ready (DTR)
Request to send (RTS)
Loopback RI input
IRQ enable
Internal loopback enable
Publication Release Date: November 2000
- 51 - Revision 1.0
W83627HF/F
PRELIMINARY
Bit 4: When this bit is set to a logical 1, the UART enters diagnostic mode by an internal loopback, as
follows:
(1) SOUT is forced to logical 1, and SIN is isolated from the communication link instead of the
TSR.
(2) Modem output pins are set to their inactive state.
(3) Modem input pins are isolated from the communication link and connect internally as DTR
(bit 0 of HCR) ® DSR, RTS ( bit 1 of HCR) ® CTS, Loopback RI input ( bit 2 of HCR) ®
RI and IRQ enable ( bit 3 of HCR) ® DCD .
Aside from the above connections, the UART operates normally. This method allows the CPU
to test the UART in a convenient way.
Bit 3: The UART interrupt output is enabled by setting this bit to a logic 1. In the diagnostic mode this bit
is internally connected to the modem control input DCD .
Bit 2: This bit is used only in the diagnostic mode. In the diagnostic mode this bit is internally
connected to the modem control input RI .
Bit 1: This bit controls the RTS output. The value of this bit is inverted and output to RTS .
Bit 0: This bit controls the DTR output. The value of this bit is inverted and output to DTR .
4.2.4 Handshake Status Register (HSR) (Read/Write)
This register reflects the current state of four input pins for handshake peripherals such as a modem and
records changes on these pins.
7 6 5 4 3 2 1 0
toggling (TCTS)
CTS
toggling (TDSR)
DSR
RI falling edge (FERI)
toggling (TDCD)
DCD
Clear to send (CTS)
Data set ready (DSR)
Ring indicator (RI)
Data carrier detect (DCD)
Bit 7: This bit is the opposite of the DCD input. This bit is equivalent to bit 3 of HCR in loopback mode.
Bit 6: This bit is the opposite of the RI input. This bit is equivalent to bit 2 of HCR in loopback mode.
Bit 5: This bit is the opposite of the DSR input. This bit is equivalent to bit 0 of HCR in loopback mode.
Bit 4: This bit is the opposite of the CTS input. This bit is equivalent to bit 1 of HCR in loopback mode.
Bit 3: TDCD. This bit indicates that the DCD pin has changed state after HSR was read by the
CPU.
Publication Release Date: November 2000
- 52 - Revision 1.0
W83627HF/F
PRELIMINARY
Bit 2: FERI. This bit indicates that the RI pin has changed from low to high state after HSR was read
by the CPU.
Bit 1: TDSR. This bit indicates that the DSR pin has changed state after HSR was read by the CPU.
Bit 0: TCTS. This bit indicates that the CTS pin has changed state after HSR was read.
4.2.5 UART FIFO Control Register (UFR) (Write only)
This register is used to control the FIFO functions of the UART.
7 6 5 4 3 2 1 0
FIFO enable
Receiver FIFO reset
Transmitter FIFO reset
DMA mode select
Reserved
Reserved
RX interrupt active level (LSB)
RX interrupt active level (MSB)
Bit 6, 7: These two bits are used to set the active level for the receiver FIFO interrupt. For example, if the
interrupt active level is set as 4 bytes, once there are more than 4 data characters in the receiver
FIFO, the interrupt will be activated to notify the CPU to read the data from the FIFO.
TABLE 4-3 FIFO TRIGGER LEVEL
BIT 7 BIT 6 RX FIFO INTERRUPT ACTIVE LEVEL (BYTES)
0 0 01
0 1 04
1 0 08
1 1 14
Bit 4, 5: Reserved
Bit 3: When this bit is programmed to logic 1, the DMA mode will change from mode 0 to mode 1 if
UFR bit 0 = 1.
Bit 2: Setting this bit to a logical 1 resets the TX FIFO counter logic to initial state. This bit will clear to a
logical 0 by itself after being set to a logical 1.
Bit 1: Setting this bit to a logical 1 resets the RX FIFO counter logic to initial state. This bit will clear to a
logical 0 by itself after being set to a logical 1.
Bit 0: This bit enables the 16550 (FIFO) mode of the UART. This bit should be set to a logical 1 before
other bits of UFR are programmed.
Publication Release Date: November 2000
- 53 - Revision 1.0
W83627HF/F
PRELIMINARY
4.2.6 Interrupt Status Register (ISR) (Read only)
This register reflects the UART interrupt status, which is encoded by different interrupt sources into 3
bits.
7 6 5 4 3 2 1
0
0 0
0 if interrupt pending
Interrupt Status bit 0
Interrupt Status bit 1
Interrupt Status bit 2
FIFOs enabled
FIFOs enabled
Bit 7, 6: These two bits are set to a logical 1 when UFR bit 0 = 1.
Bit 5, 4: These two bits are always logic 0.
Bit 3: In 16450 mode, this bit is 0. In 16550 mode, both bit 3 and 2 are set to a logical 1 when a time-out
interrupt is pending.
Bit 2, 1: These two bits identify the priority level of the pending interrupt, as shown in the table below.
Bit 0: This bit is a logical 1 if there is no interrupt pending. If one of the interrupt sources has occurred,
this bit will be set to a logical 0.
TABLE 4-4 INTERRUPT CONTROL FUNCTION
ISR INTERRUPT SET AND FUNCTION
Bit Bit Bit Bit Interrupt Interrupt Type Interrupt Source Clear Interrupt
3 2 1 0 priority
0 0 0 1 - - No Interrupt pending -
0 1 1 0 First UART Receive 1. OER = 1 2. PBER =1 Read USR
Status
3. NSER = 1 4. SBD = 1
0 1 0 0 Second RBR Data Ready 1. RBR data ready 1. Read RBR
2. FIFO interrupt active level 2. Read RBR until FIFO
reached data under active level
1 1 0 0 Second FIFO Data Timeout Data present in RX FIFO for 4 Read RBR
characters period of time since
last access of RX FIFO.
0 0 1 0 Third TBR Empty TBR empty 1. Write data into TBR
2. Read ISR (if priority is
third)
0 0 0 0 Fourth Handshake status 1. TCTS = 1 2. TDSR = 1 Read HSR
3. FERI = 1 4. TDCD = 1
** Bit 3 of ISR is enabled when bit 0 of UFR is logical 1.
Publication Release Date: November 2000
- 54 - Revision 1.0
W83627HF/F
PRELIMINARY
4.2.7 Interrupt Control Register (ICR) (Read/Write)
This 8 -bit register allows the five types of controller interrupts to activate the interrupt output signal
separately. The interrupt system can be totally disabled by resetting bits 0 through 3 of the Interrupt
Control Register (ICR). A selected interrupt can be enabled by setting the appropriate bits of this
register to a logical 1.
6 5 3 0
7 4 2 1
0 0 0 0
RBR data ready interrupt enable (ERDRI)
TBR empty interrupt enable (ETBREI)
UART receive status interrupt enable (EUSRI)
Handshake status interrupt enable (EHSRI)
Bit 7-4: These four bits are always logic 0.
Bit 3: EHSRI. Setting this bit to a logical 1 enables the handshake status register interrupt.
Bit 2: EUSRI. Setting this bit to a logical 1 enables the UART status register interrupt.
Bit 1: ETBREI. Setting this bit to a logical 1 enables the TBR empty interrupt.
Bit 0: ERDRI. Setting this bit to a logical 1 enables the RBR data ready interrupt.
4.2.8 Programmable Baud Generator (BLL/BHL) (Read/Write)
Two 8-bit registers, BLL and BHL, compose a programmable baud generator that uses 24 MHz to
16
generate a 1.8461 MHz frequency and divides it by a divisor from 1 to 2 -1. The output frequency of the
baud generator is the baud rate multiplied by 16, and this is the base frequency for the transmitter and
receiver. The table in the next page illustrates the use of the baud generator with a frequency of 1.8461
MHz. In high-speed UART mode (refer to CR0C bit7 and CR0C bit6), the programmable baud generator
directly uses 24 MHz and the same divisor as the normal speed divisor. In high-speed mode, the data
transmission rate can be as high as 1.5M bps.
Publication Release Date: November 2000
- 55 - Revision 1.0
W83627HF/F
PRELIMINARY
4.2.9 User-defined Register (UDR) (Read/Write)
This is a temporary register that can be accessed and defined by the user.
TABLE 4-5 BAUD RATE TABLE
BAUD RATE FROM DIFFERENT PRE-DIVIDER
Pre-Div: 13 Pre-Div:1.625 Pre-Div: 1.0 Decimal divisor used Error Percentage between
to generate 16X clock desired and actual
1.8461M Hz 14.769M Hz 24M Hz
50 400 650 2304 **
75 600 975 1536 **
110 880 1430 1047 0.18%
134.5 1076 1478.5 857 0.099%
150 1200 1950 768 **
300 2400 3900 384 **
600 4800 7800 192 **
1200 9600 15600 96 **
1800 14400 23400 64 **
2000 16000 26000 58 0.53%
2400 19200 31200 48 **
3600 28800 46800 32 **
4800 38400 62400 24 **
7200 57600 93600 16 **
9600 76800 124800 12 **
19200 153600 249600 6 **
38400 307200 499200 3 **
57600 460800 748800 2 **
115200 921600 1497600 1 **
** The percentage error for all baud rates, except where indicated otherwise, is 0.16%.
Note. Pre-Divisor is determined by CRF0 of UART A and B.
Publication Release Date: November 2000
- 56 - Revision 1.0
W83627HF/F
PRELIMINARY
5. CIR RECEIVER PORT
5.1 CIR Registers
5.1.1 Bank0.Reg0 - Receiver Buffer Registers (RBR) (Read)
Receiver Buffer Register is read only. When the CIR pulse train has been detected and passed by the
internal signal filter, the data samped and shifted into shifter register will write into Receiver Buffer
Register. In the CIR, this port is only supports PIO mode and the address port is defined in the PnP.
5.1.2 Bank0.Reg1 - Interrupt Control Register (ICR)
Power on default <7:0> = 00000000 binary
Bit Name Read/Write Description
7 EN_GLBI Read/Write Enable Global Interrupt. Write 1, enable interrupt. Write 0,
disable global interrupt.
6-3 Reserved - Reserved
2 EN_TMR_I Read/Write Enable Timer Interrupt.
1 En_LSR_I Read/Write Enable Line-Status-Register interrupt.
0 EN_RX_I Read/Write Receiver Thershold-Level Interrupt Enable.
5.1.3 Bank0.Reg2 - Interrupt Status Register (ISR)
Power on default <7:0> = 00000000 binary
Bit Name Read/Write Description
7-3 Reserved Reserved
2 TMR_I Read Only Timer Interrupt. Set to 1 when timer count to 0. This bit will
be affected by (1) the timer registers are defined in
Bank4.Reg0 and Bank1.Reg0~1, (2) EN_TMR(Enable
Timer, in Bank0.Reg3.Bit2) should be set to 1, (3)
ENTMR_I (Enable Timer Interrupt, in Bank0.Reg1.Bit2)
should be set to 1.
1 LSR_I Read Only Line-Status-Register interrupt. Set to 1 when overrun, or
parity bit, or stop bit, or silent byte detected error in the
Line Status Register (LSR) sets to 1. Clear to 0 when LSR
is read.
0 RXTH_I Read Only Receiver Thershold-Level Interrupt. Set to 1 when (1) the
Receiver Buffer Register (RBR) is equal or larger than the
threshold level, (2) RBR occurs time-out if the receiver
buffer register has valid data and below the threshold level.
Clear to 0 when RBR is less than threshold level from
reading RBR.
Publication Release Date: November 2000
- 57 - Revision 1.0
W83627HF/F
PRELIMINARY
5.1.4 Bank0~3.Reg3 - CIR Control Register 0/Bank Select Register (CTR0/BSR) (BANK0~3)
Power on default <7:0> = 00000000 binary
Bit Name Read/Write Description
7-6 BNK_SEL<1:0> Read/Write Bank Select Register. These two bits are shared same
address so that Bank Select Register (BSR) can be
programmed to desired Bank in any Bank.
BNK_SEL<1:0> = 00 Select Bank 0.
BNK_SEL<1:0> = 01 Select Bank 1.
BNK_SEL<1:0> = Reserved.
BNK_SEL<1:0> = Reserved.
5-4 RXFTL1/0 Read/Write Receiver FIFO Threshold Level. It is to determine the
RXTH_I to become 1 when the Receiver FIFO Threshold
Level is equal or larger than the defined value shown as
follow.
RXFTL<1:0> = 00 -- 1 byte
RXFTL<1:0> = 01 -- 4 bytes
RXFTL<1:0> = 10 -- 8 bytes
RXFTL<1:0> = 11 -- 14 bytes
3 TMR_TST Read/Write Timer Test. Write to 1, then reading the TMRL/TMRH will
return the programmed values of TMRL/TMRH, that is,
does not return down count counter value. This bit is for
test timer register.
2 EN_TMR Read/Write Enable timer. Write to 1, enable the timer
1 RXF_RST Read/Write Setting this bit to a logical 1 resets the RX FIFO counter
logic to initial state. This bit will clear to a logical 0 by itself
after being set to a logical 1.
0 TMR_CLK Read/Write Timer input clock.
Winbond test register
Publication Release Date: November 2000
- 58 - Revision 1.0
W83627HF/F
PRELIMINARY
5.1.5 Bank0.Reg4 - CIR Control Register (CTR)
Power on default <7:0> = 0010,1001 binary
Bit Name Read/Write Description
7-5 RX_FR<2:0> Read/Write Receiver Frequency Range 2~0. These bits select the input
frequency of the receiver ranges. For the input signal, that
is through a band pass filter, i.e., the frequency of the input
signal is located at this defined range then the signal will
be received.
4-0 RX_FSL<4:0> Read/Write Receiver Frequency Select 4~0. Select the receiver
operation frequency.
Table: Low Frequency range select of receiver.
RX_FR2~0 (Low Frequency)
001 010 011
RX_FSL4~0 Min. Max. Min. Max. Min. Max.
00010 26.1 29.6 24.7 31.7 23.4 34.2
00011 28.2 32.0 26.7 34.3 25.3 36.9
00100 29.4 33.3 27.8 35.7 26.3 38.4
00101 30.0 34.0 28.4 36.5 26.9 39.3
00110 31.4 35.6 29.6 38.1 28.1 41.0
00111 32.1 36.4 30.3 39.0 28.7 42.0
01000 32.8 37.2 31.0 39.8 29.4 42.9
01001 33.6* 38.1* 31.7 40.8 30.1 44.0
01011 34.4 39.0 32.5 41.8 30.8 45.0
01100 36.2 41.0 34.2 44.0 32.4 47.3
01101 37.2 42.1 35.1 45.1 33.2 48.6
01111 38.2 43.2 36.0 46.3 34.1 49.9
10000 40.3 45.7 38.1 49.0 36.1 52.7
10010 41.5 47.1 39.2 50.4 37.2 54.3
10011 42.8 48.5 40.4 51.9 38.3 56.0
10101 44.1 50.0 41.7 53.6 39.5 57.7
10111 45.5 51.6 43.0 55.3 40.7 59.6
11010 48.7 55.2 46.0 59.1 43.6 63.7
11011 50.4 57.1 47.6 61.2 45.1 65.9
11101 54.3 61.5 51.3 65.9 48.6 71.0
Note that the other non-defined values are reserved.
Publication Release Date: November 2000
- 59 - Revision 1.0
W83627HF/F
PRELIMINARY
5.1.6 Bank0.Reg5 - UART Line Status Register (USR)
Power on default <7:0> = 0000,0000 binary
Bit Name Read/Write Description
7-3 Reserved - -
2 RX_TO Read/Write Set to 1 when receiver FIFO or frame status FIFO occurs
time-out. Read this bit will be cleared.
1 OV_ERR Read/Write Received FIFO overrun. Read to clear.
0 RDR Read/Write This bit is set to a logical 1 to indicate received data are
ready to be read by the CPU in the RBR or FIFO. After no
data are left in the RBR or FIFO, the bit will be reset to a
logical 0.
Publication Release Date: November 2000
- 60 - Revision 1.0
W83627HF/F
PRELIMINARY
5.1.7 Bank0.Reg6 - Remote Infrared Config Register (RIR_CFG)
Power on default <7:0> = 0000,0000 binary
Bit Name Read/Write Description
Sampling Mode Select. Select internal decoder
7-6 SMPSEL<1:0> Read/Write
methodology from the internal filter. Selected decoder
mode will determine the receive data format. The sampling
mode is shown as bellow:
SMPSEL<1:0> = 00 T-Period Sample Mode.
SMPSEL<1:0> = 01 Over-Sampling Mode.
SMPSEL<1:0> = 10 Over-Sampling with re-sync.
SMPSEL<1:0> = 11 FIFO Test Mode.
The T-period code format is defined as follows.
(Number of bits) - 1
B7 B6 B5 B4 B3 B2 B1 B0
Bit value
The Bit value is set to 0, then the high pulse will be
received. The Bit value is set to 1, then no energy will be
received. The opposite results will be generated when the
bit RXINV (Bank0.Reg6.Bit0) is set to 1.
Low pass filter source selcetion.
5-4 LP_SL<1:0> Read/Write
LP_SL<1:0> = 00 Select raw IRRX signal.
LP_SL<1:0> = 01 Select R.B.P. signal
LP_SL<1:0> = 10 Select D.B.P. signal.
LP_SL<1:0> = 11 Reserved.
Receiver Demodulation Source Selection.
3-2 RXDMSL<1:0> Read/Write
RXDMSL<1:0> = 00 select B.P. and L.P. filter.
RXDMSL<1:0> = 01 select B.P. but not L.P.
RXDMSL<1:0> = 10 Reserved.
RXDMSL<1:0> = 11 do not pass demodulation.
Baud Rate Pre-divisor. Set to 1, the baud rate generator
1 PRE_DIV Read/Write
input clock is set to 1.8432M Hz which is set to pre-divisor
into 13. When set to 0, the pre-divisor is set to 1, that is,
the input clock of baud rate generator is set to 24M Hz.
Receiving Signal Invert. Write to 1, Invert the receiving
0 RXINV Read/Write
signal.
Publication Release Date: November 2000
- 61 - Revision 1.0
W83627HF/F
PRELIMINARY
5.1.8 Bank0.Reg7 - User Defined Register (UDR/AUDR)
Power on default <7:0> = 0000,0000 binary
Bit Name Read/Write Description
7 RXACT Read/Write Receive Active. Set to 1 whenever a pulse or pulse-train is
detected by the receiver. If a 1 is written into the bit
position, the bit is cleared and the receiver is de-actived.
When this bit is set, the receiver samples the IR input
continuously at the programmed baud rate and transfers
the data to the receiver FIFO.
6 RX_PD Read Only Set to 1 whenever a pulse or pulse-train (modulated pulse)
is detected by the receiver. Can be used by the sofware to
detect idle condition Cleared Upon Read.
5 Reserved - -
4-0 FOLVAL Read Only FIFO Level Value. Indicate that how many bytes are there
in the current received FIFO. Can read these bits then get
the FIFO level value and successively read RBR by the
prior value.
Publication Release Date: November 2000
- 62 - Revision 1.0
W83627HF/F
PRELIMINARY
5.1.9 Bank1.Reg0~1 - Baud Rate Divisor Latch (BLL/BHL)
The two registers of BLL and BHL are baud rate divisor latch in the legacy UART/SIR/ASK-IR mode.
Read/Write these registers, if set in Advanced UART mode, will occur backward operation, that is, will
go to legacy UART mode and clear some register values shown table as follows.
TABLE :BAUD RATE TABLE
BAUD RATE USING 24 MHZ TO GENERATE 1.8461 MHZ
Desired Baud Rate Decimal divisor used to Percent error difference between
generate 16X clock desired and actual
50 2304 **
75 1536 **
110 1047 0.18%
134.5 857 0.099%
150 768 **
300 384 **
600 192 **
1200 96 **
1800 64 **
2000 58 0.53%
2400 48 **
3600 32 **
4800 24 **
7200 16 **
9600 12 **
19200 6 **
38400 3 **
57600 2 **
115200 1 **
Note 1
1.5M 0%
1
Note 1: Only use in high speed mode, when Bank0.Reg6.Bit7 is set.
** The percentage error for all baud rates, except where indicated otherwise, is 0.16%
Publication Release Date: November 2000
- 63 - Revision 1.0
W83627HF/F
PRELIMINARY
5.1.10 Bank1.Reg2 - Version ID Regiister I (VID)
Power on default <7:0> = 0001,0000 binary
Bit Name Read/Write Description
7-0 VID Read Only Version ID, default is set to 0x10.
5.1.11 Bank0~3.Reg3 - CIR Control Register 0/Bank Select Register (CTR0/BSR) (BANK0~3)
This register is defined same as in Bank0.Reg3.
5.1.12 Bank1.Reg4 - Timer Low Byte Register (TMRL)
Power on default <7:0> = 0000,0000 binary
Bit Name Read/Write Description
7-0 TMRL Read/Write Timer Low Byte Register. This is a 12-bit timer (another 4-
bit is defined in Bank1.Reg5) which resolution is 1 ms, that
12
is, the programmed maximum time is 2 -1 ms. The timer
is a down-counter. The timer start down count when the bit
EN_TMR (Enable Timer) of Bank0.Reg2. is set to 1. When
the timer down count to zero and EN_TMR=1, the TMR_I is
set to 1. When the counter down count to zero, a new
initial value will be re-loaded into timer counter.
5.1.13 Bank1.Reg5 - Timer High Byte Register (TMRH)
Power on default <7:0> = 0000,0000 binary
Bit Name Read/Write Description
7-4 Reserved Reserved.
3-0 TMRH Read/Write Timer High Byte Register. See Bank1.Reg4.
Publication Release Date: November 2000
- 64 - Revision 1.0
W83627HF/F
PRELIMINARY
6. PARALLEL PORT
6.1 Printer Interface Logic
The parallel port of the W83627HF makes possible the attachment of various devices that accept eight
bits of parallel data at standard TTL level. The W83627HF supports an IBM XT/AT compatible parallel
port (SPP), bi-directional parallel port (BPP), Enhanced Parallel Port (EPP), Extended Capabilities
Parallel Port (ECP), Extension FDD mode (EXTFDD), Extension 2FDD mode (EXT2FDD) on the parallel
port. Refer to the configuration registers for more information on disabling, power-down, and on selecting
the mode of operation.
Table 6-1 shows the pin definitions for different modes of the parallel port.
TABLE 6-1-1 PARALLEL PORT CONNECTOR AND PIN DEFINITIONS
HOST PIN NUMBER PIN SPP EPP ECP
CONNECTOR OF W83627HF ATTRIBUTE
2
1 36 O nSTB nWrite
nSTB, HostClk
2-9 31-26, 24-23 I/O PD<0:7> PD<0:7> PD<0:7>
2
10 22 I nACK Intr
nACK, PeriphClk
2
11 21 I BUSY nWait
BUSY, PeriphAck
2
12 19 I PE PE
PEerror, nAckReverse
2
13 18 I SLCT Select
SLCT, Xflag
2
14 35 O nAFD nDStrb
nAFD, HostAck
1 2
15 34 I nERR nError
nFault , nPeriphRequest
1 2
16 33 O nINIT nInit
nINIT , nReverseRqst
1 2
17 32 O nSLIN nAStrb
nSLIN , ECPMode
Notes:
n
Frequently asked questions
What makes Elite.Parts unique?
What kind of warranty will the W83627HF-AW have?
Which carriers does Elite.Parts work with?
Will Elite.Parts sell to me even though I live outside the USA?
I have a preferred payment method. Will Elite.Parts accept it?
Why buy from GID?
Quality
We are industry veterans who take pride in our work
Protection
Avoid the dangers of risky trading in the gray market
Access
Our network of suppliers is ready and at your disposal
Savings
Maintain legacy systems to prevent costly downtime
Speed
Time is of the essence, and we are respectful of yours
Related Products
Winbond W29C011A-15 Memory Module - 1-megabit, 5-volt only CMOS flash memory with a standard 5V powe...
Manufacturers







What they say about us
FANTASTIC RESOURCE
One of our top priorities is maintaining our business with precision, and we are constantly looking for affiliates that can help us achieve our goal. With the aid of GID Industrial, our obsolete product management has never been more efficient. They have been a great resource to our company, and have quickly become a go-to supplier on our list!
Bucher Emhart Glass
EXCELLENT SERVICE
With our strict fundamentals and high expectations, we were surprised when we came across GID Industrial and their competitive pricing. When we approached them with our issue, they were incredibly confident in being able to provide us with a seamless solution at the best price for us. GID Industrial quickly understood our needs and provided us with excellent service, as well as fully tested product to ensure what we received would be the right fit for our company.
Fuji
HARD TO FIND A BETTER PROVIDER
Our company provides services to aid in the manufacture of technological products, such as semiconductors and flat panel displays, and often searching for distributors of obsolete product we require can waste time and money. Finding GID Industrial proved to be a great asset to our company, with cost effective solutions and superior knowledge on all of their materials, it’d be hard to find a better provider of obsolete or hard to find products.
Applied Materials
CONSISTENTLY DELIVERS QUALITY SOLUTIONS
Over the years, the equipment used in our company becomes discontinued, but they’re still of great use to us and our customers. Once these products are no longer available through the manufacturer, finding a reliable, quick supplier is a necessity, and luckily for us, GID Industrial has provided the most trustworthy, quality solutions to our obsolete component needs.
Nidec Vamco
TERRIFIC RESOURCE
This company has been a terrific help to us (I work for Trican Well Service) in sourcing the Micron Ram Memory we needed for our Siemens computers. Great service! And great pricing! I know when the product is shipping and when it will arrive, all the way through the ordering process.
Trican Well Service
GO TO SOURCE
When I can't find an obsolete part, I first call GID and they'll come up with my parts every time. Great customer service and follow up as well. Scott emails me from time to time to touch base and see if we're having trouble finding something.....which is often with our 25 yr old equipment.
ConAgra Foods