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
MOD5213 SPI with 23LCV512 Chip
Re: MOD5213 SPI with 23LCV512 Chip
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.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.
Re: MOD5213 SPI with 23LCV512 Chip
Ordered an Intronix Logicport analyzer.
This is much better - and more fun.
Thanks to those of you who took a minute or two ...... !
Tom
This is much better - and more fun.
Thanks to those of you who took a minute or two ...... !
Tom
- Chris Ruff
- Posts: 222
- Joined: Thu Apr 24, 2008 4:09 pm
- Location: topsail island, nc
- Contact:
Re: MOD5213 SPI with 23LCV512 Chip
?
So you are stating that the Intronix is superior to the saleae that you already have?
Chris
So you are stating that the Intronix is superior to the saleae that you already have?
Chris
Real Programmers don't comment their code. If it was hard to write, it should be hard to understand
Re: MOD5213 SPI with 23LCV512 Chip
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
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