Skip to main content
kjosh.1
Associate II
March 23, 2023
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

  • March 23, 2023
  • 9 replies
  • 3713 views

..

This topic has been closed for replies.

9 replies

waclawek.jan
Super User
March 23, 2023

Is there a question?

JW

kjosh.1
kjosh.1Author
Associate II
March 23, 2023

yes

kjosh.1
kjosh.1Author
Associate II
March 23, 2023

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
March 23, 2023

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
March 23, 2023

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 VenmoUp vote any posts that you find helpful, it shows what's working..
Tesla DeLorean
Guru
March 23, 2023

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 VenmoUp vote any posts that you find helpful, it shows what's working..
kjosh.1
kjosh.1Author
Associate II
March 23, 2023

stm32f411vet6 microcontroller using

kjosh.1
kjosh.1Author
Associate II
March 23, 2023

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
March 23, 2023

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 VenmoUp vote any posts that you find helpful, it shows what's working..
kjosh.1
kjosh.1Author
Associate II
March 23, 2023

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

kjosh.1
kjosh.1Author
Associate II
March 23, 2023

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
March 23, 2023

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 VenmoUp vote any posts that you find helpful, it shows what's working..
kjosh.1
kjosh.1Author
Associate II
March 23, 2023

plz give code bacuse method not working i am tired

kjosh.1
kjosh.1Author
Associate II
March 23, 2023

not working please give code

Karl Yamashita
Lead III
March 31, 2023

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