6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Thu Mar 28, 2024 9:29 pm

All times are UTC




Post new topic Reply to topic  [ 241 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9, 10, 11 ... 17  Next
Author Message
 Post subject:
PostPosted: Wed Jul 27, 2011 6:25 pm 
Online
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8412
Location: Southern California
At these high frequencies and fast rise times however, the main purpose of a plane is that as it runs under a trace, with no interruption, a current equal to that in the trace runs in the oposite direction in the plane, directly under the trace, eliminating common-mode signals. The return current does not take the shortest available path, but rather takes the shape of the trace. The elimination of the common-mode current cuts the radiation as well as the sensitivity to radiated signals way down, and makes a low-loss transmission line instead of an inductor and antenna. You don't have a real ground plane on this board, but hopefully it will work fine since it is so small and the traces are so short.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Jul 27, 2011 6:35 pm 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
Ah, this is some great information!
But just to clarify. I have stated that this is a 4-layer miniboard pro. So with this in mind, do you guys see any problems?
The plane you see on the right is an attempt for a separate analog ground connected at one point to the digital ground plane. The plane on the left is an attempt to "shield" the USB data- and data+ signals. I just sorta threw that in at the last moment.


Last edited by ElEctric_EyE on Tue Nov 22, 2011 12:43 am, edited 2 times in total.

Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Jul 27, 2011 8:44 pm 
Online
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8412
Location: Southern California
Quote:
But just to clarify. I have stated that this is a 4-layer miniboard pro. So with this in mind, do you guys see any problems?
The plane you see on the right is an attempt for a separate analog ground connected at one point to the digital ground plane.

So you do have power and ground planes inside that don't show? That's good. Make sure you have good power-to-ground bypassing right at the point where the analog and digital planes meet, and that sensitive or high-speed traces that cross the barrier do so right near that one point. The digital and analog ground planes can be on the same layer since they should not overlap. You can separate them with a chainsaw line, like this which I used on a small board to separate analog sections from the switching power supply (shown about three times actual size here):

Image

Traces should not cross the chainsaw line away from where the ground planes come together, unless you want an antenna (which is how some antennas are made on things like cell phones).

Many, many articles are available on the subject. If you want to do a search, a couple of notable authors who come to mind are Dr. Howard Johnson (guru of high-speed digital design), and Bonnie Baker who has been senior applications engineer at Texas Instruments and analog/mixed-signal applications engineering manager at Microchip, and author of "A Baker's Dozen: Real Analog Solutions for Digital Designers".


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Wed Jul 27, 2011 9:37 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8114
Location: Midwestern USA
ElEctric_EyE wrote:
Ah, this is some great information!
But just to clarify. I have stated that this is a 4-layer miniboard pro. So with this in mind, do you guys see any problems?
The plane you see on the right is an attempt for a separate analog ground connected at one point to the digital ground plane. The plane on the left is an attempt to "shield" the USB data- and data+ signals. I just sorta threw that in at the last moment.

In my opinion, if you're using the four-layer miniboard the filled planes are extraneous, and could result in instability under certain conditions. Better to go with Garth's suggestion about "chain sawing" the internal ground layer if you are truly worried about isolating the analog side of things from the digital. However, my experience has been that such a maneuver is unnecessary.

With the ground and power layers covering the full board area, you have what amounts to a gigantic bypass capacitor. Also, the ground bounce effect often seen with high speed digital circuits is not an issue. I've 'scoped things on my POC unit and have noted that absolutely nothing shows up in those layers.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Jul 29, 2011 11:54 am 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
Ah, so I have made some bad choices in my attempt at an analog ground plane since it is overlapping either the ground plane or the power plane, not sure which?
The video using the 4954 and the audio most likely will be abit noisy. Hopefully it won't be too bad. Will have to wait and see. I think the next version I will take BDD's advice on keeping everything on the same ground plane.
Also, for the next version I would like to use a larger/or multiple Config PROMs. One that can hold 2 or 3 config's for the FPGA. Once I get an SOP for JTAG connections, I can eliminate alot of jumpers and free up some board space... The first config would write and read from certain memory locations in order to see what I/O is out there, from the attached daughterboards. Then it would write some values into the SPI Flash. Then it would go to the 2nd or 3rd config based on what is read from the SPI Flash. This will allow the design to be even more flexible. I've been reading a few datasheets, just now I can't remember where I've read about this... Will check.

Also, just got email from ExpressPCB, boards have shipped from Portland, OR.


Last edited by ElEctric_EyE on Tue Nov 22, 2011 12:43 am, edited 2 times in total.

Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Fri Jul 29, 2011 1:34 pm 
Offline

Joined: Mon May 24, 2004 8:48 pm
Posts: 59
Quote:
Also, for the next version I would like to use a larger/or multiple Config PROMs. One that can hold 2 or 3 config's for the FPGA....


What about to use a micro to config fpga ?? , much cheaper .

Greetings

Here is some info (for spartan 2 family)


http://www.retroleum.co.uk/electronics-articles/spartan-ii-configuration/


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Sun Jul 31, 2011 10:12 pm 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
Sorry, been away past 3 days, or I would've responded earlier...

bound, I've seen a Xilinx appnote where a microblaze CPU controls some of the JTAG signals, but I'm not familiar with PIC controllers or the microblaze CPUs... I'm still looking for where I originally saw that info on a multi-config setups for systems that need a self-check...

When I get hung up on one thing I pursue the project from a different angle...

I'm laying out a daughterboard(s) that will be using SRAM memory only using a Cypress 1MBx16 (16Mb). They're $40 each!...

Arlet, are you still here? How can we address maximizing memory using SDRAM. Those 16Mx16 SDRAMs are only $5 each! I could probably fit 8 of them per board...

Anyway, I'm going forward with placement for the SDRAM...
I'm not building an 8Mx16 SRAM memory board for $320.
Better to build a board fitted for 128Mx16. Pay $100 and get 3 boards, and to populate each board it only costs $40+extraneous bypass caps, headers, etc.


Last edited by ElEctric_EyE on Tue Nov 22, 2011 12:44 am, edited 2 times in total.

Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Aug 01, 2011 9:47 am 
Offline
User avatar

Joined: Tue Nov 16, 2010 8:00 am
Posts: 2353
Location: Gouda, The Netherlands
ElEctric_EyE wrote:
Arlet, are you still here? How can we address maximizing memory using SDRAM. Those 16Mx16 SDRAMs are only $5 each! I could probably fit 8 of them per board...


Yes, I'm still here. Been busy with work lately. I'm not sure I understand your question. Can you elaborate ?


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Aug 01, 2011 10:35 am 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
Arlet wrote:
Yes, I'm still here. Been busy with work lately. I'm not sure I understand your question. Can you elaborate ?

Great! Thought you left for good. I won't keep you long...
I know I can make 8 SRAMs work, but they're too expensive. Using SDRAMs are cheaper, but you are the only one here that seems to know what they're doing when it comes to SDRAM's.
For the memory expansion daughterboards, do you foresee a way to possibly use 8 or more SDRAM's?
Not asking for code or anything, but is this realistic?


Last edited by ElEctric_EyE on Tue Nov 22, 2011 12:44 am, edited 2 times in total.

Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Aug 01, 2011 5:21 pm 
Offline
User avatar

Joined: Tue Nov 16, 2010 8:00 am
Posts: 2353
Location: Gouda, The Netherlands
ElEctric_EyE wrote:
Arlet wrote:
For the memory expansion daughterboards, do you foresee a way to possibly use 8 or more SDRAM's? Not asking for code or anything, but is this realistic?


It should be the same principle as for SRAMs. The SDRAM have a CS pin, and you select a chip by pulling it low. You can hook those up directly to the FPGA if you have enough pins free. You could also put a 3->8 decoder in there, but that may increase the access time.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Aug 01, 2011 5:26 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8114
Location: Midwestern USA
Arlet wrote:
ElEctric_EyE wrote:
Arlet wrote:
For the memory expansion daughterboards, do you foresee a way to possibly use 8 or more SDRAM's? Not asking for code or anything, but is this realistic?


It should be the same principle as for SRAMs. The SDRAM have a CS pin, and you select a chip by pulling it low. You can hook those up directly to the FPGA if you have enough pins free. You could also put a 3->8 decoder in there, but that may increase the access time.

What do you do about refreshing the SDRAMs?

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Mon Aug 01, 2011 5:48 pm 
Offline
User avatar

Joined: Tue Nov 16, 2010 8:00 am
Posts: 2353
Location: Gouda, The Netherlands
BigDumbDinosaur wrote:
What do you do about refreshing the SDRAMs?


Depends. If you hook them up through individual CS# pins, you can assert them all at the same time, and refresh them in parallel. This would be the same as refreshing a single device.

If you use a decoder, they must be refreshed one by one, so it'll take 8 times as long.


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Aug 02, 2011 1:08 am 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
Very good! I have a second board to design now. Will see how many of these memory chips I can fit on a board. Will try for 16 on 1 board. 8 on the bottom, 8 on top. Although, I can already see I would have to skimp on bypass caps if I try to fit the IC's on both sides...
That will pretty much max out the spare IO pins on the Spartan 6, with each 16Mx16 SDRAM having a separate CS, as there are 20 spare IO pins now.
This memory expansion daughterboard would be one option for a user.
I'll work on it during my spare time waiting for parts.

Boards came today and they look awesome! Still looking them over and have to test for shorts between layers and stuff like that, but man I guess they don't kid when their program measures down to the .001". It is exact. Some vias very close to each other and some close to other lines I though might be shorted, but they are clean. Whew! This ExpressPCB company is awesome! So far I fitted the Spartan 6 on the custom template I made from the datasheet measurements and it fit perfect, so hopefully all the other custom connectors, headers, and IC's will fit too. Stuff I am ordering now.


Last edited by ElEctric_EyE on Tue Nov 22, 2011 12:44 am, edited 2 times in total.

Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Aug 02, 2011 5:40 am 
Offline
User avatar

Joined: Thu Dec 11, 2008 1:28 pm
Posts: 10760
Location: England
That was quick - exciting times!

Have you figured out the loads and the effect on timing for this 16-chip bus? It wouldn't be surprising to find that a larger memory system will run slower.

Cheers
Ed


Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: Tue Aug 02, 2011 4:32 pm 
Offline

Joined: Mon Mar 02, 2009 7:27 pm
Posts: 3258
Location: NC, USA
BigEd wrote:
...Have you figured out the loads and the effect on timing for this 16-chip bus? It wouldn't be surprising to find that a larger memory system will run slower.

Cheers
Ed

I agree, thankfully this is an optional board. Even the onboard SDRAM is optional, one just needs to tie the line high inside the FPGA....
I don't know how to figure bus loading and the effect on speeds. I'd be willing to learn... What I plan to do is make a board that can fit 16 SDRAMs, and start off with one SDRAM (actually in addition to the one on the mainboard) and do some tests, and keep adding one until failures start occurring. This is just abit in the future though.

Hopefully, this weekend I can begin soldering parts I just ordered for the mainboard. Had a little difficulty finding the 1.2V regulator in the package I needed with Digi-Key. Luckily Mouser had 35 in stock.


Last edited by ElEctric_EyE on Tue Nov 22, 2011 12:45 am, edited 2 times in total.

Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 241 posts ]  Go to page Previous  1 ... 5, 6, 7, 8, 9, 10, 11 ... 17  Next

All times are UTC


Who is online

Users browsing this forum: No registered users and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: