Closed therealprof closed 4 years ago
I might be wrong but I think this is actually OK. write_word
is only used for RAMWR
and CASET/RASET
but those expect "16 bit" values too...
No, because they always need to be sent in two separate 8 bit values but if you specifiy a 16 bit Datasize, a 16 bit DI impl will not split it up but send it as a single 16 Bit value.
You can clearly see that the column D8-15 is empty and there're 4 rows with 8 bit transfers.
Ah yes you're right. I'll switch it to U8
Fixed
Can we get a release? ;)
We did, v0.4.2
The driver is currently using
write_word
to send associated command data, however this is implemented aswhich means it'll try to send data as 16 bit value, however the only display commands accepting 16 bit values are
RAMWR
andRAMWRC
, i.e. the ones used to send pixel data. Everything else must be sent as multiple 8bit values, even in 16bit parallel mode.