IBM H8 user manual Jumpers and switches, JP4, D/A CON

Page 7

HTEB1

User manual

1.5 Jumpers and switches

JP1 is used for switching the serial interface from 1:1 to crossed connection. If you connect a 1:1 cable (like the cable that comes with the kit) use the default setting. If you connect a crossed cable set the jumper to alternate setting.

JP3 is used for the LCD-LED backlight. If the jumper is closed (1-2) the backlight will be ON. Remove the jumper (=open) if backlight operation is not necessary.

JP2 is used for I2C interface

JP4 is used as an output for the DAC or for PWM

JP1

Operation

1-3, 2-4

1:1 operation

1-2, 3-4

Crossed connection

 

 

JP3

Operation

Closed

LED backlight ON

Open

LED backlight OFF

 

 

JP2, I2C-CON

Operation

1

+5V

2

SDA

3

SCL

4

GND

 

 

JP4, D/A CON

Operation

1

D/A Output (PWM)

2

GND

Issue 0.2

Page 7

07/2002

Image 7
Contents Hitachi H8/Tiny 3664F Preface Table of Contents Hardware description System Development Kit contentFeatures Board overview Board overviewJP4, D/A CON Jumpers and switchesOrientation Operation X1 SubD9, Pin Operation Remark ConnectorsX3 LCD-CON SV1 SV2 SV3 SV4 PIN Start-Up instructions Installing the HTEB1Test program Software Installation Development Environment Creating a program using IAR-EWH8HTEB1 HTEB1 HTEB1 HTEB1 HTEB1 HTEB1 HTEB1 Download the code using FDT HTEB1 HTEB1 HTEB1 HTEB1 HTEB1 HTEB1 HTEB1 Workflow Examples LEDSPEEDINIT4 Key’s and LED’sPMR1 &= ~KEYALL RunningLightInit Init keys and LEDs TimerAInit LCD Clearlcdrs Setlcdrw Lcddatactrl = Lcdin Setlcden HTEB1 Isscitxfree SCIInit sci with 9600Baud, 8N1 A/D + PWM Lcddatactrl = Lcdin Setlcden Calculate av of last 15 values AT-Keyboard-Interface Setlcdrw Lcddatactrl = Lcdin Setlcden Mask = Msg buffer Tables Scan-Codes MFII-Keyboard Numeric Keypad Main Scan-Code Keypad Function Scan-Code Demo DatasheetsPrograms ExamplesAppendix B Schematic Appendix C Board layout HTEB1 HTEB1 HTEB1