This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

SPI Clock issue of SPI with LPC2378

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.

Parents
  • 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?

Reply
  • 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?

Children
No data