cancel
Showing results for 
Search instead for 
Did you mean: 

I want to interface NRF24L01+ with STM32 G030C6. Which library out of all the libraries that are available is most reliable and can be scaled easily ? I've tried some, but they don't seem to be working and I'm not being able to debug. Please help.

GSaw
Associate II

I'm new to embedded programming and don't know how to deal with registers therefore I'm looking for a library that is readily available.

Thank you.

31 REPLIES 31
NSing.5
Senior

i've used "nrf24.c", you can get it from the Github.

i've used with limited success.

Best wishes.

NSing.5
Senior

plz share your experience as i'm also working on it.

I've been trying to use https://github.com/MYaqoobEmbedded NRF24 tutorial. But it is not working as expected.

For how many stm32s have yo used the nrf24.c ?

NSing.5
Senior

great to hear from your side. it means a brilliant mind is trying hard to beat odds.

"For how many stm32s have yo used the nrf24.c ?"

i'm using two stm32f030f4px. one for transmitter, other for receiver. trying to use library from

https://github.com/elmot/nrf24l01-lib/tree/master/demo-stm32l432-transmitter/Inc

in my case both transmitter and receiver, register are correctly configured.

Transmitter is transmitting as indicated by TX_DS.

but receiver is not receiving.

trying to troubleshoot.

Now i'm planning to use trying to use https://github.com/MYaqoobEmbedded.

bit it is showing some error related to sprintf.

exactly what is problem you are experiencing with https://github.com/MYaqoobEmbedded files.

NSing.5
Senior

please share your updates

I wish to implement the transceivers on more than 4 MCUs. I'm using STM32 G030C6T6.

For starters I'm trying to communicate between two MCUs only using the same https://github.com/MYaqoobEmbedded libraries.

Hopefully I've configured them correctly; the transmitter side is working when AutoAck is disabled (library has a function to enable or disable the AutoAck). But when AutoAck is true'ed it won't work.

The receiver side on the other hand is not receiving and transmitting garbage values on my UART console.

Previously I'd used https://github.com/controllerstech/NRF24L01 library for two way communication using two nucleos which did work but this library did not look scalable so I stopped using it.

But to debug (or trying to debug)  https://github.com/MYaqoobEmbedded I'm taking the reference from https://github.com/controllerstech/NRF24L01 .

I'm new to embedded so I don't understand much of the register parts or the pipes parts as well.

Please keep updated thank you.

After comparing few functions from the above mentioned libraries I found them to be a little similar.

So I guess I'll try using https://github.com/controllerstech/NRF24L01 now and try to figure out the datapipes and stuff.

I've tried https://github.com/MYaqoobEmbedded for transmitter side, the last day. The register status is OK as per datasheet (it appears to me). i'm not using USART console, instead i'm getting status of registers from nRF and observing it in debug mode.

But still i'm unable to receive on receiver end.

GSaw
Associate II

I'm having the same problem. Please update if you succeed.