2021-09-15 02:58 AM
2021-09-15 06:34 AM
Hook up TX on one MCU to RX on the other, and vice-versa. Use HAL_UART_Transmit/HAL_UART_Receive to send. Should be examples in the CubeMX repository.
2021-09-15 07:17 AM
hello sir , thank you
i am trying to link stm32 to other unit board already programmed when i enter for exemple a référence as input ( F01 98 7 /r) i expect in return to receive " OK " after the test
this can be done using docklight , but i need to know if there is a way to program stm32 with C language
thank you
2021-09-15 07:24 AM
> but i need to know if there is a way to program stm32 with C language
If you're new, there should be a lot of videos on STM32CubeIDE to get started.
But if your goal is just to send data over UART and receive data back, a USB to UART adapter seems like a faster/easier/better choice.