Create a FPGA board for raspberry

More
4 years 9 months ago #232513 by D.L.
No sense to use multiplexers for expand inputs, xc6slx9 in spi hostmot2 configuration support up to 85 gpio pins(for example: 4 port x 21 pin or 5 port x 17 pin).

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

More
4 years 9 months ago - 4 years 9 months ago #232545 by Boaschti
Ok. Thats a interesting info.
My idea was to design the hardware very similar to the 7c80 board (IO0..IO36). There is already a bitfile for this and as a linuxcnc beginner I have fewer sources of error. So I can start more easy.
In future i want to have a bitfile for IO00..IO53. My machine doesn't has a encoder at this moment but it is planed.

But if I have to make a bitfile because of the ssr functionality then I can also remove the multiplexer.
Last edit: 4 years 9 months ago by Boaschti.

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

More
4 years 9 months ago #232548 by D.L.
Before loading the firmware - all pins in high impedance state.
After loading the firmware - all pins in gpio mode.
After loading the LinuxCNC, pins may be switching to the secondary function - it defined in hal/ini config string.
If in config string defined num_ssrs=0, all ssr pins in gpio mode.

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

More
4 years 8 months ago #234691 by Boaschti
Where i have to add num_ssrs=0. If I add it into .hal there is a error "unknown command".

First tests looks good!
 

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

More
4 years 8 months ago #234712 by D.L.

Where i have to add num_ssrs=0. If I add it into .hal there is a error "unknown command".
 
You added it to config string?
Code:
loadrt hm2_rpspi config="num_ssrs=0"

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

More
4 years 8 months ago #234713 by Boaschti
Yes, I tried it also in the hm2_rpspi config string.
The message is here " invalid token in config string: "num_ssrs=0" "

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

Moderators: PCW, jmelson
Time to create page: 0.060 seconds
Powered by Kunena Forum