Matrix_kb and Mesa 7i73 error
- hardware_crash
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 80
- Thank you received: 1
09 Oct 2014 02:22 #51906
by hardware_crash
Matrix_kb and Mesa 7i73 error was created by hardware_crash
Hey guys ,
Im having troubles setting ub the matrix_kb comp with the mesa 7i73 .
I have built an 4x8 keypad and connected it to mesa 7i73 .
The keycode output seems ok .
I then connected the matrix_kb keycode with the mesa 7i73 keycode .
Thats also working fine but it seems that the keycode is not the same as matrix_kb expects it as the manual says 0x40 will be regogniced as keydown but when i press a button the keycode looks like 0x00000065 and so on no 0x40 or 0x80 ... ??
Is this because of the new firmware for the 7i73 or what causes that no matrix_kb hal pin gets high when i press a button ?
Is it possible to change the 7i73 firmware to match that 0x40 keycode ?
my hal part:
Im having troubles setting ub the matrix_kb comp with the mesa 7i73 .
I have built an 4x8 keypad and connected it to mesa 7i73 .
The keycode output seems ok .
I then connected the matrix_kb keycode with the mesa 7i73 keycode .
Thats also working fine but it seems that the keycode is not the same as matrix_kb expects it as the manual says 0x40 will be regogniced as keydown but when i press a button the keycode looks like 0x00000065 and so on no 0x40 or 0x80 ... ??
Is this because of the new firmware for the 7i73 or what causes that no matrix_kb hal pin gets high when i press a button ?
Is it possible to change the 7i73 firmware to match that 0x40 keycode ?
my hal part:
loadrt matrix_kb config=4x8
addf matrix_kb.0 servo-thread # too fast for debounce i know
net keys matrix_kb.0.keycode <= hm2_[HOSTMOT2](BOARD).0.7i73.0.0.keycode
Please Log in or Create an account to join the conversation.
09 Oct 2014 08:22 - 09 Oct 2014 08:47 #51910
by PCW
Replied by PCW on topic Matrix_kb and Mesa 7i73 error
bit 6 is used as a keydown flag
bit 7 is used as a keyup flag
keycode 0 + keydown is used as a idle code (0x40)
None of this has changed from version 12 to 14 (current) of the 7I73 firmware
so possible the is a row/col issue?
(just tested 8X8 and it works as expected)
EDIT
also tested 4x8 and also works as expected
bit 7 is used as a keyup flag
keycode 0 + keydown is used as a idle code (0x40)
None of this has changed from version 12 to 14 (current) of the 7I73 firmware
so possible the is a row/col issue?
(just tested 8X8 and it works as expected)
EDIT
also tested 4x8 and also works as expected
Last edit: 09 Oct 2014 08:47 by PCW. Reason: addition
Please Log in or Create an account to join the conversation.
- hardware_crash
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 80
- Thank you received: 1
10 Oct 2014 01:05 #51926
by hardware_crash
Replied by hardware_crash on topic Matrix_kb and Mesa 7i73 error
Strange thing ...
The matrix_kb keycode seems ok as the hal output of matrix_kb.0.keycode shows: (64) 0x00000040 on button pressed.
But none of the matrix_kb.0.key gets true when i press that key .. ??
im running linuxcnc 2.6.3
What could be the problem
The matrix_kb keycode seems ok as the hal output of matrix_kb.0.keycode shows: (64) 0x00000040 on button pressed.
But none of the matrix_kb.0.key gets true when i press that key .. ??
im running linuxcnc 2.6.3
What could be the problem
Please Log in or Create an account to join the conversation.
10 Oct 2014 09:15 #51936
by PCW
Replied by PCW on topic Matrix_kb and Mesa 7i73 error
Not sure, works fine for me
are you sure you have the keypad wired to the 7I73 correctly: (4X8 rows start at key4, not key0)
are you sure you have the keypad wired to the 7I73 correctly: (4X8 rows start at key4, not key0)
Please Log in or Create an account to join the conversation.
- hardware_crash
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 80
- Thank you received: 1
11 Oct 2014 23:50 #51967
by hardware_crash
Replied by hardware_crash on topic Matrix_kb and Mesa 7i73 error
Dear PCW,
Yes i tried and meassured nearly everything.
The wiring start with Key4 for 1. row and the 1. column starts with key 8 should be right ?
I also get an key code with rising numbers before the 0x00000 code so key one has the number : 64 (0x00000040) key 2 has : 65 (0x00000041) and so on.
I also tried setting the matrix_kb to 8x8 bat that doesnt change anything also changing mesa 7i73 to 8x8 doesnt solve the problem .
I also connected an lcd to 7i73 maybe theres a problem with this ?
Yes i tried and meassured nearly everything.
The wiring start with Key4 for 1. row and the 1. column starts with key 8 should be right ?
I also get an key code with rising numbers before the 0x00000 code so key one has the number : 64 (0x00000040) key 2 has : 65 (0x00000041) and so on.
I also tried setting the matrix_kb to 8x8 bat that doesnt change anything also changing mesa 7i73 to 8x8 doesnt solve the problem .
I also connected an lcd to 7i73 maybe theres a problem with this ?
Please Log in or Create an account to join the conversation.
12 Oct 2014 02:39 - 12 Oct 2014 02:49 #51968
by PCW
Replied by PCW on topic Matrix_kb and Mesa 7i73 error
Not sure whats going on but it works just as expected here (just tried 2.6.3)
Here is a 4x8 matrix KB watch list in case that helps
freeby.mesanet.com/matrix4x8.watch
You might check the 7I73 firmware version in case you have a very old one
EDIT:
Tried LCD, no difference, it still works fine
Is it possible you have a stuck switch? the 7I73 keypad inputs are designed only for
scanning keypad like devices (with normally open momentary switches)
so if you have a stuck-on switch it will not work
Here is a 4x8 matrix KB watch list in case that helps
freeby.mesanet.com/matrix4x8.watch
You might check the 7I73 firmware version in case you have a very old one
EDIT:
Tried LCD, no difference, it still works fine
Is it possible you have a stuck switch? the 7I73 keypad inputs are designed only for
scanning keypad like devices (with normally open momentary switches)
so if you have a stuck-on switch it will not work
Last edit: 12 Oct 2014 02:49 by PCW.
Please Log in or Create an account to join the conversation.
- hardware_crash
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 80
- Thank you received: 1
12 Oct 2014 22:08 - 12 Oct 2014 22:16 #51978
by hardware_crash
Replied by hardware_crash on topic Matrix_kb and Mesa 7i73 error
Dear PCW ,
My firmware version seems to be 13 as there stands UNIT= 1300001B on the backside of the 7i73
My wiring for the buttons is attached as I made a pcb for the buttons and a lcd .
The Input is JP8 on the picture hich has the sameconfiguration as the 7i73
The lcd works just fine ...
I use open momentary switches ..
Is there a way to update 7i73 firmware to ensure that its not a faulty device/firmware ?
My firmware version seems to be 13 as there stands UNIT= 1300001B on the backside of the 7i73
My wiring for the buttons is attached as I made a pcb for the buttons and a lcd .
The Input is JP8 on the picture hich has the sameconfiguration as the 7i73
The lcd works just fine ...
I use open momentary switches ..
Is there a way to update 7i73 firmware to ensure that its not a faulty device/firmware ?
Last edit: 12 Oct 2014 22:16 by hardware_crash. Reason: added info
Please Log in or Create an account to join the conversation.
13 Oct 2014 03:38 #51982
by PCW
Replied by PCW on topic Matrix_kb and Mesa 7i73 error
The version number is a hal parameter (the sticker is the unit number which never changes)
www.mesanet.com/software/parallel/sserial.zip
Has the latest firmware (V 14) and a script for updating sserial remotes
www.mesanet.com/software/parallel/sserial.zip
Has the latest firmware (V 14) and a script for updating sserial remotes
Please Log in or Create an account to join the conversation.
- hardware_crash
- Topic Author
- Offline
- Premium Member
Less
More
- Posts: 80
- Thank you received: 1
13 Oct 2014 17:21 #52008
by hardware_crash
Replied by hardware_crash on topic Matrix_kb and Mesa 7i73 error
Dear PCW ,
Problem solved !!
There was firmware 10 on the device .. after update to 14 everything works as it should
Thank you very much
Problem solved !!
There was firmware 10 on the device .. after update to 14 everything works as it should
Thank you very much
Please Log in or Create an account to join the conversation.
14 Oct 2014 07:15 #52072
by andypugh
That's quite neat, that script. It does a lot to make my unfriendly component more friendly.
Replied by andypugh on topic Matrix_kb and Mesa 7i73 error
Has the latest firmware (V 14) and a script for updating sserial remotes
That's quite neat, that script. It does a lot to make my unfriendly component more friendly.
Please Log in or Create an account to join the conversation.
Time to create page: 0.090 seconds