Yahoo Groups archive

Lpc2000

Index last updated: 2026-04-28 23:31 UTC

Message

Re: Problem with SPI

2005-03-21 by top4e

And final question! Can someone put here the exact init code for the 
SPI regs.
 I use:
  PINSEL0 = 0x00005500;
  IODIR = 0x00000080; // pin P0.3 is IO driven CS
  S0SPCR = 0x78;
  S0SPCCR = 0x0F;
****************************************************
pin P0.7 is conected to +3.3V!
But still no activity on SPI bus :(

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.