586,108 active members*
3,023 visitors online*
Register for free
Login
Page 14 of 16 41213141516
Results 261 to 280 of 306
  1. #261
    Join Date
    Aug 2006
    Posts
    2

    Add JTAG conntector and optocouplers

    Hi all,
    I add a JTAG connector and two optocouplers to Mariss's CPLD project.
    Could anyone help me check the schematic.
    Thanks
    John
    Attached Files Attached Files

  2. #262
    Join Date
    Dec 2008
    Posts
    28
    Check value of R2,R5,R6,R7,C9,C10,R25,R27,R29,R30..... too many mistakes. No connection between R18,R20,R23; R24,R26..... How you gonna get +12VDC?
    It is better to use HCPL2531 or HCPL2631 for STEP and DIR. Add 200 Ohm resistor on STP and DIR nets.
    Try to use TL783 to get 12V and LP2985 (or similar) for 3.3V and 1.8V.

  3. #263
    Join Date
    Aug 2006
    Posts
    2
    Thanks Boldive,I will redraw and post it later.

  4. #264
    Join Date
    Mar 2005
    Posts
    27

    Red face eCAD designer

    Hi,

    could you please give me a hint which eCAD designer do you use here?

    Thanks!

  5. #265
    Join Date
    Dec 2008
    Posts
    28
    Quote Originally Posted by Helmute2000 View Post
    could you please give me a hint which eCAD designer do you use here?
    Thanks!
    To do a PCB design - Altium Designer. To develop CPLD - Xilinx ISE Design Suit.

  6. #266
    Nice post... interesting !

    Thank you very much for your efforts!!
    Greatly appreciated!!!

  7. #267
    Join Date
    Mar 2005
    Posts
    305
    could i replace xa2c32 by xc9536 ?

    b.r

  8. #268
    Join Date
    Sep 2007
    Posts
    22

    cpld stepper driver pcb

    Hello All,

    Would someone consider sharing their pcb layout for the cpld stepper driver?

    I want to use parts of it for a highschool electronics class.

    Thank you,

    Roger

  9. #269
    Join Date
    Mar 2005
    Posts
    305
    Hi Mariss Freimanis

    i cant find RES conect in your shecmatic

    b.r
    Attached Thumbnails Attached Thumbnails cpld.JPG  

  10. #270
    Join Date
    Jan 2005
    Posts
    1695
    It's an optional reset input. It is internally pulled up. It can be left unconnected or to a switch.

  11. #271
    Join Date
    Mar 2005
    Posts
    305
    thanks H500


    b.r

  12. #272
    Join Date
    Aug 2010
    Posts
    0
    Hi Mariss Freimanis

    What was the software did you use to create the COMPLETE CPLD CIRCUIT?
    I tried ISE Webpack but is very difficult to create this circuit: the symbols are not the same as in your circuit, some symbols are not, it is very hard to create bus circuit, …..

    Thanks,

    Dan

  13. #273
    Join Date
    Jan 2005
    Posts
    1695
    The program was done in Verilog.

  14. #274
    Dan,

    I don't use schematic entry in ISE or in any other programmable logic device development system. I use AutoCad to draw my logic schematics, analog circuit schematics, timing diagrams, printed circuit board layout, solids modeling and all other tasks related to designing a drive.

    For CPLDs use ISE to translate from the logic schematic into Verilog and I use Libero IDE for FPGAs. Translating into Verilog from a circuit diagram is mindless, pleasant and easy work. All the hard work is in designing and proofing out the ACAD drawing logic schematic; I already know the circuit will work before I write single line of Verilog code.

    I never use a simulator to test the code; in my experience setting up a proper simulation and then interpreting the results is a big and unnecessary pain in the rear. I debug from the target device that is actually running the code. It's attached to the best simulator in the world; real-life motors and real-life analog circuitry. I find this is most time-economical because almost all bugs at that point are syntax or mechanical coding errors (like something going to G37 when I meant G38).

    Some things that ease the process is breaking-up the design into seperate Verilog modules along natural function-bock delineations. Each function-block module can be independently tested on the target device (physical motor drive) and pounded into shape until it behaves properly. That way, you know the individual modules work when it comes time to integrate them all together in the main (top) Verilog module. Otherwise you'd go insane tracking a code bug down.

    Hope that helps. I'm a little rocky after work; I'm having a glass of fine vintage Cabernet Sauvignon to wind down from a day spent interfacing a PIC24 to an Actel 60K gate FPGA and trying to make them play nice together. Yes, it's the G215 drive and today was like corralling a herd of feral cats.

    Mariss

  15. #275
    Viola94,

    Is there an echo in here? :-)

    Mariss

  16. #276
    Join Date
    Jan 2006
    Posts
    2985
    Viola is a post copying bot with a couple pictures thrown in for spam. Check dear Viola's other posts if you are in doubt.

    Matt

  17. #277
    Join Date
    Apr 2008
    Posts
    384
    I know it was quite a while ago that PCB design was brought up, but why are the inner layers better to use for the power distribution in a 4-layer design ?

    I thought the inner layers were thinner and would dissipate less heat due to not being exposed ?

  18. #278
    Join Date
    Jan 2005
    Posts
    1695
    The planes need to be as continuous as possible. You need to solder components, so that rules out the top layer. You could put one of the planes on the bottom, but if there are any mistakes on your board, it will be hard to make mods. It would also be hard to probe the signals.

    The planes are intended for signal integrity and shielding rather for heat dissipation.

  19. #279
    Join Date
    Aug 2010
    Posts
    0
    Mariss,

    Thank you very much for information.
    I read this post and your tutorial "5-MICROSTEP CPLD DRIVE" and I have tried to understand your logic in creating CPLD circuit. It's the first time when I have contact with such circuits CPLD. After I understand the circuit, I will try to modify this for another microstep for my driver. It's a great challenge for me.
    I thank again for these useful post and tutorial. Greatly appreciated!!!
    Also, I thank everyone who contributed to writing this post.

    Sorry for my english. I'm a little hard to write in English.

    Dan

  20. #280
    Join Date
    Jan 2005
    Posts
    1695
    I posted code for a 10 microstep version here:

    http://www.cnczone.com/forums/open_s...p_bipolar.html

Page 14 of 16 41213141516

Similar Threads

  1. CPLD breadboard
    By Mariss Freimanis in forum CNC Machine Related Electronics
    Replies: 1
    Last Post: 12-22-2009, 08:24 PM
  2. Using a CPLD to replace a few CMOS gates
    By acondit in forum CNC Machine Related Electronics
    Replies: 102
    Last Post: 07-08-2009, 02:07 AM
  3. CPLD sizing
    By tony ennis in forum CNC Machine Related Electronics
    Replies: 55
    Last Post: 06-09-2009, 01:03 AM
  4. CPLD Tutorial.
    By Al_The_Man in forum CNC Machine Related Electronics
    Replies: 0
    Last Post: 05-18-2009, 06:32 PM
  5. JTAG CPLD programmer
    By kreutz in forum CNC Machine Related Electronics
    Replies: 5
    Last Post: 09-25-2007, 05:17 AM

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •