How to transfer one byte into the uart on the arrival of SOF?

Create a project in CubeMX for TrueStudio, class usbaudio full speed. Device (stm32f103c8t6) is defined in Windows shows that sound is playing.
Tell me, what in the insert @line send byte to uart@ to bytes sent c advent SOF (it needs to come 1000 times per second)
April 19th 20 at 12:23
1 answer
April 19th 20 at 12:25
to use the function send one byte.
it should be necessary, because it is formed from the function of sending strings of bytes.
string of bytes will be in the future, if the sof packet, if it comes, if one byte will be transferred in time.. if it becomes clear to me humanoid as the controller understands what come sof and if it will be clear how to teach the controller to send the bytes (I know how to send bytes to the UART if to send bytes to the UART need to enter a byte and press enter in the terminal) to teach the controller to send bytes to the UART as soon as received by the controller from the host SOF. - Lulu_Stracke42 commented on April 19th 20 at 12:28
@Lulu_Stracke42, the transmission speed of the uart is determined by the preset parameters. on stm32f108 seems the UART in 1024 kHz was raskochegarivaem.
you should first clearly describe what you need and to sort out their thoughts. for a piece of iron usually works well within the hardware and software tools, which you need to study. - Alek_Haag80 commented on April 19th 20 at 12:31
@Alek_Haag80, I have a f103 - Lulu_Stracke42 commented on April 19th 20 at 12:34

Find more questions by tags STMUSBMicrocontrollers