try to use some other port than portA. i have pulled some hairs a week ago when doing an oled driver. the odd thing was that porta worked, and that i could toggle all pins, but that for some reason it did not work as normal. had no time to check on that, but using another port worked out fine.
further i can recommend to use a virtual port for these signals. config vport. for data this is not required but for control signals it is best.
if that does not work, i can have a look at the code.
↧