5 Replies Latest reply on Jun 6, 2012 9:02 PM by content.librarian

    Config of IO-Matrix : UART, SPI, GPIF and GPIO

    content.librarian

      The FX3 is new for me, and I find it difficult to information about how to configure the IO matrix.

         

      If i set 1 bit in "io_cfg.gpioComplexEn[1]" or "io_cfg.gpioSimpleEn[1]", my application don't start.

         

       

         

      My need : 

         

      GPIF:

         

          GPIF IO[0..7]                 (8 bit GPIF data bus)

         

          PCLK (GPIO[16])         (Clock for GPIF)

         

          GPIO[28] & GPIO[29]  (Input for GPIF)

         

       

         

      SPI:

         

          SPI_SCK (GPIO[53])

         

          SPI_SSN (GPIO[54])

         

          SPI_MISO (GPIO[55])

         

          SPI_MOSI (GPIO[56])

         

       

         

      UART:

         

          UART_TX (GPIO[48])

         

          UART_RX (GPIO[49])

         

       

         

      GPIO:

         

          GPIO[22]  (Output)

         

          GPIO[34]  (Output)

         

          GPIO[36]  (Output)

         

          GPIO[37]  (Input)

         

          GPIO[38]  (Input)

         

          GPIO[39]  (Input)

         

          GPIO[40]  (Output)

         

          GPIO[41]  (Output)

         

          GPIO[46]  (Output)

         

       

         

      Poul-Erik.