Is there any good documentation or examples for how to use the STM32L4 HAL USARTEx FIFO functionality?
Previously posted to the STM32 "community", but it appears this might be the more appropriate forum...?
Perhaps I'm a bit thick and am missing something, but it appears that in the most recent versions of the STM32L4 HAL that FIFO support has been added in the USART extension driver. Specifically, there are functions defined:
HAL_USARTEx_EnableFifoMode()
HAL_USARTEx_DisableFifoMode()
HAL_USARTEx_SetTxFifoThreshold()
HAL_USARTEx_SetRxFifoThreshold()
HAL_USARTEx_RxFifoFullCallback()
HAL_USARTEx_TxFifoEmptyCallback()
However, the documentation for these is minimal at best, and there are "#if defined(USART_CR1_FIFOEN)" statements throughout the driver code, and I can find no definition for USART_CR1_FIFOEN anywhere, or how this should be defined. Can anyone shed some light on whether this USART FIFO functionality is supported, and how I can get it working?