...
Handoff of validation to Aashmika from Josh
Ran into minicom issue where it would not update with UART communication from STM32
Resolution was plugging in the programmer a magical 462783294 time and seeing it blink red and update the minicom correctly
Cut traces to U10 for I2C and reworked using I2C pads so SDA and SCL are not switched
Our I2C driver was sending a start condition between the register and the data that the IO expander isn’t expecting
Ryan pushed a fix so that the PCA9539R register is updated as just a data byte rather than a separate write
We got this in the console:
[0] projects/smoke_pca9539r/src/main.c:96: GPIO state = 0
[0] projects/smoke_pca9539r/src/main.c:89: State for pin 0_0 set and read correctly
[0] projects/smoke_pca9539r/src/main.c:89: State for pin 0_1 set and read correctly
[0] projects/smoke_pca9539r/src/main.c:89: State for pin 0_2 set and read correctly
[0] projects/smoke_pca9539r/src/main.c:89: State for pin 0_3 set and read correctly
[0] projects/smoke_pca9539r/src/main.c:89: State for pin 0_4 set and read correctly
[0] projects/smoke_pca9539r/src/main.c:89: State for pin 0_5 set and read correctly
[0] projects/smoke_pca9539r/src/main.c:89: State for pin 0_6 set and read correctly
[0] projects/smoke_pca9539r/src/main.c:89: State for pin 0_7 set and read correctly
[0] projects/smoke_pca9539r/src/main.c:89: State for pin 1_0 set and read correctly
[0] projects/smoke_pca9539r/src/main.c:89: State for pin 1_1 set and read correctly
[0] projects/smoke_pca9539r/src/main.c:89: State for pin 1_2 set and read correctly
[0] projects/smoke_pca9539r/src/main.c:89: State for pin 1_3 set and read correctly
[0] projects/smoke_pca9539r/src/main.c:89: State for pin 1_4 set and read correctly
[0] projects/smoke_pca9539r/src/main.c:89: State for pin 1_5 set and read correctly
[0] projects/smoke_pca9539r/src/main.c:89: State for pin 1_6 set and read correctly
[0] projects/smoke_pca9539r/src/main.c:91: State for pin 1_7 incorrect
[0] projects/smoke_pca9539r/src/main.c:96: GPIO state = 1
[0] projects/smoke_pca9539r/src/main.c:89: State for pin 0_0 set and read correctly
[0] projects/smoke_pca9539r/src/main.c:89: State for pin 0_1 set and read correctly
[0] projects/smoke_pca9539r/src/main.c:89: State for pin 0_2 set and read correctly
[0] projects/smoke_pca9539r/src/main.c:89: State for pin 0_3 set and read correctly
[0] projects/smoke_pca9539r/src/main.c:89: State for pin 0_4 set and read correctly
[0] projects/smoke_pca9539r/src/main.c:89: State for pin 0_5 set and read correctly
[0] projects/smoke_pca9539r/src/main.c:89: State for pin 0_6 set and read correctly
[0] projects/smoke_pca9539r/src/main.c:89: State for pin 0_7 set and read correctly
[0] projects/smoke_pca9539r/src/main.c:89: State for pin 1_0 set and read correctly
[0] projects/smoke_pca9539r/src/main.c:89: State for pin 1_1 set and read correctly
[0] projects/smoke_pca9539r/src/main.c:89: State for pin 1_2 set and read correctly
[0] projects/smoke_pca9539r/src/main.c:89: State for pin 1_3 set and read correctly
[0] projects/smoke_pca9539r/src/main.c:89: State for pin 1_4 set and read correctly
[0] projects/smoke_pca9539r/src/main.c:89: State for pin 1_5 set and read correctly
[0] projects/smoke_pca9539r/src/main.c:89: State for pin 1_6 set and read correctly
[0] projects/smoke_pca9539r/src/main.c:89: State for pin 1_7 set and read correctlynote: the one incorrect is because 3V3 was shorted to pin 1_7 → got rid of short and no longer incorrect