7i73 custom firmware?
- blazini36
- Offline
- Platinum Member
-
- Posts: 969
- Thank you received: 165
What I'm thinking I want to do is have 2} 3x4 matrix keypads and have enough outputs to light LEDs on the 24 keys, also one MPG and whatever random IO is left for a few buttons/switches. Is this possible?
Please Log in or Create an account to join the conversation.
- Mecanix
- Offline
- Platinum Member
-
- Posts: 446
- Thank you received: 220
Stepgens, encoders, pwms, in/out signals custom via a JSON and compiled using Litex/oss-cad.
github.com/Peter-van-Tol/LiteX-CNC
Please Log in or Create an account to join the conversation.
- blazini36
- Offline
- Platinum Member
-
- Posts: 969
- Thank you received: 165
Please Log in or Create an account to join the conversation.
- PCW
-
- Offline
- Moderator
-
- Posts: 18526
- Thank you received: 5076
so it would be pretty easy do do simple 2x muxing to get 32 LED drives
(18 outputs used for 2 column drive and 16 row drive)
Please Log in or Create an account to join the conversation.
- spumco
- Offline
- Platinum Member
-
- Posts: 1942
- Thank you received: 780
The 7i73 doesn't have a lot of current available for super-bright LEDs. Think indoor-visible indicator and not a gaming keyboard.
If you want more outputs for LED's you'll probably want to go the Arduino route.
EDIT - as usual, PCW has the better answer.
Please Log in or Create an account to join the conversation.
- blazini36
- Offline
- Platinum Member
-
- Posts: 969
- Thank you received: 165
Not sure I follow you if using standard firmware. I suppose the matrix keyboard layout isn't special as long as it fits within 32 keys.If you use a 7I73 with a 4x8 matrix kb you have 18 outputs available
so it would be pretty easy do do simple 2x muxing to get 32 LED drives
(18 outputs used for 2 column drive and 16 row drive)
Not sure how muxing the outputs would work. Electrically I could use a couple of 74HC4051s but I'm not sure how that would work in HAL without a firmware setup.
Please Log in or Create an account to join the conversation.
- Mecanix
- Offline
- Platinum Member
-
- Posts: 446
- Thank you received: 220
Using a periodic polling loop stat.poll() and sending over a bit mask to your mux hardware...
Not sure how muxing the outputs would work. Electrically I could use a couple of 74HC4051s but I'm not sure how that would work in HAL without a firmware setup.
Please Log in or Create an account to join the conversation.
- blazini36
- Offline
- Platinum Member
-
- Posts: 969
- Thank you received: 165
I doubt that's what PCW was referring to.
Not sure how muxing the outputs would work. Electrically I could use a couple of 74HC4051s but I'm not sure how that would work in HAL without a firmware setup.
Using a periodic polling loop stat.poll() and sending over a bit mask to your mux hardware...
Please Log in or Create an account to join the conversation.
- spumco
- Offline
- Platinum Member
-
- Posts: 1942
- Thank you received: 780
Me either. A diagram would probably help.
Not sure how muxing the outputs would work.
I just bodged mine up (non-muxed) after some consulting with PCW about current-limiting resistor values. My hand-wiring looks like a rats-nest - not my finest work.
Please Log in or Create an account to join the conversation.
- Cant do this anymore bye all
-
- Offline
- Platinum Member
-
- Posts: 1200
- Thank you received: 422
I've tested with a custom board I'm working on with 2 Smart Serial interfaces with a 7i73 connected to first port and the RV901T board on the second port.
I could almost do it for almost any Spartan 6 based dev board.
May not make a lot of sense but here's a link to a thread where PCW was helping.
forum.linuxcnc.org/27-driver-boards/4995...ccess?start=0#282432
Please Log in or Create an account to join the conversation.