Alternative ways to Enable IONI USB Configuration

I’m creating an application using a SimuCUBE. I’m communicating with it through the simpleMotion api but to connect to it I have to “Enable IONI USB Configuration” under advanced in the SimuCUBE Configuration Tool. I’m looking for a way to integrate this into my application, is there a way to do this through api calls? Is there another way to connect that doesn’t involve enabling this?

Thanks for any help.

Simucube firmware is open source, so you could implement your app on hardware too.

But have a look at this example:
https://github.com/SimuCUBE/SimuCUBE-OpenSource-Firmware/tree/master/Examples/send_irffb_data_to_simucube_demo

Basically, you would just send a commandPacket with enableSMUSB value in the command field.

See here for all possible commands:
https://github.com/SimuCUBE/SimuCUBE-OpenSource-Firmware/blob/master/Inc/config_comm_defines.h

Also, the current SimuCUBE firmwares use the new simplemotion fastupdatecycle mode, so if your app uses fastupdatecycle, you must remember to set it back to the default mode before trying to use it in the old “normal” mode. And the simplemotion bus is reset to the default baudrate, and the Motor current parameter (MMC) is set to the 100% when the enablesmusb command is sent.

Please let me know if there are any other questions, and if this is enough information for you. I added some comments to above posts, so if you had only email subscription to the posts, then you might have missed them.

Thanks, this is exactly what I’m looking for.

1 Like