Hi expert,
My customer is running F28069's I2C on 100kHz. They face much EMI on their system so the I2C always get failed on transfer. So, they tried to set up action qualification on GPIO.
They do the configuration as below:
GpioCtrlRegs.GPAQSEL2.bit.GPIO28 = 2;/*6 sample window*/
GpioCtrlRegs.GPAQSEL2.bit.GPIO29 = 2;/*6 sample window*/
GpioCtrlRegs.GPACTRL.bit.QUALPRD3 = 12; /* GPIO24-GPIO31 QUALIPRD = PLLSYSCLK/12 */
It greatly improved the performance of I2C communication. But the actual I2C frequency is down to 70kHz.
Q1: Could you explain why the frequency is reduced to 70kHz from the original 100kHz?
Q2: It is said in the TRM that if the peripheral performs the synchronization, you can not use input synchronization as a qualification method. Does that mean this configuration is wrong?
Q3: They are using upper monitor to boot and calibrate the F28069 with I2C, the I2C frequency of upper monitor is 100kHz, take Q1 into consideration, will there be any risks?
Thanks!