shadow-robot / sr-ronex

Contains ROS packages for RoNeX (Robot Nervous System)
http://www.shadowrobot.com/products/ronex/
Other
8 stars 3 forks source link

Possible bug in >= 28 byte transactions #118

Open Rocketmagnet opened 10 years ago

Rocketmagnet commented 10 years ago

To reproduce: Connect an SPI device to the Ronex. Connect a logic analyser to observe SPI traffic on the wire. Use the C bindings to talk to the service.

A working situation: Perform a 24-byte transaction. Using the logic analyser, see the data is correct on the wire. Data returned by the service is correct too.

A non-working situation: Perform a 28-byte transaction. Using the logic analyser, see the data is correct on the wire. Data returned by the service is all zeros (usually. The occasional non-zero value turns up).

ugocupcic commented 10 years ago

This is not directly a problem for TCAT I believe?

On 7 February 2014 15:24, Rocketmagnet notifications@github.com wrote:

To reproduce: Connect an SPI device to the Ronex. Connect a logic analyser to observe SPI traffic on the wire. Use the C bindings to talk to the service.

A working situation: Perform a 24-byte transaction. Using the logic analyser, see the data is correct on the wire. Data returned by the service is correct too.

A non-working situation: Perform a 28-byte transaction. Using the logic analyser, see the data is correct on the wire. Data returned by the service is all zeros (usually. The occasional non-zero value turns up).

Reply to this email directly or view it on GitHubhttps://github.com/shadow-robot/sr-ronex-dev/issues/118 .

Ugo Cupcic Senior Software Engineer+44 20 7700 2487ugo@shadowrobot.com www.shadowrobot.com


Shadow Robot Company Ltd. 251 Liverpool Road, N1 1LX, UK Registered Number 3308007 (England & Wales)

RoNeX - Building Robots with ROS Made Easy

http://www.shadowrobot.com/products/ronex/

toliver commented 10 years ago

Wireshark should show if the all-zeros package is coming from the ronex. If not, it's a host side problem.

Rocketmagnet commented 10 years ago

"This is not directly a problem for TCAT I believe?"

I was because I spent about a day trying to work out why I couldn't read the Impulse response data from the chip. I've now got it working by reading the data in smaller chunks.

ugocupcic commented 10 years ago

sure what I mean is that you're not stuck anymore because of us so we don't need to address that right now (lots of stuff in the pipeline as always, sorry :S )

On 7 February 2014 16:36, Rocketmagnet notifications@github.com wrote:

"This is not directly a problem for TCAT I believe?"

I was because I spent about a day trying to work out why I couldn't read the Impulse response data from the chip. I've now got it working by reading the data in smaller chunks.

Reply to this email directly or view it on GitHubhttps://github.com/shadow-robot/sr-ronex-dev/issues/118#issuecomment-34451109 .

Ugo Cupcic Senior Software Engineer+44 20 7700 2487ugo@shadowrobot.com www.shadowrobot.com


Shadow Robot Company Ltd. 251 Liverpool Road, N1 1LX, UK Registered Number 3308007 (England & Wales)

RoNeX - Building Robots with ROS Made Easy

http://www.shadowrobot.com/products/ronex/