8 Replies Latest reply on Aug 30, 2017 3:36 AM by Jishan

    how to use uart receive interrupt in FreeRTOS for galileo


      i am using FreeRTOS on galileo board i can send and receive data using uart but i want used receive interrupt for receiving data from user input.


      uint8_t ucGalileoGetchar()


          uint8_t c = 0;

          if (bGalileoSerialPortInitialized)


              while((mem_read(UART_MMIO_Base, R_UART_LSR, 1) & B_UART_LSR_RXRDY) == 0);

                   c  = mem_read(UART_MMIO_Base, R_UART_BAUD_THR, 1);


            return c;



      this is just a character reading function but polling method i need interrupt method.