cancel
Showing results for 
Search instead for 
Did you mean: 

HAL_UART_Transmit_DMA 使用 HAL_UART_AbortReceive 後異常

YutinhLin
Visitor

Dear @YutinhLin ,

Post Edited by ST moderator to apply source code formatting and translate from Chinese to English to comply with the community rule:

Best regards,

Gyessine

 

晶片型號 : STM32H723VGTx

RX 與 TX Buffer 都已配置到 D2 區塊

使用狀況 :

第一次執行 HAL_UART_Transmit_DMA 正常

執行 HAL_UART_AbortReceive() -> HAL_UARTEx_ReceiveToIdle_DMA() 後

再執行 HAL_UART_Transmit_DMA 無法正常工作

請問這樣的使用方式是否正確

或是需要另外的設定動作才能再正常使用

Chip model: STM32H723VGTx

Both the RX and TX buffers are allocated in the D2 domain.

Usage scenario:

The first execution of HAL_UART_Transmit_DMA operates correctly.

After executing HAL_UART_AbortReceive() followed by HAL_UARTEx_ReceiveToIdle_DMA(), subsequent execution of HAL_UART_Transmit_DMA does not function as expected.



 

0 REPLIES 0