You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Current Uart handler does not support having DMA reception in listening mode, and also using DMA to do transmissions. As written, Tx dma jobs will always be queued as dma_active_peripheral_ is always set in listening mode, and the Tx job never gets dequeued
I was able to get it to work for my setup by pinning the HalUartDmaRxStreamCallback to use USART_1 always, taking out the dma job queueing in DMATransmit, and taking out the wait on HAL_UART_GetState(&huart_). I also had to call DmaListenStop before starting the transmit, and could call DmaListenStart pretty much immediately after.
The text was updated successfully, but these errors were encountered:
Current Uart handler does not support having DMA reception in listening mode, and also using DMA to do transmissions. As written, Tx dma jobs will always be queued as dma_active_peripheral_ is always set in listening mode, and the Tx job never gets dequeued
I was able to get it to work for my setup by pinning the HalUartDmaRxStreamCallback to use USART_1 always, taking out the dma job queueing in DMATransmit, and taking out the wait on HAL_UART_GetState(&huart_). I also had to call DmaListenStop before starting the transmit, and could call DmaListenStart pretty much immediately after.
The text was updated successfully, but these errors were encountered: