cancel
Showing results for 
Search instead for 
Did you mean: 

SPI loopback

barakof
Associate
Posted on April 27, 2007 at 04:46

SPI loopback

1 REPLY 1
barakof
Associate
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?