[help needed] UART Help

Your chance to introduce yourself and your vehicle
Post Reply
Matty87
Posts: 4
Joined: Thu Mar 16, 2023 12:07 am

UART Help

Post 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 '.
Attachments
project.zip
(724.67 KiB) Downloaded 56 times
User avatar
AndreyB
Site Admin
Posts: 14318
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: UART Help

Post by AndreyB »

Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Matty87
Posts: 4
Joined: Thu Mar 16, 2023 12:07 am

Re: UART Help

Post by Matty87 »

User avatar
AndreyB
Site Admin
Posts: 14318
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: UART Help

Post 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 1850 times
# TS_SECONDARY_UxART_PORT
DDEFS += -DSTM32_SERIAL_USE_USART3=TRUE
DDEFS += -DTS_SECONDARY_UxART_PORT=SD3
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Matty87
Posts: 4
Joined: Thu Mar 16, 2023 12:07 am

Re: UART Help

Post by Matty87 »

thanks, what can i do?
User avatar
AndreyB
Site Admin
Posts: 14318
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: UART Help

Post by AndreyB »

I suggest getting some official hardware and using it as reference for any new designs.
Very limited telepathic abilities - please post logs & tunes where appropriate - http://rusefi.com/s/questions

Always looking for C/C++/Java/PHP developers! Please help us see https://rusefi.com/s/howtocontribute
Matty87
Posts: 4
Joined: Thu Mar 16, 2023 12:07 am

Re: UART Help

Post by Matty87 »

so there is no way of using what I have for bluetooth?
Post Reply