I've spent several days pouring through examples, docs, specs, and internet searches. But I cannot find the information I need.
Using a 6748 evm I am trying to simulate throughput for our project. Part of this is sending blocking of data through the I2C. I have modified the i2csample to more or less match but it is performing very poorly. It takes over a second to transfer 40kb of data. This is 10+ times slower than one would expect. I do not understand how the clock is setup, and how transfers work, using the PSP I2C module. And I cannot find the information anywhere that I look.
I2C.h contains all the definitions but no usage information.
I2C.h contains the mysterious "I2c_peripheralClkFreq" that is referenced once in the wiki but really never explained.
i2csample_main.c contains the equally mysterious statement "i2cParams.busFreq = 200000". "i2cParams.busFreq" cannot be found anywhere online (that I have searched...) One would guess that 200000 means 200kb/s. In that case 40kb should take 200ms to transfer. And if I change it to 400000 will it -really- take effect?
Is there any other PSP I2C software information out there? Or examples? Or anything?