Raspberry Pi 4

More
7 years 1 month ago #145977 by Bertho
Replied by Bertho on topic Raspberry Pi 4

PCW wrote: Not a C expert , I just copied what had been done with the 7I96

That I can accept. I may have a look at it later.

Now that we have pin names on the two added cards, what are the pin names for the 7I90 card? Or are these all generic pins, covered by the pins.c code (i.e. generating "Px-yy" names automatically)?

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

More
7 years 1 month ago #145980 by PCW
Replied by PCW on topic Raspberry Pi 4
I think the 7I90 is generic enough that the automatic pin names are good enough
Its the boards that have a built in "BOB" so pins are more fixed function that need the pin name array most.

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

More
7 years 1 month ago #145981 by Bertho
Replied by Bertho on topic Raspberry Pi 4
I have committed and pushed another fix for the RPi4 and hm2_rpspi driver (for boards 7I90, 7C80 and 7C81). There was a logical error in the size to read from the device-tree file. Get it fresh from: github.com/BsAtHome/linuxcnc/blob/hm2_rp...hostmot2/hm2_rpspi.c

I think that I have finally fixed it (famous last words).

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

More
7 years 1 month ago #145990 by PCW
Replied by PCW on topic Raspberry Pi 4
Works for me (at least on RPI3,7C81)

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

More
7 years 1 month ago #146005 by Bertho
Replied by Bertho on topic Raspberry Pi 4

PCW wrote: Works for me (at least on RPI3,7C81)

Nice.
Then you should also be able to see the log message of the driver stating which RPi you are running it on (if the message/debug level is at INFO).

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

More
7 years 1 month ago #146011 by PCW
Replied by PCW on topic Raspberry Pi 4
I dont get that message
is it the hostmot2 debug settings I need to change?

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

Time to create page: 0.085 seconds
Powered by Kunena Forum