i am using the sample code at
and i am able to use nrf24l01 to communicate raspberry pi with arduino, but the problem is the timing. I found it takes > 20 ms to send a very simple string from raspberry pi to arduino, and this is not acceptable for my applicaiton. I am hoping the timing can be for example < 200us or something closer. You can use the code below to test the timing from raspberry pi to arduino. My test result is ~ 24 ms
start = time.time()
end = time.time()
delta = end - start
print (1000 * delta)
if i use nrf24l01 for arduino-arduino communicaiton, i do not have the problem. it take a very short time, but RasPi-arduino communication is far too slow.
any suggestions and solutions? thanks