Welcome to the Pycom forum Forum
    • \[\[global:header.categories\]\]
    • \[\[global:header.recent\]\]
    • \[\[global:header.tags\]\]
    • \[\[global:header.popular\]\]
    • Login

    Explore Pybytes | Official Documentation | Report a Firmware Bug/Issue | GitHub

    Weekly update W/C 16th Jan 2017

    Scheduled Pinned Locked Moved Announcements & News
    13 Posts 6 Posters 3.8k Views 6 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • F Offline
      Fred administrators @livius
      last edited by

      @livius At present there's a software I2C driver (because it wasn't supported by the IDF beforehand). The hardware driver was added a few days ago by Espressif which means we will now enable the 2 I2C hardware interfaces on the ESP32.
      Thanks Fred

      S L 2 Replies Last reply Reply Quote 0
      • S Offline
        Shaun @Fred
        last edited by

        @Fred Thanks,

        That explains the....
        @Shaun said in I2C Clock Stretching:

        The I2C clock frequency setting is not accurate.
        baudrate=400000 results in an actual clock of 297kHz
        baudrate=100000 results in an actual clock of 87.6kHz
        baudrate=40000 results in an actual clock of 39kHz

        1 Reply Last reply Reply Quote 0
        • L Offline
          livius @Fred
          last edited by

          @Fred
          Ach i see. It explain me many things.
          In that case, personally, do not be rid of it.
          We can have 2 hardware pins and if we could use software I2C to any pin, this will be very big extension.

          think about people first, then computers

          1 Reply Last reply Reply Quote 0
          • D Offline
            daniel
            last edited by

            Hello,

            That's correct, clock stretching is not properly supported by the software I2C.

            @livius, that's a good idea. We will leave the software implementation available after integrating the hardware driver, that way there's a "third" bus available.

            Cheers,
            Daniel

            bmarkusB 1 Reply Last reply Reply Quote 0
            • bmarkusB Offline
              bmarkus @daniel
              last edited by

              @daniel said in Weekly update W/C 16th Jan 2017:

              Hello,

              That's correct, clock stretching is not properly supported by the software I2C.

              @livius, that's a good idea. We will leave the software implementation available after integrating the hardware driver, that way there's a "third" bus available.

              Theoretically it is a good idea. However two I2C buses are enough in most applications and question what is the cost to keep the sw I2C in terms of RAM.

              D 1 Reply Last reply Reply Quote 0
              • D Offline
                daniel @bmarkus
                last edited by

                @bmarkus the RAM impact is zero. It would all be part of the same machine.I2C module. Bus with ID #2 would be a software implemented one. The only impact is just a little bit more code size.

                bmarkusB 1 Reply Last reply Reply Quote 0
                • bmarkusB Offline
                  bmarkus @daniel
                  last edited by

                  @daniel said in Weekly update W/C 16th Jan 2017:

                  @bmarkus the RAM impact is zero. It would all be part of the same machine.I2C module. Bus with ID #2 would be a software implemented one. The only impact is just a little bit more code size.

                  Hi Daniel

                  thanks for the clarification. In such case I vote for it :)

                  Béla

                  1 Reply Last reply Reply Quote 0
                  • D Offline
                    daniel
                    last edited by

                    @bmarkus you are welcome :-)

                    1 Reply Last reply Reply Quote 0
                    • R Offline
                      rskoniec @Fred
                      last edited by

                      @Fred said in Weekly update W/C 16th Jan 2017:

                      Next Thursday (26th Jan) we will be releasing an update to include:

                      • Memory optimizations.
                      • TLS bug fix and reliabilty improvements.
                      • Hardware I2C driver with support for 2 buses.
                      • WiFi STA+AP support.

                      Any news about new f/w release? I'm really waiting for @livius most wanted feature STA+AP. ;o)

                      The machine is working as good as it's code.

                      1 Reply Last reply Reply Quote 1
                      • D Offline
                        daniel
                        last edited by

                        @rskoniec the release will be out today at the end of the day. I can confirm that TLS is back and there are lots of memory improvements. WiFi AP+STA is almost ready too.

                        Cheers,
                        Daniel

                        R 1 Reply Last reply Reply Quote 1
                        • R Offline
                          rskoniec @daniel
                          last edited by

                          @daniel Thank you. Great :o)

                          The machine is working as good as it's code.

                          1 Reply Last reply Reply Quote 0

                          Hello! It looks like you're interested in this conversation, but you don't have an account yet.

                          Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

                          With your input, this post could be even better 💗

                          Register Login
                          • 1 / 1
                          • First post
                            Last post

                          Pycom on Twitter

                          Pycom