1
Discussion - Software / Using same MPSSE channel for SPI and GPIO
« on: March 16, 2023, 08:06:01 PM »
Hi,
I was wondering if I can configure the same MPSSE channel for SPI and use the remaining 4 pins on the same channel as GPIO (for chip select)?
The LibMPSSE library has a FT_WriteGPIO function, but sets an entire byte and seems to indicate you would use the entire MPSSE channel as GPIO. If it was possible, how would I set just the lower 4 bits when the other 4 lines are used for SPI?
Thanks!
I was wondering if I can configure the same MPSSE channel for SPI and use the remaining 4 pins on the same channel as GPIO (for chip select)?
The LibMPSSE library has a FT_WriteGPIO function, but sets an entire byte and seems to indicate you would use the entire MPSSE channel as GPIO. If it was possible, how would I set just the lower 4 bits when the other 4 lines are used for SPI?
Thanks!