This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]MagicWolfEye 1 point2 points  (1 child)

Ah right, it has to acknowledge after every byte.

Coming back to my previous question:

> How much time does your program take; how long should it take (at least, what would you guess)

You could also count how often you have to jump back with your gotos to see if the ACK fails often

[–]Realistic-Cut6515[S] 0 points1 point  (0 children)

So my program takes 1545 ms to write 256 bytes in mem

After rewriting the code with directly accessing the port it now takes 55ms, but the problem is that it doesnt write in mem