- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hello all ,
i am trying to interface psoc 5 with a National Semiconductor's sensor,
This sensor works with the Microwire protocol
(Microwire often spelled μWire, is essentially a predecessor of SPI),
i know that in psoc 4 there is a built in block for the Microwire bus (inside the spi block with submode set to National Semiconductor),
but in psoc 5 inside the spi block there isn't such a feature ,
does anyone hes any experience working with this bus on PSOC5 ??
if there isn't a built in block in psoc5 how do you suggest i can interface with this sensor ?
thanks lampel
Solved! Go to Solution.
- Tags:
- microwire
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I hope so ... This is just a quote.
http://origin-www.cypress.com/forum/psoc-4-architecture/spi-microwire-mode
Microwire compared to SPI and I2C | | Do It Easy With ScienceProg
What a sensor. Perhaps someone already has experience working with him.
p.s.
Perhaps this is not so ..
http://www.cypress.com/file/131646/download
page 52
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Google says:
MICROWIRE is a 3Mbps [full-duplex] serial 3-wire interface standard defined by National Semiconductor.
The MICROWIRE protocol is essentially a subset of the SPI interface, CPOL = 0 and CPHA = 0.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
thank you Evgeniy ,
if i understand you correctly are you saying that if i will use
the normal SPI block of the psoc 5 with CPOL = 0 and CPHA = 0 parameters
i should be able to interface with my National Semiconductor's sensor ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I hope so ... This is just a quote.
http://origin-www.cypress.com/forum/psoc-4-architecture/spi-microwire-mode
Microwire compared to SPI and I2C | | Do It Easy With ScienceProg
What a sensor. Perhaps someone already has experience working with him.
p.s.
Perhaps this is not so ..
http://www.cypress.com/file/131646/download
page 52
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You might also try SPI mode 1 (CPHA=1), see Microcontroller Interfaces, Part 2 for a deeper discussion. You also should read the sensors data sheet, it should explain how the interface actually works.