LPC1768 XPresso board SSP0 slave mode

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LPC1768 XPresso board SSP0 slave mode

Jump to solution
1,264 Views
kk7xo
Contributor III

I have a LPC1768 XPresso board with the SSP0 port configured as a slave.  The master is an Analog Devices AD73322 codec.  

After configuring the SSP port to TI mode, and after enabling the port, I load two values into the data register.  I can see on my logic analyzer that the master is sending SCLK and FS as shown in UM10360 (LPC176X user manual) Fig. 77 page 425, however the LPC1768 is not transmitting the contents of the data register on the MISO0 pin.

I've tried lots of configuration changes but so far no luck in getting it to work.  However, I do have this codec working as a master on an SSP bus with the LPC2138 as the slave.

Any ideas?

 

0 Kudos
Reply
1 Solution
1,146 Views
kk7xo
Contributor III

As is so often the case, when I created a minimal program to demonstrate the problem I was having, I managed to fix it.  I was writing configuration data to the wrong registers.  So everything is working now.  Thanks for responding.

View solution in original post

0 Kudos
Reply
2 Replies
1,202 Views
Harry_Zhang
NXP Employee
NXP Employee

Hi @kk7xo 

Can you share your code?

BR

Harry

0 Kudos
Reply
1,147 Views
kk7xo
Contributor III

As is so often the case, when I created a minimal program to demonstrate the problem I was having, I managed to fix it.  I was writing configuration data to the wrong registers.  So everything is working now.  Thanks for responding.

0 Kudos
Reply