Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

stm32: Add support for USART6 on STM32F401 #6830

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dapetcu21
Copy link

@dapetcu21 dapetcu21 commented Feb 21, 2025

STM32F401 has USART6 on PA12/PA11 and PC7/PC6 with alternate function mapping AF08. This can be used, for example, to connect to the Elegoo Neptune 3 without soldering to the main board or even opening the case, where PA12/PA11 are wired to a convenient RJ10 plug going to the stock screen.

See the datasheet (Page 45, Table 9. Alternate function mapping):

https://www.st.com/resource/en/datasheet/stm32f401re.pdf

See the Neptune 3's schematic:

https://github.com/TheFeralEngineer/Elegoo-Neptune-board-schematics/blob/main/ZNP%20Robin%20Nano_DW%20V21_001%20SCH_加水印pdf%20·%20version%201_230115_223844.pdf

I only tested this on my Neptune 3. It might work for other STM32s that have USART6, if there are any others, but I only added a Kconfig entry for STM32F401, since that's what I have access to for testing.

STM32F401 has USART6 on PA12/PA11 and PC7/PC6 with alternate
function mapping AF08. This can be used, for example, to connect
to the Elegoo Neptune 3, where PA12/PA11 are wired to an RJ10 plug
going to the stock screen.

Signed-off-by: Marius Petcu <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant