We are running a survey to help us improve the experience for all of our members. If you see the survey appear, please take the time to tell us about your experience if you can.
Dear Sir, On Simulation a proper SPI clock is generated but in actual noisy clock is observed on CRO 1)Clock signal should be in square wave form? So if so for what reason noisy clock is seen on CRO. I am sending 0x55 data on MOSI and it is also observed on oscilloscope in the form of Square wave But when I am communicating with Flash memory AT45DB321D,writing data on Buffer1 and reading data on Buffer1 I am getting data in FF form as of I am trying to write data in 00 location.
I think this is because of noisy clock? Please guide me on this issue.
Thanks and Regards, Kishor P.
The LPC2378 do not generate any noisy clock signal unless you have some errors on the outside of the processor. Or the pin isn't actually configured as CLK so what you see is something else.
You write "Buffer1" - note that even if you write all of your post in bold, we readers will still not be able to know what "Buffer1" is.
Besides the bold text, you haven't given much information. Are all signals correctly configured? Are they correctly connected? Do the memory chip receive any slave select signal, so the MISO line gets properly driven? Have you selected the correct phase and polarity for the clock signal? Are both processor and memory using same supply voltage? Are you sending the correct commands to the memory chip?
On what basis do you think that?
What tests have you conducted to investigate your hypothesis?
So you need to investigate why your clock is noisy...