Is anyone knows about how to interface two accelerometers using PSoC 4? I want to access two MMA7455L.Thank you
Is anyone knows about how to interface two accelerometers using PSoC 4? I want to access two MMA7455L.Thank you
The MMA7455L has both I2C and SPI outputs. I would recommend using SPI. Connect MISO, MOSI and CLK lines together. Then use two different select signals, and control them manually (via a control register) in your code. With that setup, you can use a single SPI master component, and select manually which one to talk to.
The MMA7455L has both I2C and SPI outputs. I would recommend using SPI. Connect MISO, MOSI and CLK lines together. Then use two different select signals, and control them manually (via a control register) in your code. With that setup, you can use a single SPI master component, and select manually which one to talk to.