- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am using hc595 shift register and want to use SPI in transmit only mode, there is no MISO connection in hardware... if i left the MISO pin unconnected in creator it throws an error Terminal "miso" requires a connection when it is visible... How to deal with this, if I only want to transmit..
Solved! Go to Solution.
- Labels:
-
BLE
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Easiest would be to use the SPIM in bi-directional mode. This will save you the MISO pin.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Easiest would be to use the SPIM in bi-directional mode. This will save you the MISO pin.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for immediate reply. In bidirectional mode I think I have to use a bidirectional pin as well, but my purpose is just using pin as output.
Other than that does SPI functions like send works in a similar manner or do I need to make some changes there ?
Isn't it possible to hook miso pin to logic high /low ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I cannot see that the SPI bidirectional master macro uses a bi-directional pin. Check for yourself.
Isn't it possible to hook miso pin to logic high /low ? Probably not.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I will check and update here.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
When in PSoC4 world, you may use the SCB based SPI interface which allows for removing MISO pin in configuration dialog.
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You are right, but problem is hardware is already fabricated and I don't have this option because for using SCB mode all pins for that SCB block should be free.