Forum Replies Created

Viewing 1 - 3 of 3 posts
  • Fruitdas

    Member
    May 25, 2021 at 1:44 pm

    I have made some progress.

    As described in the FAQ: number 7:

    Call this function prior to usage of the SPI bus:

    Controllino_RTC_init();

    This was only part of the solution. When I connected the Logic analyser, it worked. When I disconnected, it stopped working. The logic analyser input has a 100kOhm pull down resistor. I also had to add a small (27pF) capacitor in parallel with the resistor. This is on the clock line and seems to filter enough for proper operations.

    I hope we have found a stable solution.

  • Fruitdas

    Member
    May 22, 2023 at 9:37 am

    Thank you very much for the extra information.
    I have implemented several improvements and got it working somewhat stable, but still not perfectly. I will add this solution as well. What I did was the following:

    – Added a shielded cable with a ferrite bead.
    – Added a powerline filter.
    – Cleaned up the code and implemented a more robust solution.

    I hope this might help with further issues.

  • Fruitdas

    Member
    May 31, 2021 at 11:48 am

    Hello Lukas,

    We use a flatcable from the Controllino to the screen/SD card. SPI is not really made for over wire transmission and glitches can occur. There is 400V running next to the controllino/screen and even this filtering is not enough. We will move to a shielded cable as well for improved performance. Cable length is about 350mm.

    Since the connectors on the Controllino are not pin compatible to Arduino, it would have been good if they were DB25 connectors or something similar. Those are easier and better to connect to and also more robust compared to flatcables. For prototyping, other equipment can be used.

    Regards,

    Wim

Viewing 1 - 3 of 3 posts