If a read of the MEM_CNT or MEM_ADDR register is issued after the MEM_CNT was programed but before the burst operation is started, MEM_ADDR is incremented and MEM_CNT is decremented. It would be nice to either: 1) change the mem_addr_inc and mem_cnt_dec to inc/dec only after the burst access was started by seting the START bit in MEM_CTL, or 2) change the documentation so that an atomic burst access transaction also includes setting the MEM_CNT and MEM_ADDR registers.
Type your text here
Hi George,
Thanks for reporting this. The first solution is also be the cleanest one... so I will implement it as soon as I find the time :-)
Cheers, Olivier
Hi George,
The code is now properly updated with the SVN version 149. The MEM_CNT register will now start to be automatically decremented only once the burst has started (by setting the START bit in the MEM_CTL register).
Thanks again for the report.
Olivier