You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In i2c driver, I use below code to push DATA fifo:
for (int i = 0; i < 14; i++)
REG_DATA = data;
I want the size of the FIFO to be 14 when I finish executing the above statement, because the CPU is much faster than I2C.
But in cadence_i2c.c, each write register triggers the i2c_send, and after the above statement is executed, the FIFO is still empty. This can cause problems for the operation of the drive.
The text was updated successfully, but these errors were encountered:
In i2c driver, I use below code to push DATA fifo:
for (int i = 0; i < 14; i++)
REG_DATA = data;
I want the size of the FIFO to be 14 when I finish executing the above statement, because the CPU is much faster than I2C.
But in cadence_i2c.c, each write register triggers the i2c_send, and after the above statement is executed, the FIFO is still empty. This can cause problems for the operation of the drive.
The text was updated successfully, but these errors were encountered: