HP-20B key matrix



#2

Appears to be a 6 row (rows are inputs) by 7 column (outputs) matrix, so it could have had up to 42 keys. The on key appears to be outside the matrix. (Pressing the on key takes TP11 to ground.)

Inputs:

Row 0 input is pin PC19

Row 1 input is pin PC20

Row 2 input is pin PC21

Row 3 input is pin PC22

Row 4 input is pin PC23

Row 5 input is pin PC2

Outputs:

Column 0 output is pin PC24

Column 1 output is pin PC25

Column 2 output is pin PC26

Column 3 output is pin PC27

Column 4 output is pin PC28

Column 5 output is pin PC29

Column 6 output is pin PC30

The matrix layout is pretty much what you'd expect, but with the rows running vertically and the columns running across the keypad. I've worked through it and can provide details if needed.

Couple of weird things.

1: PC30 is not listed as a valid I/O pin in my Atmel databook. Maybe it's not bonded out on the BGA or LQFP, but is present on the CoB variant used in the HP-20B?

2: I'm a bit surprised that the on key isn't using one of the wakeup inputs. (I'm sure that design choice will make more sense once I dig into the power management.)


Oh, it appears that bank A and B GPIO (50 pins total) are dedicated to the LCD column and segment drive.

Guess I need to find the analog inputs.


#3

hello,

since all ports are both input/outputs, rows and columns can be exchanged, so there is no 'row' 'column' like they were on the saturn.

you got pretty much all the port wrong.. sorry.

the ON key is on a wakup pin: the FWUP (of Fast Wakeup pin)...

regards, cyrille


#4

Quote:

you got pretty much all the port wrong.. sorry.


Really? Weird, I even double checked my work on that one. I wonder...oh crap. I'll bet I forgot to switch to little endian mode. (OCD Commander likes to boot in big endian, even for ARM targets.) Grrr.

Sorry for the noise guys, I'll rework it tonight.


Possibly Related Threads...
Thread Author Replies Views Last Post
  AFTER HP-Prime update, Shift+Matrix CRASHES Joseph Ec 3 711 12-06-2013, 11:06 AM
Last Post: Joseph Ec
  HP Prime Matrix TERRIBLE bug and question uklo 19 1,888 11-25-2013, 12:10 PM
Last Post: Mic
  HP Prime: editing a matrix Alberto Candel 6 740 11-20-2013, 06:26 PM
Last Post: Helge Gabert
  Absolute Value and Matrix BruceTTT 5 731 11-11-2013, 11:52 PM
Last Post: Walter B
  HP Prime - EEX/X/Toolbox-key suggestions bluesun08 2 552 11-07-2013, 06:15 PM
Last Post: bluesun08
  HP PRIME : strange behavior when trying user key capability Damien 12 1,326 11-03-2013, 11:02 AM
Last Post: Joe Horn
  HP PRIME: How to use [a b/c] key from a program Joseph Ec 4 675 10-29-2013, 06:18 PM
Last Post: Joseph Ec
  Roll-down key in HP-15C Steve Ross 6 786 10-15-2013, 04:12 AM
Last Post: Nick_S
  HP's thinking behind the 20b/30b? John Ioannidis 3 534 09-07-2013, 10:21 AM
Last Post: Tim Wessman
  WP-34S Matrix operations with routine-local registers? Tom Grydeland 1 411 09-04-2013, 10:46 AM
Last Post: Marcus von Cube, Germany

Forum Jump: