I have a flash connected via an SPI interface. I need to test if the SPI interface is working properly. It is a board diagnostics test and hence I should test each component in isolation of the others. Is there a way to test the interface without using Flash?
Depending on the configuration of the SPI port, you could use a simple shift register, such as the 74HC595, or the CMOS 4094. Connect the ouput to LED's and you can see what byte you have sent. In your program, perhaps if you have break points, controller by a siwtch or something to give you time between SPI writes. It worked for me when I wanted to test my SPI port on my PICs and AVR's.
I have a flash connected via an SPI interface. I need to test if the SPI interface is working properly. It is a board diagnostics test and hence I should test each component in isolation of the others. Is there a way to test the interface without using Flash?
Sorry to reopen this thread after such a long time.
Eric, I would appreciate a copy of 25C040.exe, the source would also be great if you are willing to share it.
Thanks very much Eric. You have done some great work in developing this module. I hope I can contribute something as useful as this in the future. Cheers.