2 Replies Latest reply on Sep 21, 2015 10:14 PM by Madhu Lakshmipathy

    How to use UART on S1-Port

    @gmail.com

      Hello

         

      I find UART on S1-Port in FX3S but I can't find how to configure S1-port.

         

      Could you tell me some advice?? I use custom board based on FS3S EVM. Only way to Communicate UART is S1 Port.

         

      Regards

         

      Shin.

        • 1. Re: How to use UART on S1-Port
          @gmail.com

          Hello?? Nobody here??

             

          I wanna handle GPIO+UART+I2S mode on S1. but I can't find configuration register for S1.

             

          Regards

             

          Shin.

          • 2. Re: How to use UART on S1-Port
            Madhu Lakshmipathy

            Hi,

               

            Sorry for the delay

               

            The FX3S has 2 sets of UART. One is from GPIOs 53 to 56. The other one is on S1 port (GPIOs 46 to 49). By defalut 53 to 56 is used as UART. If you want to use the UART on S1 port, then you need to enable the SPI interface in your firmware.  Though you may not use SPI in your application you need to enable it.

               

            In the CyU3PDeviceConfigureIOMatrix API, set useUart = CyTrue; useSpi = CyTrue; io_cfg.lppMode = CY_U3P_IO_MATRIX_LPP_DEFALUT

               

            Regards,

               

            - Madhu Sudhan