1 Reply Latest reply on Aug 1, 2018 5:30 AM by aani

    fx3 booting chipselect

    Geethanjali_3054931

      Hello,

      In fx3s, the SPI_SS# PIN is connected to SPI FLASH chipselect. How to disable/enable this pin?

      can i make this pin High or high imedence in the firmware?

       

      regards,

      geetha.

        • 1. Re: fx3 booting chipselect
          aani

          Hi Geetha,

           

          Step-1:

          Slave select using firmware

          status = CyU3PSpiSetConfig (&spiConfig, NULL)

          &spiConfig Which contain following parameter.

          spiConfig.ssnCtrl    =/* This is the slave select control using firmware*/.

           

          Step-2:

          CyU3PSpiSetSsnLine (CyFalse);------This api is set false means SPI_SS# pin is deassert.

          CyU3PSpiSetSsnLine (CyTrue);-------This api is set True means SPI_SS# pin is assert.

           

          Please refer the SPI DMA mode  example provided with the SDK in this path: "C:\Program Files (x86)\Cypress\EZ-USB FX3 SDK\1.3\firmware\serialif_examples\cyfxusbspidmamode".

           

          Regards,

          Anil Srinivas.