nRF2401 Direct Mode: Does someone made it already?

Lack of information of the data sheet for this operational mode.

If someone could give me the rules to get it working it would be very appreciated.

Thank you

Alex

I can honestly say I don’t know of anybody that actually uses direct mode on those chips. Even Googling doesn’t turn up info. You basically have two options: 1) try stuff until it works, or 2) contact Nordic technical support. You’ll learn a lot more by trying stuff, but you may hit a wall that you can’t get past. Nordic’s technical support is actually very good, and they will generally provide you with examples of how to get things working.

I already sent an email to nordic but they dont answer me…

How sad…

Very Shaim on nordic data sheet :frowning:

I am thinking to put these modules aside and acquire 434Mhz transmitters and receivers :-(, otherwise the project will crash due to time…

Thank you very much

Alex

Is there any particular reason you have to use direct mode? I would imagine with a well-designed protocol that you could just break up large packets of data into smaller ones and use Shockburst mode.

Hi and thank you again

I would like to put TCP/IP above the nRF2401 raw communication. This is the main reason.

Till now I was trying modules using shockburst mode and everything is allright. I have them working in half-duplex.

But now it is time to put TCP above it. In shockburst mode the data playload has a maximum of 32 bytes. This is not enough even for the TCP header.

So I decided to put shockburst aside and implement my own low level layer using the direct mode.

Of course, i can use shockburst and send more then one raw message to send a complete TCP/IP message but I think that will increase the control of delivered segments. In this situation I must take care of TCP/IP segments and low level segments.

I think if I use direct mode i would take care only with TCP/IP segments and low level (entire) messages.

I am right?

Please, any advices would be very appreciated

Thank you once again

Alex

You could certainly send full TCP/IP messages using direct mode, but keep in mind that the larger the packet you send, the higher the probability that you’re going to have an error at least one bit in that packet. It takes a lot less time to re-transmit 32 bytes than it does 1500. :wink:

You could essentially just make the 2401A in Shockburst mode be like a cable replacement. You just send on-air exactly what you receive, and at the RX end, you re-assemble the packet as a whole and send it down the line. It might be a worthwhile exercise to see if you can get this to work with Shockburst before you go with direct mode, anyway.

Another thing to keep in mind is that if you were to change modules and upgrade to the 24L01 or 24L01+, you get automatic packet loss and retransmission (done in hardware, so you don’t have to do it yourself). That’s also not to mention double the data rate (2 Mbps instead of 1 Mbps). That should certainly be enough to handle any overhead that Shockburst would add compared to what you have now. :twisted:

Well,

Good to hear that from you :slight_smile: Shockburst also saves energy…

You are right, I have to try it with shockburst.

Also I have to read about those modules you referred: 24L01 or 24L01

I have also to see if there are evaluatiuon kits for them, because for me it is more easy to drive them via serial port than SPI or something like that.

Are they nordic too? who sells them?

Many thanks

Alex

They are by Nordic. The 24L01 is the replacement of the 2401A. The 24L01+ is an drop-in upgrade from the 24L01. Sparkfun is sells 24L01 modules now, but I think they are going to migrate to 24L01+ soon. I will also be selling 24L01+ modules at my e-store (see my signature) soon. I also have tutorials for controlling the 24L01 (code included) on my site (also in my signature).

ok, I will read about it. Also see if your store has dev kits for them.

Can I contact you then using the “Contact us” link of your site? Or do you have some public email. I feel that I will have some questions before ordering the new parts. By the way, where are your store from (country) in order to calculate delivery delays an costs. I am from Europe, Portugal

Do you have a date for the selling of 24L01+ on your store?

Alex

I’m hoping to have the boards pressed next week, so it will likely be around 2-3 weeks before I have them in stock. You can contact me through email at “brennen at diyembedded dot com” if you need to speak to me personally. I think there’s an email button below each of my posts that should open your mail client if you click on it.

If you want an idea of shipping costs/times, you can put one of the 24LU1 boards into your cart, then open your shopping cart and click “Estimate Shipping”. This should open a window that will show available shipping methods and costs involved. Keep in mind that this is generally a low-ball estimate because it doesn’t take into account the weight of the outside packaging, just the board itself (charges shouldn’t be much higher, though). You will probably have to register on the site before you can do the shipping estimate, though, so it can have a valid address to calculate with.

Ok, thank you

Alex