How can uart1 of M7 OPENMV work?

My openMV M7 's uart3 can work well,but uart1 not.
Is the problem in firmware?
How can i get it work well?

The microptyhon firmware code probably just needs to be updated so UART one connects to the right pins on the M7.

Ibrahim, can you fix this?


It’s not enabled in the firmware, I’ll enable it in the next release.

OK,Thanks you!
And Can I use this in my commercial product?

Nothing is stopping you from buying an OpenMV Cam and putting it into a product.

Camera: OpenMV M7
Firmware: v2.5.0

It says that in
2.4 (2017-05-30)

Enable UART1 on OpenMV3/M7

I was able to verify UART3 like original poster, however, I still am unable to verify UART1 is functional.
Below is the code I used to verify UART3/ and tried on UART1

# UART Control
# This example shows how to use the serial port on your OpenMV Cam. Attach pin
# P4 to the serial input of a serial LCD screen to see "Hello World!" printed
# on the serial LCD display.

import time, sensor, pyb
from pyb import UART

sensor.reset()                      # Reset and initialize the sensor.
sensor.set_pixformat(sensor.GRAYSCALE) # Set pixel format to RGB565 (or GRAYSCALE)
sensor.set_framesize(sensor.QQVGA2)   # Set frame size to QVGA (320x240)
# Always pass UART 3 for the UART number for your OpenMV Cam.
# The second argument is the UART baud rate. For a more advanced UART control
# example see the BLE-Shield driver.
uart = UART(1, 9600)
led = pyb.LED(3)

    if (uart.any()):
        c = uart.readchar()
        if (c == 0xAA):
        if (c == 0xAB):
        if (c == 0xD):

:nerd: :ugeek:

Ibrahim, can you take a look at this?

Hi, please try the latest firmware release (2.6)

Thanks, I have verified UART1 working with v2.6.0

:nerd: :ugeek: