2017-04-08 11:13 PM
Hi dear friends,
I have a problem with uart reception.
I can't receive any data or maybe i can't init it correctly.
I assign gpio to it and init it according to user manual. it has transmission but no data can receive. I don't no why??
Can everybody show me an example?
I used example of uart in stm32cubef7 too , but no reception can be done.
#stm32 #uart #stm32f746-nucleo #cubef72017-04-09 06:55 AM
Is there nobody??
2017-04-09 09:19 AM
What USART via what pins?
I've had NUCLEO-144-F7 boards (746 and 767) outputting via the ST-LINK provided VCP, using USART3 PD8/PD9
2017-04-09 03:16 PM
I have a NUCLEO-64-F4 board. I also have used VCP interface provided inside the ST-LINK. When I was testing UART, transmission was ok but for reception, I had to place an external crystal which its frequency was
relevant
to UART baud scales. I used a 11.0592MHz one. without that, every recieved byte was crap.Well, I don't know if it has different situations in your board.
2017-04-09 05:25 PM
On the NUCLEO-64 the VCP clashes with the D0/D1 pins for the Shield. It should be getting a good 8 MHz HSE input from the ST-LINK processor, although you'd want to be using HSE BYPASS mode.
2017-04-10 12:35 AM
My board is NUCLEO-144-F746ZGT6.
First i used example of uart-printf in cubeF7 and try to receive data via PD9 (USART3.RX pin) , by 'HAL_UART_Receive()' function, but it never get data and RXNE flag never sets. That example uses USART3 via PD8 and PD9 pins.
After great effort by that example I write my codes in register level, not HAL level, and guess what happened? NO data was received!
I can't find the reson of that.
Could you receive any data from your NUCLEO-144-F746 board?
2017-04-10 12:55 AM
I'd have to review if the receive works.
Check solder bridges.
2017-04-10 12:58 AM
Tank you for your answer dear Mohammad.
I don't think that problem can be by crystal, because I connect TX to RX but again it can't receive any byte.
2017-04-10 01:00 AM
It's connected.
2017-04-10 01:03 AM
I assigned another pin to usart, But the result was the same.
Even I used another usart module and still got the same results.