choosing HFPERCLK I2C frequency in efr32fg14

Thread Starter

yef smith

Joined Aug 2, 2020
717
Hello ,In the github example we have the line shown bellow for working with I2C.

In the diagram of page 281 of reference manual i cant see these element in some logical pattern.
How all these clocks connect to allow us I2C functionality?
https://www.silabs.com/documents/public/reference-manuals/efr32xg14-rm.pdf

https://github.com/SiliconLabs/peripheral_examples/blob/master/series1/i2c/i2c/src/main_efr.c

Code:
  // Enabling clock to the I2C, GPIO, LE
  CMU_ClockEnable(cmuClock_I2C0, true);
  CMU_ClockEnable(cmuClock_GPIO, true);
  CMU_ClockEnable(cmuClock_HFLE, true);

  // Starting LFXO and waiting until it is stable
  CMU_OscillatorEnable(cmuOsc_LFXO, true, true);
 
Top