3 Replies Latest reply on Oct 9, 2018 10:46 PM by srnt

    Interfacing FX3 cypress with BlueNrg1(BLE)

    ThrimurthiM

      Hello all,

      I am trying to interacting FX3 Cypress with BlueNrg1 board on I2C communication. is it possible to do this???

        • 1. Re: Interfacing FX3 cypress with BlueNrg1(BLE)
          srnt

          Hello,

           

          FX3 can only act as I2C master and not as slave. I find that the BlueNrg1 can act as either master or slave. So, if FX3 is used as the I2C master and BlueNrg1 as slave, it is feasible.

           

          Best regards,

          Srinath S

          • 2. Re: Interfacing FX3 cypress with BlueNrg1(BLE)
            ThrimurthiM

            Thanks for your Replay,

            Yes sir, I made Cypress as master and BlueNrg1 as slave. But the given example in FX3 Sdk, Cypress only work with EEPROM I2C slave Device. but our BlueNrg1 salve have normal Reg read and write, there is no EEPROM memory.

            1. Is it possible to use FX3 cypress as normal  data read/write in a Reg ( no EEPROM Operation)?.

            2. is it possible to connect Cypress with flash slave device(like BlueNrg1) through I2C communication?.

            • 3. Re: Interfacing FX3 cypress with BlueNrg1(BLE)
              srnt

              Hello,

               

              Answer to both your questions is yes.

               

              - FX3 can act as I2C master for any I2C slave device. It is not specific to EEPROM memory.

              - In case you are using the I2C in register mode, the CyU3PI2cTransmitBytes() API is used to send data to the I2C slave. The preamble structure of this API can be loaded with only the slave address and the direction of transfer in case your device does not have internal memory addressing.

               

              Best regards,

              Srinath S