GPIOA won't work with SPI1
Hi,
I am using a Nucleo32 F411RE to control a 2.9inch flexible E-Ink raw display panel from WaveShare. I use their circuit and a copied version of their code they have on their website. The code sends SPI commands over SPI1 of the F411RE and controls Chip Select and other gpio pins at GPIO port A. (PA1, PA2, PA3, PA4, PA5, PA6, PA7).
The problem is that when using SPI1 the GPIO pins dosent change state as should. I have tried the code without SPI and can see with my oscilloscope that the pins behave as they should. When enabling SPI again the pins stop working.
I am using HAL for both SPI transmit and GPIO write but have also tried direkt register manipulation for GPIO write without success.
A workaround is moving all GPIOs to a other port, such as port C, and then everything works without any problem. This is however not an alternetive as my PCB already is orderd.
Why can't SPI1 and GPIOA work simultaniusly and how can I fix so that they can?
