cancel
Showing results for 
Search instead for 
Did you mean: 

UM1734 - Issue with the ''Usage'' description?

shingadaddy
Senior
Posted on December 13, 2016 at 21:59

Is it just me or is the ''Usage'' stuff mostly upside down and backwards?

Me - I'm tending to believe the README.  

------------------------------------------------

UserTxBuffer

Manual UM1734:

0690X00000605q6QAA.png

README.TXT:

- 1 x Bulk IN endpoint for receiving data from STM32 device to PC host:

When data are received over UART they are saved in the buffer ''UserTxBuffer''. Periodically, in a

timer callback the state of the buffer ''UserTxBuffer'' is checked. If there are available data, they

are transmitted in response to IN token otherwise it is NAKed.

The polling period depends on ''CDC_POLLING_INTERVAL'' value.

-------------------------------------------------

UserRxBuffer

Manual UM1734:

0690X00000605q2QAA.png

README.TXT:

- 1 x Bulk OUT endpoint for transmitting data from PC host to STM32 device:

When data are received through this endpoint they are saved in the buffer ''UserRxBuffer'' then they

are transmitted over UART using interrupt mode and in meanwhile the OUT endpoint is NAKed.

Once the transmission is over, the OUT endpoint is prepared to receive next packet in

HAL_UART_TxCpltCallback().

0 REPLIES 0