3 Replies Latest reply on Sep 5, 2019 1:04 AM by HeKa_1704711

    uart 9bit data 62,5kbps

    HeKa_1704711

      Hi

       

      I try to receive 9 bit Data on uart.

       

      I know that the 9th data is in the Mark/Space reg.. Unfortunately I do not find out how I got there.

      An other problem is that I not receive a Buffer sice. what am I doing wrong? I use the uart(SCB-Mode) v4.0 on the CYBLE-224116-01

       

       

      SW:

       

      CyGlobalIntEnable;

      UART_2_Start();

       

      for(;;)

      {

           if(UART_2_SpiUartGetRxBufferSize()!=0)// data received?

           {

                test_pin_Write(1);     //set pin 1

                ZentralIn=UART_2_UartGetByte(); // read out 8 bit

          

                //read out 9th data??

          

           }

      }

       

      thanks

       

      Heidi