I'm trying to capture the data using stm32, I have used two latches as the following diagram
and this is the schematic of the bus for your reference
I'm not getting any LCD commands that was referenced in the answer, I only get two LCD Commands 0x60, and CS1,CS2 = 1, A1 = 0 or 1, and they are always like that. I'm not sure how to debug that, I need some ways to debug that issue.
Latches are LS374
Here is my coding part:
// Control logic for LCD1 and LCD2
if ((!CS1) && (!A1)) {
LCD1_write_cmd(data_bits);
}
if ((!CS1) && (A1)) {
LCD1_write_dat(data_bits);
}
if ((!CS2) && (!A1)) {