RPI4 + 7C81 + DMB4250-8B BreakOut Board

More
5 years 8 months ago #200444 by brianvg
Thanks PCW! I think that I am overthinking this a bit. I will trust that the correct pins map to their correct locations. I guess the final question is with regards to the usage of PNCconf. I have basically no idea what I should fill in here:

or here:


I don't understand how these map to actual db25 pins...

Please Log in or Create an account to join the conversation.

More
5 years 8 months ago #200450 by PCW
The mapping of GPIO to DB25 pins is listed the the --readhmid output
The P3 (= 7C81 P1) mapping is correct but PNCCONF GPIO mapping on P2
(= 7C81 P2) will not line up so you probably need to do these by hand
connecting in the hal file

Please Log in or Create an account to join the conversation.

More
5 years 8 months ago #200455 by cmorley
can you post the --readhid file?

Please Log in or Create an account to join the conversation.

More
5 years 8 months ago #200475 by PCW
I have added DB25 pin numbers to the drivers pin list, like this:

Code:
hm2/hm2_7i95.0: IO Pin 041 (P1-01/DB25-01): PWMGen #0, pin Out0 (PWM or Up) (Output) hm2/hm2_7i95.0: IO Pin 042 (P1-02/DB25-14): IOPort hm2/hm2_7i95.0: IO Pin 043 (P1-03/DB25-02): IOPort hm2/hm2_7i95.0: IO Pin 044 (P1-04/DB25-15): IOPort hm2/hm2_7i95.0: IO Pin 045 (P1-05/DB25-03): IOPort hm2/hm2_7i95.0: IO Pin 046 (P1-06/DB25-16): IOPort hm2/hm2_7i95.0: IO Pin 047 (P1-07/DB25-04): IOPort hm2/hm2_7i95.0: IO Pin 048 (P1-08/DB25-17): IOPort hm2/hm2_7i95.0: IO Pin 049 (P1-09/DB25-05): IOPort hm2/hm2_7i95.0: IO Pin 050 (P1-11/DB25-06): IOPort hm2/hm2_7i95.0: IO Pin 051 (P1-13/DB25-07): IOPort hm2/hm2_7i95.0: IO Pin 052 (P1-15/DB25-08): IOPort hm2/hm2_7i95.0: IO Pin 053 (P1-17/DB25-09): IOPort hm2/hm2_7i95.0: IO Pin 054 (P1-19/DB25-10): IOPort hm2/hm2_7i95.0: IO Pin 055 (P1-21/DB25-11): IOPort hm2/hm2_7i95.0: IO Pin 056 (P1-23/DB25-12): IOPort hm2/hm2_7i95.0: IO Pin 057 (P1-25/DB25-13): IOPort

Please Log in or Create an account to join the conversation.

More
5 years 8 months ago #200487 by cmorley
hmm that doesn't look like the usual --readhmid output.
Pncconf can try to piece together internal data from a --readhmid --sserial output.

Please Log in or Create an account to join the conversation.

More
5 years 8 months ago - 5 years 8 months ago #200489 by PCW
That's the hm2 driver startup output

If the OP doesn't post a pinout file, I can do it tomorrow

(don't have a 7C81 or RPI at home, and stopping by work
this close to dinner time was vetoed by the boss)
Last edit: 5 years 8 months ago by PCW.

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.297 seconds
Powered by Kunena Forum