3 Replies Latest reply on Jul 22, 2019 12:34 AM by ZhengbaoZ_96

    [CYW43907] About I2C Slave function

    YoJa_3107936

      Hi

       

      The customer is trying to use the I2C feature,

      but I can not find the I2C slave feature. Is that feature available?

       

      Datasheet Link:

      https://www.cypress.com/file/298236/download

       

       

      Excerpt from datasheet:

      -----------------------------------------------------------

      Cypress Serial Control is an I2C compatible Interface.

       

       

      5.3 CSC

      The CYW43907 has two CSC2 master interfaces for external communication with codecs, DACs, NVRAM, etc. The I/O pads can be

      configured as pull-ups or it can be installed on the reference design to support a multimaster on an open drain bus.

      The I2C0 CSC Master Interface can support repeated start, however it does not support clock stretching. The I2C1 CSC Master

      Interface does not support repeated start or clock stretching. The CSC Master can support a maximum clock frequency of 400kHz.

      If clock stretching is required a bit banging driver is recommended. Cypress's WICED® SDK provides and example of such a bit

      banging I2C driver. Note that only I2C0 mentioned in Table 10 is multiplexed with GPIOs and supports bit banging. I2C1 is not

      multiplexed with GPIOs and therefore cannot support bit banging.

      -----------------------------------------------------------

       

      Thanks

      Yang

        • 1. Re: [CYW43907] About I2C Slave function
          ZhengbaoZ_96

          Hi :

           

          From the spec, We support CSC/I2C master mode,  no mention that we can support slave mode.

           

          The CYW43907 has two Cypress Serial Control (CSC2) master interfaces for external communication with codecs, DACs, NVRAM,

          etc. The I/O pads can be configured as pull-ups or pull-ups can be installed on the reference design to support a multimaster on an

          open drain bus.

          • 2. Re: [CYW43907] About I2C Slave function
            YoJa_3107936

            Hi

             

            Thank you for your supporting.

             

            We already know that 43907 can support a multimaster by your DataSheet.

            But customer wants to use the host CPU (ARM) to control 43907 by I2C.

            Then host CPU's side is master, and 43907's side is slave.

            If they have not slave function, how to control 43907 by I2C?

            When they want to use the I2C, did you have some good suggest?

             

            Thanks

            Yang

            • 3. Re: [CYW43907] About I2C Slave function
              ZhengbaoZ_96

              Hello Yang:

               

                  Actually,  43907 is designed as host mcu + wifi mode,  so I2C slave mode is not the design as default  reasonably.

              If  customer wants to use 43907 as a device mode totally ,  suggest to use the interface like SPI which has slave function.

              2 of 2 people found this helpful