3-Wire and 4-Wire SPI interface
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-11-26 11:49 PM
Hello,
I have to use STM32F030C6 controller. it has only one SPI interface.
in my project i want to connect external flash memory and TFT DISPLAY both on single SPI with controller.
problem is TFT display is 3-wire SPI interface & flash memory is 4-wire SPI interface.
in 3-wire SPI generally MOSI pin is connected to MISO through 10K resistor.
So how to i configure single SPI of controller as both 3 and 4-wire SPI interface.
Thank you
This discussion is locked. Please start a new topic to ask your question.
1 REPLY 1
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
2018-11-26 11:55 PM
Options may be
- connect to one of the devices through different pins and bit-bang the protocol
- reconfigure the SPI between duplex and half-duplex always when you change the target device (you have to have separate chipselects anyway)
- consider, whether you need to read from the display at all.
JW
