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

    Question in regards to MSB and LSB in SPI Protocol / WiPy 2.0

    Scheduled Pinned Locked Moved WiPy 2&3
    wipy 2.0spilcd
    4 Posts 3 Posters 1.2k Views 3 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.
    • C Offline
      ColombianAus
      last edited by

      Hello Everyone,

      I am trying to "talk" to a LS013B4DN04 SHARP LCD using SPI. However, the LCD device needs the data structure to start with the LSB first, while the SPI protocol in the WiPy is is a MSB only. Has anyone bump into a similar issue?

      Any assistance is kindly appreciated

      Cheers
      Colombian

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

        @colombianaus
        i see that in sources LSB is also supported
        what if you try to init it with SPI.LSB? Maybe docs only do not follow..

        think about people first, then computers

        1 Reply Last reply Reply Quote 1
        • sebS Offline
          seb
          last edited by

          I concur, the code does allow LSB as well, I will update the docs accordingly.

          1 Reply Last reply Reply Quote 0
          • C Offline
            ColombianAus
            last edited by

            Hello @seb and @livius ,

            Thank you very much for your assistance with this, and it is awesome news about SPI.LSB.

            Cheers
            Colombian1976

            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