Skip to main content
kjosh.1
Associate II
Mar 23, 2023 11:30 AM UTC
Question

i am sanding data too my serial monitor to uart2 and uart to data transmit and received and transmit to uart6 and uart 6 received and and transmit back my serial monitor plz help i am working stm32f411vet6 microcontroler

..

This topic has been closed for replies.

17 replies

waclawek.jan
Super User
Mar 23, 2023 11:53 AM UTC

Is there a question?

JW

kjosh.1
kjosh.1Author
Associate II
Mar 23, 2023 11:55 AM UTC

yes

kjosh.1
kjosh.1Author
Associate II
Mar 23, 2023 11:55 AM UTC

i am sanding data my serial monitor to uart2 ,uart2 received data and transmit to uart6 ,uart6 received data and transmit back to serial monitor with stm32f411 microcontroller plz give me answer

kjosh.1
kjosh.1Author
Associate II
Mar 23, 2023 11:53 AM UTC

i am sanding data my serial monitor to uart2 ,uart2 received data and transmit to uart6 ,uart6 received data and transmit back to serial monitor with stm32f411 microcontroller plz give me answer

Tesla DeLorean
Guru
Mar 23, 2023 12:45 PM UTC

Repeating the same information is not going to move this forward. When prompted like this it means your question lacks structure or detail

What isn't working?

Show initialization code, clocks, pins, etc

Show code that doing the interaction

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
Tesla DeLorean
Guru
Mar 23, 2023 12:56 PM UTC

You want code showing forwarding back and forth between UART2 <-> UART6 ?

What board are you using?

Which pins are connected to the UARTs ?

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
kjosh.1
kjosh.1Author
Associate II
Mar 23, 2023 1:16 PM UTC

stm32f411vet6 microcontroller using

kjosh.1
kjosh.1Author
Associate II
Mar 23, 2023 1:20 PM UTC

and i am using mx 32 cube id and using hadware bord uart2 and uart6 and yp-05 card using one card using to uart2 and one is using for uart6

Tesla DeLorean
Guru
Mar 23, 2023 1:30 PM UTC

So this YP-05, that's some USB-to-CMOS dongle?

You still haven't asked a question, you keep make statements.

What do you want people here to do?

Write the code for you?

Figure out what pins you're using?

Find some UART examples for your board or the F4 generally, adapt.

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
kjosh.1
kjosh.1Author
Associate II
Mar 23, 2023 5:16 PM UTC

i am conected tx and rx , PA2TX ,PA3RX FOR UART2 AND PC6 OR PC7 FOR UART6

kjosh.1
kjosh.1Author
Associate II
Mar 23, 2023 5:20 PM UTC

muje seniar monitor(user enter any data) se uart2 per data bhejna hai aur uart to se data uart6 per bhejna hai aur uart6 se data vaps serial monitor ko bhejna hai mera bord stm32f411vet6 hai iska code btao plz

Tesla DeLorean
Guru
Mar 23, 2023 6:35 PM UTC

Create the code to initialize the two UARTs

Then in your main loop

Receive any pending content from UART2, and Transmit to UART6

Receive any pending content from UART6, and Transmit to UART2

To avoid data loss you might want to use a FIFO buffer to give you some elasticity

Not sure there's a lot of people here who want to do homework assignments

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
kjosh.1
kjosh.1Author
Associate II
Mar 23, 2023 8:28 PM UTC

plz give code bacuse method not working i am tired

kjosh.1
kjosh.1Author
Associate II
Mar 23, 2023 8:26 PM UTC

not working please give code

Karl Yamashita
Super User
Mar 31, 2023 2:25 AM UTC

Check this post that I replied to. From PC>UART2>UART1 where UART1 is in loopback. Then UART1>UART2>PC

https://community.st.com/s/question/0D53W00002CeLaOSAV/cannot-receive-full-string-on-uart-receive-st32h745-disco-board

If a reply has proven helpful, click on Accept as Solution so that it'll show at top of the post.CAN Jammer an open source CAN bus hacking toolCANableV3 Open Source