Announcement

Collapse
No announcement yet.

HOW TO ROUTING SDRAM FOR LPC1788 & STM32F4

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • HOW TO ROUTING SDRAM FOR LPC1788 & STM32F4

    HI ROBERT
    HELP ME - ROUTING SDRAM FOR LPC1788
    LAYER: 2LAYER(TOP-BOTTOM)
    SDRAM: K4S561632H-UI75
    I'M ROUTING ADDRESS-DATA-COMMAND
    IS LENGTH MATCHING IT RIGHT?
    THANK'S ROBERTS

  • #2
    HI
    HELP ME ROBERT

    Comment


    • #3
      The length matching seems fine to me, from what I can see in the first screenshot, although not all signals are visible. A tip here is to enable the signal length column (right click on the column titles). Currently you only have routed length, which is not that accurate all the time.

      You might want to leave slightly more space between the separate tracks and between the waves in a single track if possible, to reduce crosstalk.

      Comment


      • #4
        HI MAIROMASTER
        How much space should be between track?
        width track: 0.2mm
        clearance : 0.2 mm
        layer : 2layer
        mcu: lpc1788 FBD208
        Last edited by SARBAZ13; 08-05-2016, 11:02 AM.

        Comment


        • #5
          width track: 0.2mm
          clearance : 0.2 mm
          layer : 2layer
          mcu: lpc1788 FBD208

          is it true figure under for spacing between track?
          Attached Files
          Last edited by SARBAZ13; 08-05-2016, 11:07 AM.

          Comment


          • #6
            Have you taken the Advanced PCB Layout course? Those things are explained very well there. If you haven't, here you can learn about the particular topic:

            https://www.youtube.com/watch?v=BlHLmQ2HO1w

            0.2 mm clearance seem alright for manufacturing purposes. However, I was speaking about cross talk between the tracks. Because of that it is good to leave a bit more space between high-speed tracks. 3 times the track width is a generally safe value. Also it's good to have a bit wider waves, because of self cross talk withing a signal. Just watch the youtube video, everything is explained there

            Comment


            • #7
              SARBAZ13 I am not 100% sure about length matching on 2 layer PCB. Even you length match the signals correctly, the power distribution to the chips and crosstalk between the tracks may cause a lot of problems and it may not work reliably. Maybe in your case the length matching may cause more problems than benefits.

              Try to find reference designs and have a look how others did that. I do not have eagle installed, but maybe this could help you: https://www.olimex.com/Products/Modu...ource-hardware

              Comment


              • #8
                hi robert
                CAN you convert eagle to ALTIUM AND SEE(REFERENCE VIDEO ALTIUM)
                I SEE YOUR LINK.BUT IT'S 4LAYER
                QUESTION:
                1-IS SIGNAL ADDRESS & DATA & COMMANDS LENGTH MATCHING?(OLIMEX BORAD PCB NOT LENGTH MATCHING.WHY?)
                2-I DESIGNE 4 LAYER BORAD IS BETTER?
                3-IS IT DESIGNE 2 LAYER BAD?


                THANKS REGARDS

                Comment


                • #9
                  1) It may not be required. The memory is probably slow and the tolerance for length matching may be bigger, so the routed tracks may be in tolerance even they do not use the "waves" to adjust the length.
                  2) yes
                  3) yes

                  To understand points 2) and 3) from crosstalk point of view, use a crosstalk calculator (e.g. https://www.eeweb.com/toolbox/microstrip-crosstalk/ ) and play with it. Use values which you have used in your design (the distance between tracks, stackup, ...) and compare the results (Cross Talk Coefficient, Coupled Voltage) between 2 layer PCB and 4 layer PCB. You will see how bad two layer is ... plus, your real results will be much worse as you do not have solid reference plane under your tracks. Also, there are some other disadvantages of two layer PCBs ....

                  Comment


                  • #10
                    hi robert
                    QUESTION:

                    2-Whether to 4 layers have a total thickness range is 1.6 mm?
                    L1(0.4) + L2(0.4) + L3(0.4) + L4(0.4) = 1.6MM

                    Last edited by SARBAZ13; 08-11-2016, 06:15 AM.

                    Comment


                    • #11
                      Originally posted by robertferanec View Post
                      1) It may not be required. The memory is probably slow and the tolerance for length matching may be bigger, so the routed tracks may be in tolerance even they do not use the "waves" to adjust the length.
                      2) yes
                      3) yes

                      To understand points 2) and 3) from crosstalk point of view, use a crosstalk calculator (e.g. https://www.eeweb.com/toolbox/microstrip-crosstalk/ ) and play with it. Use values which you have used in your design (the distance between tracks, stackup, ...) and compare the results (Cross Talk Coefficient, Coupled Voltage) between 2 layer PCB and 4 layer PCB. You will see how bad two layer is ... plus, your real results will be much worse as you do not have solid reference plane under your tracks. Also, there are some other disadvantages of two layer PCBs ....
                      Where are you, Mr. Roberts.

                      Comment


                      • #12
                        Can you clarify the question, please?

                        1.6 mm is a standard thickness of a low class 4 level PCB. For a high-speed PCB you normally use either thinner PCB or higher layer count. One of the reasons for that is to decrease the separation between signal layers and ground reference planes, which improves your signal integrity (cross-talk etc.).

                        Normally you don't have equal thickness for all layers. You would have less space between L1-L2 and L3-L4 for example. That again helps for the signal integrity with a thicker, 4 layer board. Then you can have (L1, L4) signal layers and (L2, L3) reference ground/power layers for example.

                        Comment


                        • #13
                          hi mairomaster
                          thickness board :0.5mm
                          thickness copper:18um
                          L1:36um L2:18um L3:18um L4:36um
                          What should be the core value?
                          What should be the prepeg value?










                          Comment


                          • #14
                            hi mairomaster
                            thickness board :0.5mm
                            thickness copper:18um
                            L1:36um L2:18um L3:18um L4:36um
                            What should be the core value?
                            What should be the prepeg value?
                            SARBAZ13 these are very specific PCB manufacturing questions and the best place to ask is your PCB manufacturer as they know what kind of material they have and they can suggest a stackup which is possible to manufacture.Plus, consider the notes from mairomaster

                            Comment


                            • #15
                              HI ROBERTFERANCE

                              I have sdram to part number K4S561632H-UI75
                              how to simulation sdram by altium?

                              Comment

                              Working...
                              X