Forum Replies Created

Viewing 1 - 3 of 3 posts
  • R4C3R

    Member
    May 29, 2023 at 2:25 pm

    Unfortunately the solution works but it is not stable. After a few log entries the SD card gets corrupted and the data is no longer accesible. We use class 10 Samsung SD cards, I don’t think it the quality of the SD card is the cause, we also tried other A-brand cards with the same results. Maybe someone @ controllino can test an SPI SD card adapter and suggest a stable solution for logging data to the SD card.

  • R4C3R

    Member
    May 22, 2023 at 9:07 am

    It took me quite a while to figure this out, especailly as the code worked flawlessly on anArduino MEGA but not on a Controllino MEGA.

    So, I hope this post saves someone else time.

    On the internet I found this hint: “….However, it can be good to put a pulldown on the MISO line. That is because this line is only driven by a slave when it’s slave select line is asserted. When the bus is not used, all slave select lines are usually unasserted, so MISO floats…..”
    (source: https://electronics.stackexchange.com/questions/234703/spi-bus-termination-and-pull-up-resistors)

    After soldering a 100k between MISO & GND the SD Card adapter worked flawlessly on the Controllino MEGA as well.

    PS: Is there a way to upload an image in the forum so I can show the mod I did?

  • R4C3R

    Member
    May 18, 2023 at 12:28 pm

    Hello Wim,

    We ran into the same problem, did your solution result in a stable situation?

    I will try your solution.

    Regards,

    Rolf

Viewing 1 - 3 of 3 posts