Skip to main content
mdeneen
Associate III
July 31, 2009
Question

STM32 FIFO depth

  • July 31, 2009
  • 3 replies
  • 1015 views
Posted on July 31, 2009 at 15:09

STM32 FIFO depth

    This topic has been closed for replies.

    3 replies

    mdeneen
    mdeneenAuthor
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 13:19

    How deep is the USART FIFO on the STM32 micros? The documentation suggests one byte, but it feels like more than that from testing.

    mdeneen
    mdeneenAuthor
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 13:19

    I must be doing something wrong then. I'm using a rs485 transceiver, so I rx what I tx. If I disable the 485 driver after the last TXE interrupt, I never receive the last few (3) characters. If there were no FIFO, I would expect not to receive just the last character as it was in the shift register while the driverwas disabled.

    I trust you but, like I said, I must be doing something wrong.

    [ This message was edited by: mdeneen on 31-07-2009 18:43 ]

    16-32micros
    Associate III
    May 17, 2011
    Posted on May 17, 2011 at 13:19

    Hi,

    We do not have FIFOs in our STM32F10xx USART, However we have DMA as an efficient alternative for Data movements and without CPU usage instead of FIFOs : I highly suggest you to have a look at this App Note

    http://www.st.com/stonline/products/literature/an/13529.pdf

    Cheers,

    STOne-32.