Disabling UART TX pin

From Frankenstein to Proteus and everything in between
Post Reply
95_Octane
Posts: 15
Joined: Tue Nov 08, 2022 10:28 pm

Disabling UART TX pin

Post by 95_Octane »

Hey guys I need some help here how to I disable primary UART I need pin PC10 and TS is telling me it’s being used by primary UART TX
Thanks in advance.


Sent from my iPhone using Tapatalk
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Disabling UART TX pin

Post by AndreyB »

C'mon, no mention of the board type? :(
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
95_Octane
Posts: 15
Joined: Tue Nov 08, 2022 10:28 pm

Re: Disabling UART TX pin

Post by 95_Octane »

It’s a custom F4 board Image


Sent from my iPhone using Tapatalk
User avatar
AndreyB
Site Admin
Posts: 14292
Joined: Wed Aug 28, 2013 1:28 am
Location: Jersey City
Github Username: rusefillc
Slack: Andrey B

Re: Disabling UART TX pin

Post by AndreyB »

95_Octane wrote:
Tue Nov 29, 2022 12:51 am
It’s a custom F4 board Image
Primary UART is a compile-time option, you would need a custom firmware.
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
95_Octane
Posts: 15
Joined: Tue Nov 08, 2022 10:28 pm

Re: Disabling UART TX pin

Post by 95_Octane »

AndreyB wrote:
95_Octane wrote:
Tue Nov 29, 2022 12:51 am
It’s a custom F4 board Image
Primary UART is a compile-time option, you would need a custom firmware.
Ok thank you, those pins are RX PC10 and TX PC11 correct?


Sent from my iPhone using Tapatalk
User avatar
Dron_Gus
contributor
contributor
Posts: 450
Joined: Wed Nov 13, 2013 1:11 pm
Location: S-Pb
Github Username: dron0gus

Re: Disabling UART TX pin

Post by Dron_Gus »

95_Octane wrote:
Tue Nov 29, 2022 1:07 am
Ok thank you, those pins are RX PC10 and TX PC11 correct?
This depends on what FW you are using for your custom HW:

Code: Select all

$ grep EFI_CONSOLE_TX_BRAIN -R config/
config/boards/prometheus/efifeatures.h:#undef EFI_CONSOLE_TX_BRAIN_PIN
config/boards/prometheus/efifeatures.h:#define EFI_CONSOLE_TX_BRAIN_PIN Gpio::A0
config/boards/hellen/hellen-common144.mk:PRIMARY_COMMUNICATION_PORT_USART2=-DEFI_CONSOLE_TX_BRAIN_PIN=Gpio::D6 -DEFI_CONSOLE_RX_BRAIN_PIN=Gpio::D5 -DTS_PRIMARY_PORT=UARTD2 -DSTM32_UART_USE_USART2=1
config/boards/skeleton/efifeatures.h:#define EFI_CONSOLE_TX_BRAIN_PIN Gpio::C10
config/boards/microrusefi/board.mk:DDEFS += -DEFI_CONSOLE_TX_BRAIN_PIN=Gpio::B10 -DEFI_CONSOLE_RX_BRAIN_PIN=Gpio::B11
config/boards/kinetis/efifeatures.h:#define EFI_CONSOLE_TX_BRAIN_PIN Gpio::A10
config/boards/proteus/board.mk:	DDEFS += -DEFI_CONSOLE_TX_BRAIN_PIN=Gpio::D5 -DEFI_CONSOLE_RX_BRAIN_PIN=Gpio::D6
config/stm32f7ems/efifeatures.h:#undef EFI_CONSOLE_TX_BRAIN_PIN
config/stm32f7ems/efifeatures.h:#define EFI_CONSOLE_TX_BRAIN_PIN Gpio::D8
config/stm32f4ems/efifeatures.h:#ifndef EFI_CONSOLE_TX_BRAIN_PIN
config/stm32f4ems/efifeatures.h:#define EFI_CONSOLE_TX_BRAIN_PIN Gpio::C10
95_Octane
Posts: 15
Joined: Tue Nov 08, 2022 10:28 pm

Re: Disabling UART TX pin

Post by 95_Octane »

Image
This is the one I downloaded


Sent from my iPhone using Tapatalk
Post Reply