Hi Wolwil,
You could replace PBP SHIFTOUT with attached ASM code example and reduce time spend in SHIFTOUT + loop to ~1/8. This is kind of tested, but no promises ... Check if it is usefull for you.
PBP_shiftout execution time was around 814uS, but ASM_shiftout took only 104uS to do the same.
Files:
PBP_shiftout.pbp.txt <- Original, copied from 1st post
ASM_shiftout.pbp.txt
(Just remove .txt from end of files)
I know that ASM version is spaghetti code but I don' really care
So long time since last time when I did something with ASM.
BR,
-Gusse-
Bookmarks