LPC1758 PCONP Register PCSPI, PCSSP1 and PCSSP0

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

LPC1758 PCONP Register PCSPI, PCSSP1 and PCSSP0

1,625件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Verilog7777 on Sun Feb 22 14:43:39 MST 2015
Table 46 in the manual shows 3 locations for SPI interface to turn ON namely PCSPI, PCSSP1 and PCSSP0
Question
To power up the SPI interface do all 3 bit locations(PCSPI, PCSSP1 and PCSSP0) have to be set to 1 or just PCSPI? I am trying to communicate SSP1 and SSP0 and the reason for the question is because I would like to know if PCSPI will turn on both by Default.
I haven't written the code but that would be the true way to find out what each pin does.
ラベル(1)
0 件の賞賛
返信
1 返信

1,347件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by R2D2 on Sun Feb 22 14:58:26 MST 2015

Quote: Verilog7777
I haven't written the code but that would be the true way to find out what each pin does.



And whats's not clear there?



Quote:
Chapter 17: LPC176x/5x SPI

The SPI is configured using the following registers:
1. Power: In the PCONP register (Table 46), set bit PCSPI.

...

Chapter 18: LPC176x/5x SSP0/1

The two SSP interfaces, SSP0 and SSP1 are configured using the following registers:
1. Power: In the PCONP register (Table 46), set bit PCSSP0 to enable SSP0 and bit
PCSSP1 to enable SSP1.

0 件の賞賛
返信