Joined
Last Online
Recent Posts
posted in Howto read more

I'm sure the example should be:
<blockquote>Example: Set bus 1 to 500kbps.
Decimal 500 = Hex 0x1E4
So send: 0x01090101E4</blockquote>

But, by the way. Not every value can be possible. What happens in case the bit rate, eg. 520Kbit/s, can not be set?

The term "baud rate" is not correct and never used in CAN. Better say "bit"rate" (If you like, check Wikipedia for the term "baud".

posted in Howto read more

I know that the mcp2515 supports 29bit. It was not clear von the docs if 29bit frame id is implemented or not or not documented.

Derek, what is your opinion about setting up a wiki where we all can contribute and help.

posted in Howto read more

Derek
<i>and the remaining two 16 byte flags are to filter for a specific message id, leave them at 0 to dump everything.
0x03 0x01 0x01 0x0000 0x0000</i>

I think you mean <b>the remaining two 16 bit flags</b>, do you? and the command is seven bytes

posted in Howto read more

I still have problems understanding the serial command syntax
http://docs.canb.us/firmware/api.html says

Send CAN Packet

Send a CAN Packet over the specified Bus. Bus Id should be 1 through 3
Command Bus Id Message ID Data Length
0x02 01 290 00 00 00 00 00 00 00 00 8

  • are all the values hex values? the command in the example is given as 0x02
  • what about the "Message Id" ?, how many byte do I have to send for it? the base frame is 11 bit, that means in hex Its up to 0x7ff - 3 bytes. Do I have to send always three bytes, ebven if Message Id is zero or 1? What about extended frame id with 29bit, which is common in cars.
  • next is data, always eight bytes?
  • last but not least, what is "Length"? Has it to follow the data? As value in hex?

<b>Summary</b>- Sending a CAN frame (as of now) is a sequence of always 14 bytes, is it?

posted in Howto read more

I'm getting problems if getting out of sync. I have started with a little Tcl script to control CANbus Triple.
It works so far, e.g. I can ask for the version sending two bytes \x01\x01 . But when I get out of this sequence, e.g. sending a byte not understood by CBT, I'm lost. The CBT is silent. I don't know how to start again the "Print System Info". Is there any protocol used or not. I mean something common in serial communication like:
"STX command data ETX"
with special coding for STX -Start Of Text and End Of Text.

posted in Howto read more

I now took the pcb out of the metal box and the connections stays stable.
Sending hex 0101, I receive :
{"event":"version", "name":"CANBus Triple Mazda", "version":"0.4.0", "memory":"421"}

I also see now, that the blue LED is labeled: "BT", but how can I connect via my Android phone using Bluetooth?

Reading the serial doc, I miss how I can set the bit timing parameters of the three CAN lines. Please help.

Heinz

posted in Howto read more

Hello, I got my device today (after clearing at customs). I basically work with Linux. This should not be a problem because the device is using a serial communication via USB.
But I'm getting a very basic problem. I can not open the serial device. When I connect, I see that the device is plugged in, but some time later it automatically disconnects, connects again and so on. Attached is a log.
Can someone please tell me what the three LEDs are for? How should they behave when the device is connected to USB? Can someone confirm the the LEDs are glowing very weak?
Thanks for any help.
Heinz

[18107.740389] usb 7-2: new full-speed USB device number 29 using ohci-pci
[18107.888430] usb 7-2: New USB device found, idVendor=2341, idProduct=0036
[18107.888441] usb 7-2: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[18107.888448] usb 7-2: Product: CANBus Triple
[18107.888453] usb 7-2: Manufacturer: The FDB
[18107.890605] cdc_acm 7-2:1.0: ttyACM0: USB ACM device
[18115.184751] usb 7-2: USB disconnect, device number 29
[18115.872758] usb 7-2: new full-speed USB device number 30 using ohci-pci
[18116.028832] usb 7-2: New USB device found, idVendor=2341, idProduct=8036
[18116.028844] usb 7-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[18116.028851] usb 7-2: Product: Arduino Leonardo
[18116.028857] usb 7-2: Manufacturer: Arduino LLC
[18116.031056] cdc_acm 7-2:1.0: This device cannot do calls on its own. It is not a modem.
[18116.031102] cdc_acm 7-2:1.0: ttyACM0: USB ACM device
[18116.039927] input: Arduino LLC Arduino Leonardo as /devices/pci0000:00/0000:00:13.0/usb7/7-2/7-2:1.2/0003:2341:8036.0035/input/input67
[18116.040606] hid-generic 0003:2341:8036.0035: input,hidraw3: USB HID v1.01 Mouse [Arduino LLC Arduino Leonardo] on usb-0000:00:13.0-2/input2
[18229.568282] usb 7-2: USB disconnect, device number 30
[18232.048728] usb 8-2: new full-speed USB device number 2 using ohci-pci
[18232.196742] usb 8-2: New USB device found, idVendor=2341, idProduct=0036
[18232.196754] usb 8-2: New USB device strings: Mfr=2, Product=1, SerialNumber=0
[18232.196761] usb 8-2: Product: CANBus Triple
[18232.196766] usb 8-2: Manufacturer: The FDB
[18232.198949] cdc_acm 8-2:1.0: ttyACM0: USB ACM device
[18239.501447] usb 8-2: USB disconnect, device number 2
[18240.188031] usb 8-2: new full-speed USB device number 3 using ohci-pci
[18240.344222] usb 8-2: New USB device found, idVendor=2341, idProduct=8036
[18240.344233] usb 8-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
[18240.344240] usb 8-2: Product: Arduino Leonardo
[18240.344246] usb 8-2: Manufacturer: Arduino LLC
[18240.346362] cdc_acm 8-2:1.0: This device cannot do calls on its own. It is not a modem.
[18240.346448] cdc_acm 8-2:1.0: ttyACM0: USB ACM device
[18240.355303] input: Arduino LLC Arduino Leonardo as /devices/pci0000:00/0000:00:13.1/usb8/8-2/8-2:1.2/0003:2341:8036.0036/input/input68
[18240.355887] hid-generic 0003:2341:8036.0036: input,hidraw3: USB HID v1.01 Mouse [Arduino LLC Arduino Leonardo] on usb-0000:00:13.1-2/input2

posted in General Discussion read more

My hope was Xmas. Now I will be happy to get one as early as possible Cn you explain what 'soon' means in units engineers can measure.

posted in Hardware and Wiring read more

Automotive experts are working hard to establish CAN FD in cars. General Motors, Daimler, VW and more. We had a CAN FD Plugfest in October last year were all main micro controller manufacturers took part.
http://www.can-newsletter.org/engineering/engineering-miscellaneous/141031_fourteen-nodes-communicate-without-error-frames/
There will be one 2015-03-24 Warren (US)

posted in Hardware and Wiring read more

Developing a CAN design these days should consider an upgrade to CAN FD. CAN FD is in discussion since two years and I expect first cars using it in late 2015. Hopefully Microchip or Bosch will offer an SPI connected CAN controller supporting CAN FD. I'm not sure if SPI is a good solution handling the larger amount of data. Any thoughts on this topic?


Looks like your connection to CANBus Triple was lost, please wait while we try to reconnect.