Universal NRF24L01 Library

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

Universal NRF24L01 Library

2,432件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Luis Digital on Mon Apr 16 06:48:12 MST 2012
Hello,

I'm working in a library for NRF24x01 chips, and I uploaded the documentation, so you help me to correct spelling / translation.

It is also the first time I use Doxygen, so any advice is welcome.

Thanks in advance.
0 件の賞賛
返信
10 返答(返信)

1,988件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by seaton on Sun Aug 23 17:03:02 MST 2015
Hi Luís, I´m working with LPC1769, and I tested your project for nrf24L01. But I have got a error in the library LPC17xx.h.
What is the CMSIS that you use in this project?

I use the LPCxpresso for programming.

Thank you

Sebastián
0 件の賞賛
返信

1,988件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Maidanadis on Fri Aug 31 16:17:06 MST 2012
thanks Luis! you rocks!!
0 件の賞賛
返信

1,988件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Rob65 on Sat Apr 21 08:11:26 MST 2012

Quote: Luis Digital
I do not think that works with the chip nRF24AP1


The other way around ... The AP1 is more expensive than the L01 and given that the AP1 is 'just'  an L01 with a micro controller and the ANT+ protocol it might be possible to use the L01 instead.

And indeed, adding NRF24L01_ in front of all functions and defined makes them too long. Maybe something like ISM_ or just NRF or ...

Rob
0 件の賞賛
返信

1,988件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Luis Digital on Sat Apr 21 07:51:52 MST 2012

Quote: researchinnovation
@Luis Digital...Hi..!!!

Is that Link available in english also and can you please send the Link for exact location of code.

Thanks & Regards...:)


http://luisdigital.com/proyectos/nrf24l01/
0 件の賞賛
返信

1,988件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Luis Digital on Sat Apr 21 07:50:48 MST 2012

Quote: Rob65
Luis,

do you know if this device can also communicate with ANT devices, are there any (free) ANT+ stacks available?
I currently use an ANT+ tranceiver (the nRF24AP1) but it's way more expensive than the L01 version (3 EUR or 6 EUR).

You might want to provide a bit more documentation regarding the use of the library.
Do you first init, then configure the device addresses, do a Write_TX_Buf and then call RF_TX to switch on the transmitter and transmit the packet?

I find it helpful to point to certain sections in the datasheet (especially where you could show how the library relates to things like timing diagrams and flow charts)

One thing I dislike on doxygen is that it places your documentation in alphabetic order instead of a logical one. My code groups functions in a logical order and then doxygen shuffles everything again.

You also might want to replace some defines to start with NRF24L01 _TX_MODE is too general and could be used by others as well (not if they follow my rules ;)).
Looks good though. Document before code - I'm getting jealous  :)

One more thing: Did you integrate doxygen into LPCXpresso ?
That might be useful for a lot of us.

Cheers,[INDENT]Rob
[/INDENT]



I do not think that works with the chip nRF24AP1.

In the examples you can see how to transmit and receive, it is very easy. It is as you described.

And yes, I was thinking about using "NRF24l01" in all the constants, but the name is too long.
0 件の賞賛
返信

1,988件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Rob65 on Sat Apr 21 02:56:58 MST 2012

Quote: researchinnovation
@Rob65:- Hi..!!!

I am excited knowing about the Doxygen and what are you talking about HTML and I2C


[B]<MODERATOR_MODE>[/B]
You keep mixing up things and asking questions in posts that are not related to the subject.
Please post questions in threads where the apply to. I'm finding a lot of the recent posts you made hard to read - they keep talking about things that do not relate to those posts.
[B]</MODERATOR_MODE>[/B]

If you search Google for doxygen you'll end up at Doxygen's homepage. There you'll find a much better explanation of what doxygen is and what it can do for you.
And no, the link on bikealive.nl is not using doxygen, the first link that Luis gave in his original post is.
In short: doxygen allows you to generate documentation from the C code. It will retrieve functions, parameters and typedefs from your source code. You can add documentation inside comments by using special tags.

Rob
0 件の賞賛
返信

1,988件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by researchinnovation on Fri Apr 20 23:30:42 MST 2012
@Rob65:- Hi..!!!

I am excited knowing about the Doxygen and what are you talking about HTML and I2C, I dint understand. Is it similar to this http://hg.bikealive.nl/Platform1754/rev/8970d53bebb8.


Thanks & Regards...:)
0 件の賞賛
返信

1,988件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Rob65 on Fri Apr 20 23:10:57 MST 2012
Luis,

do you know if this device can also communicate with ANT devices, are there any (free) ANT+ stacks available?
I currently use an ANT+ tranceiver (the nRF24AP1) but it's way more expensive than the L01 version (3 EUR or 6 EUR).

You might want to provide a bit more documentation regarding the use of the library.
Do you first init, then configure the device addresses, do a Write_TX_Buf and then call RF_TX to switch on the transmitter and transmit the packet?

I find it helpful to point to certain sections in the datasheet (especially where you could show how the library relates to things like timing diagrams and flow charts)

One thing I dislike on doxygen is that it places your documentation in alphabetic order instead of a logical one. My code groups functions in a logical order and then doxygen shuffles everything again.

You also might want to replace some defines to start with NRF24L01 _TX_MODE is too general and could be used by others as well (not if they follow my rules ;)).
Looks good though. Document before code - I'm getting jealous  :)

One more thing: Did you integrate doxygen into LPCXpresso ?
That might be useful for a lot of us.

Cheers,
[INDENT]Rob
[/INDENT]
0 件の賞賛
返信

1,988件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by researchinnovation on Fri Apr 20 21:55:56 MST 2012
@Luis Digital...Hi..!!!

Is that Link available in english also and can you please send the Link for exact location of code.

Thanks & Regards...:)
0 件の賞賛
返信

1,988件の閲覧回数
lpcware
NXP Employee
NXP Employee
Content originally posted in LPCWare by Luis Digital on Fri Apr 20 15:09:11 MST 2012
Hello!

4 projects, 3 for LPCXpresso (NXP chips), and one for SimpleIDE (Propeller chip).
An example sends the string "Hola", and others receive.

LED blinks when receives the right information, and blink when the transmitter is sending.

Download your copy today, free of charge.:)
0 件の賞賛
返信