2007-04-26 07:46 PM
2007-04-26 07:46 PM
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?