Posted on May 17, 2011 at 13:14Wow, this is a bit complex, but I understand now why read is slower in second case. Thank you very much! Can I read data faster with GPIO? For example, if exist other LOAD instruction? I've found nothing in datasheet y...
Posted on May 17, 2011 at 13:14Result is the same for 8MHz. Wait states for Flash is important only while branch (probably...) Maybe GPIO are slow? Write to port is faster than read. I have result like this. Change registers are no effect.
Posted on May 17, 2011 at 13:14So, in first program: R0 contain GPIOA high address ODR 0x4001080D R1 contain address of memory buffer (in RAM), where from will read data in second program: R0 contain GPIOA low address IDR 0x40010808 R2 contain addre...
Posted on May 17, 2011 at 13:14Welcome, I've a question. How fastest execute the LDRB and STRB instruction? I've the following program: LDRB R2, [R1], #+1 STRB R2, [R0] LDRB R2, [R1], #+1 STRB R2, [R0] ....etc. Above code need 8 cycles, but other pr...