Forum Discussion
Altera_Forum
Honored Contributor
16 years agoHello,
What is the time you give (14 cycles), is it the time between two write operations ? Because think that each time you write a data to your peripheral, the processor needs before to get the data from somewhere and it can take some times, and it depends on how you code your access. For example, in my case, in a function I read several registers one after another and it takes 9 cycles between each read. In another function in a loop I read continuously one register until a flag be set, and here the reads are spaced by 23 cycles. In another function, in a loop I write values from a large table to the peripheral, and it takes 100 cycles between each write. So, I am not so surprised about your results, but maybe people more expert on this can give more precise explanations. Jérôme