LinuxCNC-RIO - RealtimeIO for LinuxCNC based on FPGA (ICE40 / ECP5)

More
3 months 1 day ago #348212 by viewsat
I'm using a Tang Nano 9k FPGA. How do I configure it to output a PWM signal to the spindle?

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

More
3 months 1 day ago #348213 by meister
there is an example:

./bin/rio-flow riocore/configs/TangNano9K/config.json
The following user(s) said Thank You: viewsat

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

More
3 months 1 day ago #348239 by babinda01
Hi Guys. I have used RIOcore on a Tang Nano 9k (TangBOB board) a couple of times. I am now wanting to try out Ethercat. I was wondering what my options are for doing this. I want to use a RP5 with the Tang connected via an SPI connection to the GPIO pins on the RP5. My first question is where do I connect my Ethercat Drives? from the RP5 or from the Wiznet module connected to the Tang. I would dearly love it if all my configurations for Ethercat can be done within RIOcore.

Cheers
Andrew

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

More
3 months 1 day ago #348255 by viewsat
I use ./bin/rio-flow riocore/configs/TangNano9K/config.json
The automatically generated ini and HAL files cannot output a 1kHz PWM spindle signal. Do I need to edit the HAL and ini files myself to output the spindle PWM signal?

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

More
3 months 1 day ago #348260 by meister

Hi Guys. I have used RIOcore on a Tang Nano 9k (TangBOB board) a couple of times. I am now wanting to try out Ethercat. I was wondering what my options are for doing this. I want to use a RP5 with the Tang connected via an SPI connection to the GPIO pins on the RP5. My first question is where do I connect my Ethercat Drives? from the RP5 or from the Wiznet module connected to the Tang. I would dearly love it if all my configurations for Ethercat can be done within RIOcore.

Cheers
Andrew
 

Hi Andrew,
EtherCAT must be connected directly to the RPi5. Rio runs independently of it; it can only adopt part of the configuration (and even then, only to a limited extent).

 

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

More
3 months 1 day ago #348262 by meister

I use ./bin/rio-flow riocore/configs/TangNano9K/config.json
The automatically generated ini and HAL files cannot output a 1kHz PWM spindle signal. Do I need to edit the HAL and ini files myself to output the spindle PWM signal?
 
What does your setup look like?
Which interface are you using, and where do you want the PWM output to be?

To use the spindle in LinuxCNC, you still need to configure it in the “Signals” tab.

  dty/net = spindle.0.speed-out
  enable/net = spindle.0.on



@all WARNING: Serial/USB does work, but it's really just for testing;
I wouldn't use it in a production environment.
The following user(s) said Thank You: viewsat

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

Time to create page: 0.155 seconds
Powered by Kunena Forum