Skip to main content
Visitor II
April 27, 2007
Question

SPI loopback

  • April 27, 2007
  • 1 reply
  • 687 views
Posted on April 27, 2007 at 04:46

SPI loopback

    This topic has been closed for replies.

    1 reply

    barakofAuthor
    Visitor II
    April 27, 2007
    Posted on April 27, 2007 at 04:46

    Hi,

    Im using the st72325 MCU to impliment spi communication.

    I'm using the hardware driver inside the mcu.

    I config to be the master, when sending bytes out i can see

    its ok on the osiloscope,i see the cld and data.

    I'm trying to connect by wires the mosi and the miso to simulate a slave,

    now i accspect to read what i'm writing but i read non valid data.

    when i connect to the miso 5V constant i read 0xff that is good,and when i connect 0V i read 0x00 that is also good, but when im connecting the two pins (MOSI & MISO) together i get non valid data.

    is it possible to test loopback in this way?