I would like to use I2C to read an external accelerometer. I’m using QuecOpen on EC21:
Quectel
EC21
Revision: EC21EFAR06A05M4G
SDK is: EC21EFAR06A05M4G_OCPU_20.001.20.001_SDK
I tried I2C example in ql-ext-sdk/example folder but if I check I2C_SCL and I2C_SDA using an oscilloscope but no signal is detected (note I added 4.7kohm resistor as pull-up to Vdd-ext).
Is I2C available for “generic purpose” or is it related only for CODEC interface?
Is it possible to remap it in the kernel?
Hi
The I2C interface can be used as a general interface. Check the software to ensure that the configuration is correct and can be used for external sensors.
Hello @Jouni.yang-Q,
Do you have any chance to send me a working example of I2C with EC21E and QuecOpen so I can test on my side?
Otherwise I have to think about to write i2c in bit-banging (which I would avoid…)