8devices Community https://www.8devices.com/community/ |
|
USB2CAN@100Kbit/sec https://www.8devices.com/community/viewtopic.php?f=16&t=468 |
Page 1 of 1 |
Author: | MotusLab [ 30 Jul 2013, 07:46 ] |
Post subject: | USB2CAN@100Kbit/sec |
Hello, I'm using USB2CAN for testing an our project. I'm experiencing some issue when I select 100Kbit/sec standard frame. The output from USB2CAN seems not correct. If I select 125K or other bit rate everithing is fine. Any suggestion? |
Author: | gedass [ 30 Jul 2013, 08:01 ] |
Post subject: | Re: USB2CAN@100Kbit/sec |
Hi, try to use custom configuration "tseg2,seg1,sjw,brp" values: long CanalOpen( const char *pConfigStr, unsigned long flags ) Opens a CAN channel. pConfigStr Physical device to connect to. This is theplace to add device specific parameters and filters/masks. This is a text string. It can be a name, some parametersor whatever the interface creator chooses.The string for usb2can device constists of serial number,can bus speed,mask,filter.Mask and filter can beomited. *** Example: ED123456; 125; 0x12345678 ; 0x98765432 ED123456; 1000 for custom CAN bus speed: ED123456; 0 ; tseg2; tseg1; sjw ; brp ; mask ; filter *** ED123456; 0 ; tseg2; tseg1; sjw ; brp |
Author: | somi12 [ 16 Sep 2014, 08:59 ] |
Post subject: | Re: USB2CAN@100Kbit/sec |
I read the pdf guide about the canal api, but there are no examples about the function and i'm not sure i'm doing well. |
Page 1 of 1 | All times are UTC |
Powered by phpBB® Forum Software © phpBB Group http://www.phpbb.com/ |