1 Reply Latest reply on Jan 13, 2019 6:54 PM by ZhengbaoZ_96

    SPI MOSI idle high on 43907

    cohuc_3807591

      Hey all:

       

      I have a part that i'm communicating with over SPI, and it wants MOSI to idle high. Looking at the standard gsio driver function, I see that the line is high until the first transmission, and then it idles low after that. Is there something I can do to change this? really appreciate the help - thanks.

        • 1. Re: SPI MOSI idle high on 43907
          ZhengbaoZ_96

          Hello:

           

             because SPI interface is emulated from GPIO interface,  if the standby and wake up process is not critical for time needs,  you can change the mode to normal GPIO , then set to the states you want.  like pin_mosi is defien with WICED_GPIO_21 in WICED_SPI_1.

           

          and you can have a test on SPI_0 and SPI1 also .

          SPI0 is multiplexed with GPIO0s and can therefore support a bit banging based software SPI driver.

          SPI1 is not multiplexed with GPIO0 and can not support a bit banging based software SPI driver.

          So SPI0 is suggested for this thread requests.