EdwardLee 发表于 2020-5-11 19:44:00

QCC512x 怎么配置I2C速度的?最高的速度是多少?

有没有这样使用的?请帮忙指导一下。

235689412 发表于 2020-5-11 20:15:45

仔细看看I2C的那个API哦,里面有速度说明的。

EdwardLee 发表于 2020-5-11 21:33:13

我是小白 发表于 2020-5-11 20:15
仔细看看I2C的那个API哦,里面有速度说明的。

不知道在哪查看硬件支持哪些时钟?

   /** Serial clock frequency in kHz.
   * Not all frequencies are supported and it depends on
   * Master clock to internal bitserial hardware.
   * If an unsupported frequency is requested, the hardware will be configured
   * to use the maximum supported frequency that does not exceed the requested one.
   * The user must consult the relevant device datasheet
   * for supported frequencies.
   */
    uint16 clock_frequency_khz;

basketcase 发表于 2020-5-12 03:22:26

最高400,外设代码里面就有现成的例子

EdwardLee 发表于 2020-5-13 22:15:32

basketcase 发表于 2020-5-12 03:22
最高400,外设代码里面就有现成的例子

多谢。刚接触,完全不知道在哪里找。
页: [1]
查看完整版本: QCC512x 怎么配置I2C速度的?最高的速度是多少?