3 Replies Latest reply on Oct 19, 2015 9:41 AM by user_1377889

    Difference between UART_UartInit  and  UART_BCP_Init?

    ben.nguyen

      Using a PSOC4 Pioneer Kit (CY8CKIT-042) I see uart activity on J4.2 (P0_5) only when initialized via:

         

      UART_Start();   UART_UartPutString("Hello\r\n");

         

      but not when initialized via:

         

      UART_BCP_Start(); UART_BCP_SpiUartPutArray("Hello\r\n", strnlen("Hello\r\n", 6)) 
          
      The hardware SCB design is the same in both cases (.cysch file and .cydwr), so the only difference is the software uart initialization files used (UART_BCP_UART.c vs UART_UART.c).

         

      Why does only the non-BCP work?