Module control register (mcr), C bus control register (i2c), 4 for d – Kane Industries C6713CPU User Manual

Page 26: C6713cpu

Advertising
background image

H

ARDWARE

R

EFERENCE

G

UIDE

MICRO

-

LINE

®

C6713CPU

Date : 28 November 2005
Doc. no. : C6713CPU_HRG
Iss./Rev : 1.1
Page : 26

7 6 5 4

3

0

RED_LED GREEN_LED

RESERVED

r, w, 00

r, w, 11

RED_LED:
RED_LED

Encoding

00

2

off

01

2

on

others reserved

GREEN_LED:
RED_LED

Encoding

00

2

off

01

2

on

10

2

on when CE1 active, that is when Flash, PLD or FPG registers are accessed

11

2

on when Flash is accessed

3.10.4 Module Control Register (MCR)

7 6 5 4

3

0

SW_RESET RESERVED

CTS_RESET_EN RS232_DRV_EN

RESERVED

w, 0

r, 0

r, w, 0

r, w, 1


SW_RESET:
SW_RESET provides the possibility to reset the board (and connected peripherals) by application
software. This bit is always read as a 0. Setting this bit to 1 triggers the on-board reset generator. A
hardware reset pulse is generated which resets all components of the C6713CPU. The reset pulse
is also asserted on the micro-line

®

signals RESETOUT and /RESETOUT. SW_RESET can be

used to restart the system after a fatal error condition, after a flash memory software update etc.
The SW_RESET bit is automatically cleared to 0.

CTS_RESET_EN:
Setting this bit to 1 enables the board reset function of the CTS line of the RS232 interface. When
the board reset function is enabled, an external device may reset the C6713CPU over the CTS line
of the RS232 interface. CTS is considered active when CTS line of the micro-line

®

connectors is at

a voltage of +3 to +10 V. Setting CTS_RESET_EN to 0 enables normal usage of the CTS signal as
a RS232 handshake signal. The CTS-reset feature is used by the Flash File System commands to
interrupt normal operation and to connect to the C6713CPU.

Note

: When CTS_RESET_EN is set to 1 and the C6713CPU board is connected to a terminal, the

terminal may cause periodic resets. In this case, either disconnect the terminal or disable the CTS
reset function for normal operation.

RS232_DRV_EN
This bit controls the RS232 driver. If this bit is set to 1, the RS232 line driver is enabled.

3.10.5 I

2

C Bus Control Register (I2C)

The on-board temperature sensor is connected to the system by a local I

2

C bus interface which is

implemented in the PLD (none of the DSP I

2

C interfaces is used). The I

2

C bus control register

controls the local I

2

C bus. The I

2

C bus consists of a clock line (SCL) and a data line (SDA) which

are pulled to a high level by resistors and which can be pulled low by any I

2

C bus members.

Details on how to program the I

2

C bus and how to use the temperature sensor are in. However,

application software usually does not access this register directly, but uses the appropriate board
library functions [20]. A software driver for the temperature sensor is included in the development
kits.

Advertising