Using the LCD initialization function display.SPIDisplay() configures P1 to float input mode because this is the Data Out pin of the SPI pin. However, the LCD expansion board does not use this P1 pin. It is assumed that the display library directly called SPI initialization, resulting in the occupied P1 pin. I tried adding Pin(‘P1’, pin.out_pp) after display.SPIDisplay() to change the P1 Pin back to output mode, and it worked to some extent. However, after each call to the lcd.write(img) function, the output mode of the P1 pin is configured to float input again. My openmv model is openmv4 H7
Thanks, I fixed it here: ports/stm32: Fix touching unused SPI bus pins. by kwagyeman · Pull Request #2580 · openmv/openmv
firmware.zip (1.1 MB)
Attached is a firmware for the H7 Plus.
Thanks! My cam is H7, I do not have the environment to recompile the firmware. Could you attach a firmware file of H7?
Sorry about that. Here you go:
firmware.zip (1.1 MB)