<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>SPI on MCB 2300</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/25203/spi-on-mcb-2300</link><description> 
I had code to configure the LPC 2378 as an SPI slave that appeared
to be working, but now no longer does. Now, when I read the S0SPDR
register, I always get 0xFFFF 

 
 PCONP |= 0x00000100;
 PINSEL0 &amp;amp;= ~0xC0000000;
 PINSEL1 &amp;amp;= ~0x0000003F;
 PINSEL0</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: SPI on MCB 2300</title><link>https://community.arm.com/thread/77441?ContentTypeID=1</link><pubDate>Tue, 12 May 2009 09:47:32 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b3ddb102-9972-4faf-b85f-da717d251019</guid><dc:creator>Bill Farley</dc:creator><description>&lt;p&gt;&lt;p&gt;
Thanks.&lt;br /&gt;
I thought about that. My master (NI 8541) can be configured from
clock speeds down to 1 kHz. I have sent data as low as 50 kHz (any
lower and the SPIF flag is never set). The default for the SPI clock
is CCLK/4. I went ahead and tried /2 and /1 by setting PCLKSEL0 with
the same results. Is there another clock setting I need to set? The
manual says the SPI Clock Counter Register is not relevant in SLAVE
mode&lt;/p&gt;

&lt;p&gt;
Bill F&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI on MCB 2300</title><link>https://community.arm.com/thread/56062?ContentTypeID=1</link><pubDate>Tue, 12 May 2009 08:09:49 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:8ccb75df-ddf3-4d2c-9593-6ddbe41d77b5</guid><dc:creator>Tamir Michael</dc:creator><description>&lt;p&gt;&lt;p&gt;
or maybe your peripheral expects the LSB first, rahter than the
MSB...?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI on MCB 2300</title><link>https://community.arm.com/thread/56058?ContentTypeID=1</link><pubDate>Tue, 12 May 2009 08:08:41 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:da2dbc3b-fd3e-4a04-bb36-37bf006dad39</guid><dc:creator>Tamir Michael</dc:creator><description>&lt;p&gt;&lt;p&gt;
wild guess: inappropriate clock divider value???&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>