4 Replies Latest reply on Sep 15, 2017 9:46 AM by user_385543602

    How to toggle a pin on an SCB UART component?

    user_385543602

      Hi,

      I am trying to make a break signal by toggling the TX pin off for 100us and then on for 10us.  What is the best way to do this?  I tried this:

                  // Send break

                  UART_DMX_TX_tx_Write(0);

                  CyDelayUs(100);

                  // Make after break

                  UART_DMX_TX_tx_Write(1);

                  CyDelayUs(10);

       

      It does not work, the pin remains high the whole time.

      Please let me know if you have any insight into this.

      Thank you,
      Tom