This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C UART

Hello, i am using TM4C123G Launchpad that interfaces with a wifi module using UART. The wifi module is sending a bulk of data(more than 50B) per time, and the UART receive FIFO can hold only 16B, so the rest of data is missed!

Any help?

Thank you 

  • Let's try working by analogy

    Say you have a mailbox that can only hold three letters. You expect to receive 5 letters in a week but no more than two letters a day. How do you ensure that you receive all the letters and none get dropped on the ground because the mailbox is full?

    Robert
  • I will check the mailbox every day.
  • I will check the mailbox every day.

    Let's call that "polling".

    Now, if you are clever, you can install a lever mechanism inside your mailbox that triggers a bell inside your house, as soon as a letter drops in.

    Let's call this "interrupt".

    In short, the datasheet / reference manual / programming manual for your TM4C controller is a highly suggested read. It might be a bit tedious at first, but it also covers the mechanisms implemented in your MCU to deal with such kind of "peripheral events".