Port-hpcsh archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

HITACHI PERSONA memo



Hi! all PERSONA user.


I hacked PERSONA HPW-50PA.  I wrote the driver of the touch-panel and
the contrast.  And LED, Rec-button.
Touch-panel and contrast driver are coming soon. ;-)

The memo that I investigated.


boot time registors (after ataching it adc)
--------------------------------------------
SH7709_PACR: 0x0000
    PADR: 0x00
SH7709_PBCR: 0x0000
    PBDR: 0x00
SH7709_PCCR: 0x555a
    PCDR: 0x03
SH7709_PDCR: 0x4445
    PDDR: 0x01
SH7709_PECR: 0x5045
    PEDR: 0x10
SH7709_PFCR: 0xaaaa
    PFDR: 0xff
SH7709_PGCR: 0x2aaa
    PGDR: 0x7f
SH7709_PHCR: 0x6000
    PHDR: 0x40
SH7709_PJCR: 0x5008
    PJDR: 0x02
SH7709_PKCR: 0x0500
    PKDR: 0x30
SH7709_PLCR: 0x1000
    PLDR: 0x00
SH7709_SCPCR: 0x9455
    SCPDR: 0x91

DAC_(CR) : 0x1f
DAC_(DR0): 0x00
DAC_(DR1): 0x00

SH7709_ADDRAH:L: 0x67:0xc0
SH7709_ADDRBH:L: 0x90:0x00
SH7709_ADDRCH:L: 0xfc:0x80
SH7709_ADDRDH:L: 0xe6:0x40
SH7709_ADCR: 0x3f
SH7709_ADCSR: 0x00

- HD64461 -
GPACR: 0x0815
    GPADR: 0x803
GPBCR: 0xaaaa
    GPBDR: 0xaad7
GPCCR: 0x0000
    GPCDR: 0x00
GPDCR: 0x0000
    GPDDR: 0x00



GPIO pin connection
-------------------
PTC[7]  ->      keyborad 10pin
PTC[6]  ->      keyborad 11pin
PTC[5]  ->      keyborad 13pin
PTC[4]  ->      keyborad 15pin
PTC[3]  ->      keyborad 16pin
PTC[2]  ->      keyborad 17pin
PTC[1]  ->      record button
PTC[0]  ->      not connect (200EC keyborad 12pin ?)

PTD[7]
PTD[5]
PTD[3]  ->      LCD power ? (not back-right)
PTD[1]  ->      keyborad 19pin
PTD[0]  ->      contrast (X9313W 2pin)

PTE[7]  ->      MODEM ?
PTE[6]  ->      keyborad 2pin
PTE[3]  ->      keyborad 3pin
PTE[1]  ->      keyborad 4pin
PTE[0]  ->      keyborad 5pin

PTF[7]  ->      keyborad 18pin
PTF[6]  ->      keyborad 14pin
PTF[5]  ->      keyborad 9pin
PTF[4]  ->      keyborad 8pin
PTF[3]  ->      keyborad 7pin
PTF[2]  ->      keyborad 6pin
PTF[1]  ->      keyborad 1pin
PTF[0]

PTG[7]
PTG[6]
PTG[5]
PTG[4]
PTG[3]
PTG[2]  ->      not connect (test ?)
PTG[1]  ->      not connect (test ?)
PTG[0]

PTH[7]  ->      LED (1 on, 0 off)
PTH[6]  ->      touch-panel (1 up, 0 down)

PTJ[7]
PTJ[6]
PTJ[1]  ->      rec bottun enable ?

PTK[5]  ->      SB3052P 13pin (SB3052P eqivalment MAX786 ?)
PTK[4]

PTL[6]

SCPT[7]
SCPT[6]
SCPT[5] ->      touch-panel scan enable
SCPT[3] ->      touch-panel
SCPT[2] ->      touch-panel
SCPT[1] ->      touch-panel
SCPT[0] ->      touch-panel

- HD64461 -
PA0     ->      contrast (X9313W 1pin)
PA1     ->      contrast (X9313W 7pin)


ADC
---
AN[7]
AN[6]
AN[5]   ->      AVss ?
AN[4]   ->      record ? (BA3410AF 3pin)
AN[3]
AN[2]
AN[1]   ->      touch-panel X
AN[0]   ->      touch-panel Y


LCD pin connection
------------------
30      ->      Vss
29      ->      HD64461 188pin (LCDM7)
28      ->      HD64461 189pin (LCDM6)
27      ->      HD64461 190pin (LCDM5)
26      ->      HD64461 191pin (LCDM4)
25      ->      Vss
24      ->      HD64461 192pin (LCDM3)
23      ->      HD64461 193pin (LCDM2)
22      ->      HD64461 195pin (LCDM1)
21      ->      HD64461 196pin (LCDM0)
20      ->      Vss
19      ->      contrast (X9313W 5pin)
18      ->      Vcc
17      ->      Vcc
16      ->      HD64461 187pin (CL1)
15      ->      Vss
14      ->      HD64461 186pin (CL2)
13      ->      Vss
12
11      ->      HD64461 179pin (FLM)
10
 9      ->      touch-panel
 8      ->      touch-panel
 7      ->      touch-panel
 6      ->      touch-panel
 5      ->      Vss
 4      ->      Vss
 3
 2      ->      SB3052P
 1      ->      SB3052P


thanks. ;-)
--
kiyohara



Home | Main Index | Thread Index | Old Index