Page 2 of 2

Re: MOD5213 SPI with 23LCV512 Chip

Posted: Tue Mar 26, 2013 10:11 am
by treddick
Hey guys

Situation: Good. Project is working almost as well as the forum !!

Somewhere I read a Netburner comment about using a GPIO pin for /CS until everything is sorted out with a particular SPI project, so, after the glitch I wired up MOD5213 Pin 15 as /CS and the setup is actually operational !

1st Clue:
- QSPIInit() was set for 16 bit transfers
- 2 byte writes and reads were okay
- > 2 byte writes & reads not okay

2nd Clue:
- QSPIInit() was set for 8 bit transfers
- added pullup R to QSPI /CS line to chip
- glitch > 25 nS on storage scope on QSPI /CS line (MOD5213 pin 35)

Tom

Re: MOD5213 SPI with 23LCV512 Chip

Posted: Tue Mar 26, 2013 11:39 am
by seulater
One final comment with regards to the Salae Logic. It's a streamed analyzer with no buffering. The 24MHz sampling limit is due to USB 2.0 bandwidth.
This is true. For I2C this is not an issue. For very fast SPI it can be. but an easy way to get around this limitation is simply to turn down the SPI speed so you can prove what is being sent and received correctly to tweak your software. When all is good, then kick the SPI speed back up and your good to go.

Re: MOD5213 SPI with 23LCV512 Chip

Posted: Wed Apr 03, 2013 11:43 am
by treddick
Ordered an Intronix Logicport analyzer.

This is much better - and more fun.

Thanks to those of you who took a minute or two ...... !

Tom

Re: MOD5213 SPI with 23LCV512 Chip

Posted: Wed Apr 03, 2013 12:00 pm
by Chris Ruff
?

So you are stating that the Intronix is superior to the saleae that you already have?

Chris

Re: MOD5213 SPI with 23LCV512 Chip

Posted: Tue Apr 16, 2013 3:15 pm
by treddick
Hi Chris

No, I just decided it was a good time to do something about analyzers so I ordered up a Logicport.

In this instance, it didn't do any more for me than the scope. I didn't have any analyzers previously - just the scope.

I wouldn't say it is better than any other model but it is fast and good for what I wanted to see.

Tom