2022-07-03 06:35 PM
안녕하세요,
NUCLEO L073RZ를 사용하고 있습니다.
해당 보드로 I2C 통신�?� 진행하려고 합니다.
다만, 사용하는 슬레�?�브 센서가 130HZ입니다.
CUBE MX�?서는 최소 단위가 1kHZ 입니다.
해당 보드로는 130Hz�?� 주파수로는 통신�?� 불가능 할까요?
문�?�드립니다.
2022-07-03 06:41 PM
"I am using NUCLEO L073RZ.
I want to proceed with I2C communication with the corresponding board.
However, the slave sensor used is 130HZ.
In CUBE MX, the minimum unit is 1 kHz.
Is it impossible to communicate with this board at a frequency of 130Hz?
Please contact us. "
Ok, but there's a difference between communication rate of the interface, and the rate the sensor can update. Expect to utilize the bus at 400 KHz (bit rate, 9 bits per byte), perhaps slower if you really want, and query the sensor LESS FREQUENTLY
What sensor? Attach or link data sheet.
2022-07-03 07:05 PM
2022-07-03 07:51 PM
Document says max I2C clock is 1000 KHz (1 MHz)
Pace your reading to match the sensor rate
2022-07-03 08:07 PM
thanks for checking.
However, the sensor specification is 1 MHz as written in the data sheet, but what should I do if I want to set the frequency to a lower speed of 130 Hz?
2022-07-04 06:22 AM
You can read the device registers as infrequently as you want.
You could perhaps reduce the speed of the AHB bus to which the I2C peripheral is attached. Or drop the MCU speed significantly.
2022-07-04 04:47 PM
thank you
I came to understand about i2c communication.
Thanks ^^
Be healthy and happy!