logo elektroda
logo elektroda
X
logo elektroda

CAN BUS analyzer, simple and effective

remzibi 


Effects of recent works and activities with CAN buses. I sat down and wrote soft to work with CAN BUS, it is supposed to work as an analyzer, recorder / player, bomber etc.
The assumption to achieve maximum functionality with relatively cheap hardware.
As STM32F103 hardware with any USB-Bridge (it is suitable for non-clogged buses), or STM32F042 with native USB, I wrote the firmware for both of these devices.
PC software written in C # still under development. Support for CAN1000, 500, 250, 125, 100 kbps bus speeds so far. Frames 11 and 29 bit, hardware control from MCU.
Coloring of changing CAN data seen in PassThru Scope. Monitor and tracer seen from the Peak analyzer software (it's a Mercedes in ? analyzers), other ideas and functionalities seen in others, including hobbyists from the east. The photos show prototypes from BluePill and with a purchased module for F042. In the video, a preview of how it works on F042 with native STM USB.
Software frame filtration.

I added the double buffering extension and now it no longer flashes like it does in the video.

To do: hardware filtration on the CAN controller of the processor. Adding goodies to broadcasting custom frames and a bomber.

[movie: c8118cf661] https://filmy.elektroda.pl/78_1637505465.mp4 [/ movie: c8118cf661]

About Author
remzibi
remzibi wrote 1387 posts with rating 867 , helped 34 times. Live in city Rumia. Been with us since 2002 year.

Comments

-rafal- 23 Nov 2021 23:09

Sometimes DIY under construction is not about sharing your work progress (something more than screenshots) about an electrode is not about sharing your work? In general, when it comes to such things, understand... [Read more]

Spacewalker 24 Nov 2021 09:00

rediscovered wheel ........, hardware from ELTA, and it will go on any software [Read more]

DJ_KLIMA 24 Nov 2021 19:50

Everything's fine by the time ;) in general, most of the simple things are going to be socket can from linux, it works on probably all possible CAN interfaces. But the strength of every analyzer is... [Read more]

Samuraj 24 Nov 2021 21:15

I made a dongle for the CarBusAnalyzer. I use it on a daily basis, it has 2xCAN and 1xLIN [Read more]

remzibi 26 Nov 2021 12:13

This module on F042 is just the finished one you bought. But, personally, I would prefer to run the processor with quartz for these tasks rather than ext. generator. And slowly you can lean over... [Read more]

remzibi 27 Nov 2022 19:05

If anyone has time and wants to test the software to play with the CAN bus, which I dared to write, then I invite you. Unfortunately, I don't have time for that. Link to the entire playlist initially... [Read more]

%}