Microwire protocol with psoc 5 ?

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
EyLa_1625036
Level 3
Level 3
10 likes given 10 sign-ins 25 replies posted

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  

0 Likes
1 Solution

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

View solution in original post

0 Likes
4 Replies
EvPa_264126
Level 7
Level 7
500 replies posted 250 replies posted 100 likes received

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.

http://www.microchip.com/forums/m202051.aspx

0 Likes

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 ?

0 Likes

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

0 Likes

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.

0 Likes