Main Site Documentation

SPI Slave Implementation


#1

I would like to use the ChipWorx as a SPI slave which emulates a Rosemount 205 sensor. Has anyone had any success implementing a SPI slave?

http://www2.emersonprocess.com/siteadmincenter/PM%20Rosemount%20Documents/00813-0100-4205.pdf


#2

How did determine it need slave SPI?


#3

Because the SPI master on (the Electronic Flow Computer) Polls it.


#4

I mean I looked at the sheet you posted but it doesn’t say anything about this.


#5

The device that is the SPI master in this case is the FloBoss 103:

http://www2.emersonprocess.com/en-US/brands/FloBoss/gasflowcomputers/103/Pages/103.aspx


#6

Gus, he needs to make a chipworks look LIKE that sensor that he posted.

The sensor is SPI slave, so he needs the chipworks to be SPI slave…


#7

Emulate the sensor?


#8

Correct. I need to play back test cases to the Electronic Flow Computer using ChipWorx.


#9

Oh now I see why. You can do that using RLP only.


#10

Can GHI make an abstraction layer for basic request repsonse protocols?


#11

GHI can make about anything through our consulting services. Please contact GHI directly if this is something you are interested in.


#12

I will. Is GHI closed for the long weekend?


#13

Not everyone worked today but we will be back on Monday.


#14

Hi Gus,

Have you implemented the slave SPI on the G120?
Same thing as Jason needed, we need our G120 to be a slave device on SPI bus.

Thx


#15

As you can see, the request was over a year ago. This is very rarely needed. You can still implement it using RLP or register access if you like. We have no plans on adding it in the near future.

Welcome to the community.


#16

Software bit banging version (lower speed) would probably be feasible too.


#17

@ GUS @ Architect
Thanks for your replies. We will probably do it by software…the only problem is that the SPI2 pins are not GPIO and the board is routed…
But now I know which orientation to take. Thanks again. SPI SLAVE file closed.