Skip to main content
Visitor II
November 27, 2023
Question

AN4457-emulated-uart

  • November 27, 2023
  • 1 reply
  • 1018 views

안녕.

HAL_UART_Emul_Receive_DMA 및 HAL_UART_Emul_Transmit_DMA를 사용하고 있습니다.

1Byte R/W를 시도 중입니다. stm32 go Error_Handler();

코드를 어떻게 변경해야 하나요?

 

감사합니다.

 

    This topic has been closed for replies.

    1 reply

    Technical Moderator
    November 27, 2023

    Hello @JLee.21 ,

    Thanks to develop your posts in English so it helps us, and the users of our community understand your question and try to help you.

    I've translated your question using a translation tool to increase the chances of getting you a reply from our experts and community members, since the majority interact in English.  

    Here is the translation of your post using Google translate:

    hi.

    I am using HAL_UART_Emul_Receive_DMA and HAL_UART_Emul_Transmit_DMA.

    Attempting 1Byte R/W. stm32 go Error_Handler();

    How should I change my code?

    Thank you.

     Are you using STSW-STM32156 example ?

    Could you please give more details about your hardware? Are you using NUCLEO-F401RE boards?

    Thank you.

    Kaouthar

    JLee.21Author
    Visitor II
    November 27, 2023

    Hi, KDJEM1.

    Yes, I'm using en.stsw-stm32156.zip.

    I'm using stm32f4-discovery(stm32f401vct) board.

    en.stsw-stm32156.zip code works very good, but it's receiving 2Byte adding last Byte 0x00 just write 1Byte.

    So, How should i change code. also i want receive DMA using circuler mode.

    Thank you.