---
+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 20 of 30
  1. #1
    Member level 3
    Points: 1,690, Level: 9

    Join Date
    May 2005
    Posts
    57
    Helped
    1 / 1
    Points
    1,690
    Level
    9

    spi vhdl

    how to realize a SPI interface with VHDL?
    I find it is too difficult for a newbie. need your help .

    •   Alt8th September 2005, 08:05

      advertising

        
       

  2. #2
    Full Member level 4
    Points: 3,339, Level: 13
    Black Jack's Avatar
    Join Date
    Dec 2003
    Location
    UKRAINE
    Posts
    237
    Helped
    14 / 14
    Points
    3,339
    Level
    13

    vhdl spi

    Quote Originally Posted by ymq8328
    how to realize a SPI interface with VHDL?
    I find it is too difficult for a newbie. need your help .
    see www.opencores.org



  3. #3
    Member level 3
    Points: 1,690, Level: 9

    Join Date
    May 2005
    Posts
    57
    Helped
    1 / 1
    Points
    1,690
    Level
    9

    spi slave vhdl

    but it is realize in verilog, not in vhdl


    1 members found this post helpful.

  4. #4
    Full Member level 3
    Points: 3,249, Level: 13

    Join Date
    Jun 2001
    Posts
    187
    Helped
    11 / 11
    Points
    3,249
    Level
    13

    spi interface vhdl

    There Are Lots Of SPI Deratives. The Best Thing To Do, Is To Examine The Datasheets Of The Device You Are Interfacing, For The Required SPI Format.

    VHDL Is Not C, So You Should Always Write Your Own Code.

    SPI Is Very Simple - There Is Master And Slaves, So No Arbitration Is Needed,
    Also There Is One Receive And One Transmit Data Signal.

    The Clock Can Be Free Running, So You Can Generate It Quite Easily.
    With Counter.

    The Data Will Be Shift Out When Writing, And In When Reading.

    You Should Use 2 Registers 1 For Write 1 For Read, You Should Also Use
    Address Register, To Access Devices With More Then 1 Internal Address.

    To Select Between Deices You Need Different CS~. You Can Generate Those With Decoder.

    It Will Be Most Easy To Realise The Design With A State Machine, Who Shell Do Or Control All This Tasks.



  5. #5
    Full Member level 3
    Points: 2,002, Level: 10

    Join Date
    Jul 2004
    Posts
    172
    Helped
    4 / 4
    Points
    2,002
    Level
    10

    vhdl spi slave




  6. #6
    Full Member level 2
    Points: 2,656, Level: 12

    Join Date
    Feb 2002
    Posts
    121
    Helped
    4 / 4
    Points
    2,656
    Level
    12

    spi vhdl code

    Look at www.Xilinx.com they have a SPI reference design for their CPLDs in VHDL:

    http://www.xilinx.com/products/silic...ce_designs.htm



  7. #7
    Banned
    Points: 1,982, Level: 10

    Join Date
    Aug 2005
    Location
    India
    Posts
    147
    Helped
    16 / 16
    Points
    1,982
    Level
    10

    vhdl spi interface

    Hi

    SPI is very very simple serial protocol. You can write your own VHDL program and it doesn't have complexity in programming. I think it can be programmed in VHDL easily rather than Verilog.

    Try to assume the hardware of protocol operation before starting coding. It can be built with simple a shifter and multiplexer/demultiplexer blocks. To send/recieve the data, you can use multiplexer/demultiplexer to select a perticular bit of data.

    I don't think the ready to use IP can fit to your application. Try your own.

    Regards
    Vishwa



    •   Alt11th September 2005, 08:35

      advertising

        
       

  8. #8
    Full Member level 4
    Points: 2,409, Level: 11

    Join Date
    Sep 2003
    Posts
    194
    Helped
    6 / 6
    Points
    2,409
    Level
    11

    spi in vhdl

    See the SPI spec, and there are many implementations in there.



    •   Alt22nd September 2005, 07:39

      advertising

        
       

  9. #9
    Member level 3
    Points: 1,648, Level: 9

    Join Date
    Jan 2006
    Posts
    58
    Helped
    2 / 2
    Points
    1,648
    Level
    9

    vhdl spi master

    Can anyone suggest a good book on SPI interface ??



  10. #10
    Member level 3
    Points: 1,981, Level: 10

    Join Date
    Oct 2004
    Posts
    59
    Helped
    4 / 4
    Points
    1,981
    Level
    10

    spi verilog

    You can search xilinx IP core library on the web... there are some freeware vhdl cores... inclusive SPI.



  11. #11
    Junior Member level 3
    Points: 1,205, Level: 7

    Join Date
    Feb 2007
    Posts
    26
    Helped
    4 / 4
    Points
    1,205
    Level
    7

    spi controller vhdl

    at ymq8328:

    you still searching a VHDL code of SPI ? If you want send me a private message, I send you my version on SPI (wrote in VHDL).

    Regards
    Lukee


    1 members found this post helpful.

  12. #12
    Advanced Member level 4
    Points: 12,968, Level: 27

    Join Date
    May 2001
    Posts
    1,127
    Helped
    65 / 65
    Points
    12,968
    Level
    27



  13. #13
    Full Member level 1
    Points: 1,914, Level: 10
    Achievements:
    7 years registered

    Join Date
    May 2006
    Location
    Banaglore
    Posts
    95
    Helped
    12 / 12
    Points
    1,914
    Level
    10

    spi master vhdl

    just go through SPI spec....if you need code u can have it from opencores.org



  14. #14
    Newbie level 3
    Points: 970, Level: 7

    Join Date
    Jul 2007
    Posts
    3
    Helped
    0 / 0
    Points
    970
    Level
    7

    vhdl spi core

    can sombody help mee with the VHD code to connect SPI, i whant it to pleas

    thanks



  15. #15
    Full Member level 5
    Points: 3,784, Level: 14

    Join Date
    Dec 2004
    Location
    Naboo
    Posts
    266
    Helped
    29 / 29
    Points
    3,784
    Level
    14

    verilog spi master

    Hi,

    Currently, I'm designing a simple SPI. It consist of 1-master and 1-slave. Plus, this is my first time designing SPI.

    I find shawndaking reply is helpful and he is right.

    I gathered a lot of information on internet.
    Another thing, timing diagram is also important. Use Google you can find one.
    That's how I start to understand and design SPI.

    FYI, I used verilog for my SPI.

    Good luck!



  16. #16
    Member level 1
    Points: 1,760, Level: 9

    Join Date
    Dec 2004
    Location
    Shanghai, China
    Posts
    41
    Helped
    2 / 2
    Points
    1,760
    Level
    9

    vhdl for spi

    SPI3 is a simple one.
    But SPI4.2 is so complexed and difficult



  17. #17
    Newbie level 3
    Points: 970, Level: 7

    Join Date
    Jul 2007
    Posts
    3
    Helped
    0 / 0
    Points
    970
    Level
    7

    spi+vhdl

    what are the difference between SPI3 and SPI4.2? im am just using FPI with 4 wire SDI, SDO SCK and AC.



  18. #18
    Newbie level 1
    Points: 1,049, Level: 7

    Join Date
    Jan 2008
    Posts
    1
    Helped
    0 / 0
    Points
    1,049
    Level
    7

    spi interface cpld

    can anyone send a spi slave vhdl code? i am using altera fpga.

    Thanks,
    Reddy



  19. #19
    Newbie level 5
    Points: 900, Level: 6

    Join Date
    Jan 2008
    Posts
    8
    Helped
    0 / 0
    Points
    900
    Level
    6

    vhdl spi

    Can anybody give me a very simple spi implementation in vhdl.
    I found one at fpga4fun.com but it is in verilog,
    something like this what i need, but in vhdl, can anybody help me with a code or with a translating.

    http://www.fpga4fun.com/SPI2.html

    my project:
    i need a communication between Pic18f and fpga, the fpga is the slave.I need it for this. thanks in advance.



  20. #20
    Newbie level 5
    Points: 900, Level: 6

    Join Date
    Jan 2008
    Posts
    8
    Helped
    0 / 0
    Points
    900
    Level
    6

    verilog spi

    Does anybody have a simple spi interface written in vhdl.
    Something like when the fpga is the slave and receiving - transmitting data to the Master. The Master is a PIC microcontroller.

    What about the clocks frecvencies???? the pic clock(and the spi clock) is much slower than tha fpga's clock. But i think when the fpga is the slave this is a good version.
    let me know if it's not correct.



+ Post New Thread
Please login
Page 1 of 2 12 LastLast

LinkBacks (?)

  1. 31st October 2014, 02:33