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

Software SPI for LPC2138 and CS5460 - stuck,pls help

Hi All,

I am using LPC2138 for my application.

Both the SPI channels have already been used by two other peripheral.

Now I have to use software spi for ADC CS5460..

I have assigned 5 pins - clock, 2 data , chip select and Interrupt.

I have written code for sending and receiving data with genearated clock as reference.

I am stuck with choosing the clock and facing problem that data is not synchronized with clock properly.

Can someone guide me on how to decide on clock to achieve this.

Thanks in advance