Chapter 6. user circuitry, Switches, Leds – Renesas Single-Chip Microcomputer H8/36079 User Manual

Page 11: Potentiometer, Serial port

Advertising
background image

Chapter 6. User Circuitry

6.1. Switches

There are four switches located on the CPU board. The function of each switch and its connection are shown in Table 6-1.

Switch

Function

Microcontroller

RES

When pressed, the RSK microcontroller is reset.

RESn, Pin7

SW1/BOOT*

Connects to an IRQ input for user controls.

The switch is also used in conjunction with the RES switch to place the device in

BOOT mode when not using the E8A debugger.

WKP5/ADTRG,

Pin 22

(Port 5 pin 5)

SW2*

Connects to an IRQ line for user controls.

IRQ2n, Pin 53

(Port 1, pin 6)

SW3*

Connects to the ADC trigger input. Option link allows connection to IRQ line.

The option is a pair of 0R links. For more details on option links, please refer to

Sec 6.6.

IRQ0n, Pin 51

(Port 1, pin 4)

Table 6-1: Switch Functions

*Refer to schematic for detailed connectivity information.

6.2. LEDs

There are six LEDs on the RSK board. The green ‘POWER’ LED lights when the board is powered. The orange BOOT LED indicates the

device is in BOOT mode when lit. The four user LEDs are connected to an IO port and will light when their corresponding port pin is set low.

Table 6-2, below, shows the LED pin references and their corresponding microcontroller port pin connections.

LED Reference (As

shown on silkscreen)

Colour

Microcontroller Port Pin

function

Microcontroller

Pin Number

LED0

Green

Port

5.4 21

LED1 Orange

Port

1.0 23

LED2 Red

Port

2.3 47

LED3 Red

Port

1.7 54

Table 6-2: LED Port

6.3. Potentiometer

A single turn potentiometer is connected to AN4 (PB.4) of the microcontroller. This may be used to vary the input analogue voltage value to

this pin between AVCC and Ground.

6.4. Serial port

Serial port SCI3 is connected to the standard RS232 header. Serial port SCI3_2 can optionally be connected to the RS232. The

connections to be fitted are listed in the table 6-3.

7

Advertising