Important changes to forums and questions
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
All forums and questions are now archived. To start a new conversation or read the latest updates go to forums.mbed.com.
Hi,
I've configured a 16bit bus using the PortOut function but at the same time need access to one of the SPI interfaces unfortunately the 16 bit bus uses the same pins as the SPI interfaces. I've had ago at creating a SPI object when needed and then returning the pins back to the 16 bit bus using the PortOut function but it doesn't work. I guess the two can't use the same pins.
Is it possible to switch between the two in this way?