cancel
Showing results for 
Search instead for 
Did you mean: 

Stm32F407zgt6 (DevEbox)- how to use touch spi pins in tft connector

FUzek.1
Associate

I have stm32f407zgt6 board. Came to work with Touch. On tft, I use Touch on xpt2046 via spi, on the stm32_f4x (DevEBox) board, the processor pins are wired as sck - pb0, miso-pb2, mosi- pf12. Pins data, CubeMX cannot map like any of the 3 spi on board the processor. According to the RM, it is not possible to assign them in any way. What, the manufacturer of the board conceived that there will be a software spi for the wheelbarrow, or are there some secret methods for remapping pins?

3 REPLIES 3

https://github.com/mcauser/BLACK_F407ZG

https://github.com/mcauser/BLACK_F407ZG/blob/master/docs/STM32F407ZGT6_schematics.pdf

Probably going to have to bit-bang it

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..
FUzek.1
Associate

Sorry. Bit_bang? Are you mean cut the pins?

Or bit-band? For blenking this is easy... Can you give me example of it for SPI2, i'm novce.

https://en.wikipedia.org/wiki/Bit_banging

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..