This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

About TWI Frequency

Hello!

My project programmed on the nRF52dk board.

Using the twi protocol for communication with other driver IC.

Below code is twi_init source.

---------------------------------------------------------------------------------

const nrf_drv_twi_config_t twi_lm75b_config = {
     .scl = ARDUINO_SCL_PIN,
     .sda = ARDUINO_SDA_PIN,
     .frequency = NRF_TWI_FREQ_400K,
     .interrupt_priority = APP_IRQ_PRIORITY_HIGH,
     .clear_bus_init = false
};

---------------------------------------------------------------------------------

When I checked the I2C frequency in board state, frequency is in working order 400kHz.

But if i attached other board(ex, driver IC or other sensor), frequency is fall 200kHz.

Others funny fact is if I setting the frequency 100kHz or 250kHz, result is in working order.

In other words, this problem state is occured in only 400kHz.

Can i support this problem??

Parents Reply Children
No Data
Related