MORE Registers

Andrew Wakeling kojab at ar.com.au
Fri Dec 10 23:12:00 GMT 1999


Hiya all again,
I had a quick search about the 400x registers and I found this in the
archives:

START ARCHIVE:
> The control registers of the P4-chipset which are mapped to $400x in all P4s
> I've seen...From some work I'm doing on several PROMs concurrently, I see
> that $4009 is the serial receive register, $400A is the serial transmit
> register and $4007 is the SCCR2 (HC11 $102D) equivalent. $4008 appears to be
> the "SCI" status register.
>
> $4008 appears pretty close to bit-for-bit compatible with the standard HC11
> $102E SCSR register except bit 0. Anyone know what this bit is doing?

Here's what I've figured out from reading the code:

r/w  $4000  SPI data register
r/w  $4001  I/O control register, including SPI control
r/w  $4002  I/O port (probably all outputs)
r/w  $4003  DDR, probably for $4004
r/w  $4004  I/O port
ro   $4005  Free running up counter, probably at 32768 Hz
r/w  $4006  Interrupt time, IRQ when $4006 == $4005  ( maybe <= )
r/w  $4007  SCI control register
ro   $4008  Interrupt source flags
ro   $4009  SCI RxD register
wo   $400A  SCI TxD register
wo   $400B  COP watchdog ($FF)
wo   $400C  COP watchdog ($00)
FINISH ARCIVE.

I was wondering if anybody did anymore development on this topic?

thanx,
Andrew Wakeling



More information about the Gmecm mailing list