2025-03-17 12:25 AM
I want NUCLEO-U083RC board able to receive data from Huskylens for colour/object recognition project. I did manage to run a demo code but still can't receive data from Huskylens. I have use HAL_UART_RECEIVE and HAL_UART_RECEIVE_IT function and still got no output from Huskylens.
Code I'm currently using:
2025-03-17 4:29 AM
Hello @AmirImran and welcome to the community;
Could you please check the SB45 and SB48 solder bridge.
It is mentioned in UM3256 that you can used USART2 as USART if SB45 and SB48 are ON. By default, these solder bridge are open.
Thank you.
Kaouthar
To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
2025-03-17 4:37 AM
I strongly suggest to use a scope or logic analyzer, and follow up the path of the supposed UART signal, all the way from your Huskylens device to the Nucleo.
Especially at the source (Huskylens Tx) and the sink (STM32Uxx Rx pin).
This should tell you where to look next.
2025-03-17 4:42 AM
Welcome to the forum.
Please see How to insert source code - not as images.
@AmirImran wrote:can't receive data from Huskylens.
Can you receive data from anything else - eg, a PC terminal?
Can you send data to a PC terminal ?
As @Ozone said, have you proved that valid data is actually reaching your STM32's UART RX pin?
Some serial comms debugging tips here: