Page 1 of 1

UART Help

Posted: Thu Mar 16, 2023 12:20 am
by Matty87
Hello, trying to connect to TunerStudio using USART1 on an STM32F407VGT6.

It does not seem to work, however I am using alternate pins.

PB7 = RX1
PB6 = TX1

The firmware I am using is ' rusEFI v20230124@52586 '.

Re: UART Help

Posted: Thu Mar 16, 2023 12:39 am
by AndreyB

Re: UART Help

Posted: Fri Mar 17, 2023 1:30 pm
by Matty87

Re: UART Help

Posted: Fri Mar 17, 2023 3:48 pm
by AndreyB
At the moment software is not smart enough to pick uart peripheral automatically. Some software developer would have to make software smarter. Hopefully it's possible without hitting DMA mapping issues.
image.png
image.png (22.96 KiB) Viewed 1872 times
# TS_SECONDARY_UxART_PORT
DDEFS += -DSTM32_SERIAL_USE_USART3=TRUE
DDEFS += -DTS_SECONDARY_UxART_PORT=SD3

Re: UART Help

Posted: Sat Mar 18, 2023 12:39 pm
by Matty87
thanks, what can i do?

Re: UART Help

Posted: Sat Mar 18, 2023 12:43 pm
by AndreyB
I suggest getting some official hardware and using it as reference for any new designs.

Re: UART Help

Posted: Sat Mar 18, 2023 1:12 pm
by Matty87
so there is no way of using what I have for bluetooth?