Changes in configuration files generated in pncconfig for 7i76 to 7i78

More
10 months 2 weeks ago #340158 by PCW
7C81 configuration for 7I78 on P1, INM on first 12 P2 pins

The inm module supports up to 4 MPG encoders,
it also has built in input filtering/debouncing.

The last 5 P2 pins are left as GPIO so can be inputs/outputs
as needed


 

File Attachment:

File Name: 7c81_7i78_inm.zip
File Size:105.62 KB


 
The following user(s) said Thank You: jaro_p

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

More
10 months 2 weeks ago #340178 by jaro_p
Thank you very much, you are great.

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

More
10 months 2 weeks ago #340275 by jaro_p
Unfortunately, the situation is anything but simple… I reinstalled Bookworm, but the command:
`sudo mesaflash --spi --addr /dev/spidev0.0 --device 7c81 --readhmid`

doesn't work:

- open: No such file or directory
- No 7C81 board found

The following works:

`halcmd -kf`

`halcmd: loadrt hostmot2`

`halcmd: loadrt hm2_rpspi`

`halcmd: show all hm2`

However, I don't know how to write a new bitfile. That is, the equivalent of:

`sudo mesaflash --spi --addr /dev/spidev0.0 --device 7c81 --fallback --write bitfile-name`

I tried installing an older version of LinuxCNC – Buster. However, the libraries for installing mesaflash are missing and cannot be installed because the repositories for this version no longer exist.

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

More
10 months 2 weeks ago #340278 by unknown
What is the result of

ls /dev/spidev*

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

More
10 months 2 weeks ago #340279 by jaro_p
cnc@raspberrypi:~$ ls /dev/spidev*

ls: cannot access '/dev/spidev*': No such file or directory

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

More
10 months 2 weeks ago #340282 by unknown
What RPi model are you using and what image are you using.

spi hasn't been enabled in config.txt

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

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