To: | |
---|---|
Subject: | Re: [ts-7000] Re: problem with SSP : spi format + Slave Mode |
From: | Brian Newberry <> |
Date: | Wed, 5 Jul 2006 06:30:34 -0700 (PDT) |
I encountered a similar problem when trying to use the TS-7200 SPI port and I don't think its your software or the way you are trying to set up as the slave. It may be a problem with your physical setup or a limitation thereof. My problem was the interference that the signal lines caused on one another. The crosstalk between the wires was significant enough to hose the communication completely past a certain speed. SPI is a great way to get high speed communication when the two chips communicating are on the same board where small traces of PCB are used to connect devices, but the bandwidth should be limited by trying to connect using a cable especially one of any significant length. If you have access to an oscilliscope try sending the same byte multiple times and try to capture each signal line on the screen. If you do this I think you will see that when two lines go low or
high simultaneously this will cause a spike on the other lines large enough to mess up the transmission. Obviously this kind of interference will not allow your reciever to interpret the data correctly. It is also very important to make sure your wires are all the same length. This will skew your results which gets worse as your clock speed increases. What I did to get my system to work was used a short length of ribbon cable to connect the TS-7200 SPI to my peripheral. This gave me the exact same length on all wires and allowed me to put ground lines between every signal. This is a trick I think is done on IDE cables as well to help mitigate crosstalk on the wires. I was still only able to get speeds of up to 1.1 MHz to work flawlessly. As I sped up the clock my performance degraded. So even with my setup I still didn't get much faster than what you are
describing that you have already acheived. So it may be you've done everything right and will still be unable to get the high speeds that you want. Brian suptouch <> wrote:
Do you Yahoo!? Next-gen email? Have it all with the all-new Yahoo! Mail Beta. __._,_.___
SPONSORED LINKS
YAHOO! GROUPS LINKS
|
<Prev in Thread] | Current Thread | [Next in Thread> |
---|---|---|
|
Previous by Date: | [ts-7000] Re: Modules for 2.4.26-ts11, themoog5 |
---|---|
Next by Date: | Re: [ts-7000] libusb, Michael Surran |
Previous by Thread: | [ts-7000] Re: problem with SSP : spi format + Slave Mode, suptouch |
Next by Thread: | [ts-7000] Re: problem with SSP : spi format + Slave Mode, suptouch |
Indexes: | [Date] [Thread] [Top] [All Lists] |
Disclaimer: Neither Andrew Taylor nor the University of NSW School of Computer and Engineering take any responsibility for the contents of this archive. It is purely a compilation of material sent by many people to the birding-aus mailing list. It has not been checked for accuracy nor its content verified in any way. If you wish to get material removed from the archive or have other queries about the archive e-mail Andrew Taylor at this address: andrewt@cse.unsw.EDU.AU