Hi,
We are trying to toggle pio9 on reference board(CSR 1010).But we are facing delay issue in output with respect to input.We have tried with two different code and we are getting different delay.
When reference board powered up then it drive PIO9 after 1.5s with CSRmesh code.We have set PIO9 high at first line in main function.
when we test same with simple hello word program then it drive PIO9 after 493ms.
How to reduce this delay in CSRmesh code ?
CSR chip need time to do init, and it depends on your program size, it first load the program at satrtup.
Thanks Loris,
Is there a way to change the I2C clock frequency in boot code to 1Mhz ?
The delay has to be very tidy if you work in interrupt mode.
what delay are you facing ?
Sorry, CSR adk provide two set prarmeters for clock frequency of 100K and 400K, but maybe only CSR employee konw how does the parameter for 1Mhz clock frequency.
It is not clear why you must have 1M I2C clock on boot.
I believe that you have some problem and look on the wrong way to solve it.
You can call my Skype : nissim.test I will help