CANopenNode / CANopenDemo

CANopenNode tutorial and testing
Apache License 2.0
44 stars 31 forks source link

Bitrate Setting Not Functioning as Expected #9

Open MDuarte4 opened 3 months ago

MDuarte4 commented 3 months ago

I've been using CANOpenNode for a few months now, and I'm currently trying to set up the bitrate using the command lss_conf_bitrate <table_selector=0> <table_index>. Initially, when I run the command with cocomm "lss_conf_bitrate 0 0", I receive the following error:

ERROR:102 #Request not processed due to internal state.

To troubleshoot, I switched the state to selective mode using the command cocomm "lss_switch_sel 0x00000000 0x00000001 0x00000000 0x00000003". After doing this, I tried running the cocomm "lss_conf_bitrate 0 0" command again. However, this time I encountered a different error:

ERROR:103 #Time-out.

Any guidance on resolving these issues would be greatly appreciated.