LPC1343 + nRF24L01

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

LPC1343 + nRF24L01

633件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by bobi-one on Fri Jul 08 05:11:14 MST 2011
I  recently got some wireless modules and now i'm trying to interface them. I found some example code for LPC2XX but changing it was a bit of a pickle .
This  is the receiver code( while the master is constantly sending). My concern is the MISO reading of value "0E",  because i am not really sure is this kind of SPI code working properly.
unsigned char  SPI_SendByte(unsigned char data) {


  LPC_SSP->DR =data;
  while (LPC_SSP->SR & 0x10);
  return (LPC_SSP->DR);
}

If someone have already interfaced this kind off of chips i will be thankful for advice and solutions.
0 件の賞賛
返信
1 返信

602件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Luis Digital on Wed Oct 12 15:20:32 MST 2011
I have now several nrf24l01+, and I have found very good (over 15 meters range with obstacles, low consumption, economic ...).

Well, the answer "0x0E" seems to be normal is the default value of the status register.

The code can be found here.

It is for LPC21xx, but I am using two LPC1111 development boards, with some modifications.
0 件の賞賛
返信