Send and receive bit in one clock

Discussion in 'VHDL' started by shah_satish2002, Jul 26, 2007.

  1. shah_satish2002

    shah_satish2002

    Joined:
    Jul 10, 2007
    Messages:
    11
    Hi !!

    I am designing SPI interface between FPGA and Encoder.Here on Slave side, i have only 3 port (One is for clock, 2nd is for select slave and 3rd is for data, internally have MOSI and MISO port but externally connected with Transistor so i have only 3 port)..On master side, i am making 4 port (one is for sending bit to slave (MOSI), 2nd is receiving bit from slave to master(MISO), 3rd is clock and 4th is slave..here for data transmission on master side, i will connect externally one transistor between MISO and MOSI.)

    Now my question is, How can i send bit from master to slave and recieve bit from slave to master in one clock..

    If suppose i will use..

    Clock'event and clock = '1' then it might be collison bit sending and receiving bit on same clock coz i have only one data line between slave and master. (if suppose, i have 2 data line then its not a problem)

    Any idea how can i send and recieve one bit in one clock ?? or any new suggestion about .. ??

    Thanks a lot..
     
    shah_satish2002, Jul 26, 2007
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Valentin Tihomirov

    Are clock and divided clock synchronous?

    Valentin Tihomirov, Oct 23, 2003, in forum: VHDL
    Replies:
    11
    Views:
    3,393
    louis lin
    Oct 28, 2003
  2. simon.stockton@baesystems.com
    Replies:
    4
    Views:
    761
    Peter Alfke
    Apr 27, 2006
  3. =?Utf-8?B?S3lub3NvZnQ=?=

    Reveive multiple faxes on one ISDN line (send/receive)

    =?Utf-8?B?S3lub3NvZnQ=?=, Apr 24, 2007, in forum: ASP .Net
    Replies:
    0
    Views:
    411
    =?Utf-8?B?S3lub3NvZnQ=?=
    Apr 24, 2007
  4. jari.toukkari@jippii.fi

    Send and receive information between Excel/VBA and C

    jari.toukkari@jippii.fi, Dec 22, 2007, in forum: C Programming
    Replies:
    9
    Views:
    446
    CBFalconer
    Dec 26, 2007
  5. Steve Holden
    Replies:
    0
    Views:
    781
    Steve Holden
    Apr 11, 2008
Loading...

Share This Page