Elektroda.com
Elektroda.com
X
This content has been translated flag-pl » flag-en View the original version here.
  • CAN BUS analyzer, simple and effective

    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]
    CAN BUS analyzer, simple and effective CAN BUS analyzer, simple and effective CAN BUS analyzer, simple and effective

    Cool? Ranking DIY
    About Author
    remzibi
    Level 24  
    Offline 
    remzibi wrote 1340 posts with rating 738, helped 34 times. Live in city Rumia. Been with us since 2002 year.
  • #2
    -rafal-
    Level 15  
    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 how Vector's CANoe works, for me the best hardware and software I have ever dealt with.
  • #3
    Spacewalker
    Level 33  
    rediscovered wheel ........, hardware from ELTA, and it will go on any software
  • #4
    DJ_KLIMA
    Level 20  
    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 the software, I have pcan and vector. I like pcan-exploler to simulate a vector for coarse analysis. It's time to lean more and more over CAN FD and LIN because more and more of it.
    There is a good free soft :) and its name is BUSMASTER and I would recommend the author to make a dong for it, at a reasonable price there would be people willing.
  • #5
    Samuraj
    Level 35  
    I made a dongle for the CarBusAnalyzer. I use it on a daily basis, it has 2xCAN and 1xLIN
  • #6
    remzibi
    Level 24  
    Spacewalker wrote:
    rediscovered wheel ........, hardware from ELTA, and it will go on any software


    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.


    DJ_KLIMA wrote:
    .... It's time to lean more and more over CAN FD and LIN because more and more of it.
    There is a good free soft :) and its name is BUSMASTER and I would recommend the author to make a dong for it, at a reasonable price there would be people willing.

    And slowly you can lean over another prock as well as FD and LIN.

    Samuraj wrote:
    I made a dongle for the CarBusAnalyzer. I use it on a daily basis, it has 2xCAN and 1xLIN

    CarBusAnalizer nice soft, I followed its screenshots, but maybe it's a good solution to make a dongle instead of duplicating the soft.
    Any technical details we can ask?
  • #7
    remzibi
    Level 24  
    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 showing the possibilities, the last video is an invitation to cooperate in testing, addressed to workshop practitioners who can collect experience on living car organisms, for my part, I offer substantive assistance both in terms of CAN from the theoretical side and the operation of the https device: //www.youtube.com/watch?v=GCD5KYsYzmI&list=PLsU2GwRWnWD_iC3D5k85iEmSj_ETQAPPx