1 2 Previous Next 18 Replies Latest reply on Mar 13, 2015 1:19 PM by user_1377889

    UART and MUX, DEMUX use Control Reg for some RX input and TX ouput

    son.nguyen

       Hi Everyone. I have a poject use Uart and Control.

         

      My Uart have 3 input RX,  RX - GPS, RX- LCD,  RX- GSM; and 3 output for TX - LCD, TX-GSM,TX-GPS.

         

      I use control reg for choise only  input RX, and output TX.

         

      Please tell me some advices that:

         

      Fisrtly tell me: I should use while(1) for getchar() data buffer in UART? (or)  I should use interupt UART for getchar() data buffer? Because?

         

      this is image:

        1 2 Previous Next