This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

F28335 GPIO as Chip Select

Hi,

For the F28335: can a GPIO be used as a chip-select ? If SCIRXDA is used for serial comm -  only 2 chip selects CS0 and CS7 remain... and we need 4.

Thanks
Sid

  • I guess it depends on the application, but I have used GPIO as chip selects before.  Unless the timing needs to be very accurate, simply lower (or raise) a GPIO pin when you are talking to a certain chip, do your communication and when it is finished raise (or lower) the GPIO pin. Note you have to program in the GPIO changes separately, they won't be done automatically by the chip.

    Tim

  • Another thing to make sure of is that no buffered writes are pending on the XINTF bus before you change the chip select.  There is a field in the XINTF registers that will tell you the level of the write buffer.

    -Lori