I2C master trouble | Cypress Semiconductor
I2C master trouble
I started exploring the world of PSoC with PSOC 4 BLE kit and it was great until I ran into trouble making i2c bus work.
I am trying to hook up i2c character LCD, however it seems like I am unable to initialize i2c properly.
I tried different pins/speeds, using low level i2c api and high level - nothing helps.
I check the SCL pin with oscilloscope and don't see any signal.
I tried example projects - still no signal on SCL and SDA..
I attach my code and project:
__IO uint32_t TimingDelay = 0;
uint32_t DeviceAddr = 78;
I2C_M_I2CMasterWriteBuf(DeviceAddr, (uint8 *)DeviceAddr, 1, 0);