08-29-2023, 07:07 AM
I understand, thanks, I have to return to that when I understand more
I am trying to do the same with the LCD startup sequence still. I think I finally found my problem with it. The A31 user manual talks about the TX register byte order being 3,2,1,0, 7,6,5,4, etc but I think it is actually the other way around! ie sequential. I had some confusion because to check the []u8 being written, I was pulling pack u32 so that I could use my handy GUI register debug panel, but seems like Zig might have been doing some Endianess tricks reading the u32, still not quite sure, but feel like I am getting closer! Also the CMD_CTL register seems to be mis-documented, possibly 1 bit out, not sure yet. So very slow days at the moment, but as a result my debug tool collection increases
I hope you are making better progress with the PineTab-V
I am trying to do the same with the LCD startup sequence still. I think I finally found my problem with it. The A31 user manual talks about the TX register byte order being 3,2,1,0, 7,6,5,4, etc but I think it is actually the other way around! ie sequential. I had some confusion because to check the []u8 being written, I was pulling pack u32 so that I could use my handy GUI register debug panel, but seems like Zig might have been doing some Endianess tricks reading the u32, still not quite sure, but feel like I am getting closer! Also the CMD_CTL register seems to be mis-documented, possibly 1 bit out, not sure yet. So very slow days at the moment, but as a result my debug tool collection increases
I hope you are making better progress with the PineTab-V