LPC11U14 - SPI example

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

LPC11U14 - SPI example

701件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by bruno on Wed May 16 07:37:15 MST 2012
I modified the SSP example of LPC11xx for LPC11U14.

#ifdef __JTAG_DISABLED
   // LPC_IOCON->SCK_LOC = 0x00;              //!< Offset: 0x0B0 SCK pin location select Register (R/W)  ????

LPC_IOCON->SWCLK_PIO0_10 &= ~0x07;
LPC_IOCON->SWCLK_PIO0_10 |= 0x02;  /* SSP CLK */


in this part of code there is registrer "SCK_LOC. This registrer there is not    at code of LPC11Uxx.

How can modified this registrer???
0 件の賞賛
返信
1 返信

663件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by creafyumi on Sun May 20 19:15:11 MST 2012

Quote: bruno
I modified the SSP example of LPC11xx for LPC11U14.

#ifdef __JTAG_DISABLED
   // LPC_IOCON->SCK_LOC = 0x00;              //!< Offset: 0x0B0 SCK pin location select Register (R/W)  ????

LPC_IOCON->SWCLK_PIO0_10 &= ~0x07;
LPC_IOCON->SWCLK_PIO0_10 |= 0x02;  /* SSP CLK */


in this part of code there is registrer "SCK_LOC. This registrer there is not    at code of LPC11Uxx.

How can modified this registrer???




Just Ignore this register,
LPC_IOCON->SWCLK_PIO0_10 &= ~0x07;
LPC_IOCON->SWCLK_PIO0_10 |= 0x02;  /* SSP CLK */
will do.
LPC11U14 does not have this register, this register is for SCK0 Pin location selection for LPC11xx, LPC13xx etc..
0 件の賞賛
返信