• RTC problems

     gerd2 updated 3 years, 10 months ago 2 Members · 3 Posts
  • gerd2

    Member
    February 6, 2021 at 10:03 am

    I´m using a Controllino Maxi Automation running 8 sensors (PT100) connected via Adafruit temperature sensor amplifier MAX31865.

    The 8 amplifiers are all connected via SPI pin header pins SCK, MOSI and MISO.

    The chip select pins (CS) are connected to header pin “SS” and to “Digital_Out_0 – 6”

    This temperature reading works fine!

    But I´m unable to use RTC.

    Calling RTC time or RTC date just displays “0” values.

    As soon as I disconnect the pin header socket X1 – using RTC works perfect!

    Where is the conflict?

  • Lukas

    Member
    February 16, 2021 at 12:41 pm

    Hello, it looks like you forgot to release the chipselect after reading out the temperatures. Please be sure that all the CS signals are HIGH when you communicate with the RTC. Is it possible to share your test sketch so we can check it?

    Thanks!

    Lukas

  • gerd2

    Member
    February 16, 2021 at 8:39 pm

    Thanks Lukas for your advice.

    In the meantime it works.

    It was a wireing problem. A solder bridge where it shouldn´t have been.

    Thanks again!

    Gerd

Viewing 1 - 3 of 3 replies

Log in to reply.

Original Post
0 of 0 posts June 2018
Now