Possible Bug using Authentic Nordic nRF24L01+ Module
-
The genuine Nordic chips can be purchased for less than $3 in the U.S.
That is just the chip and not the module.
The actual parts which make up the module cost about $3-4.If you are concerned about battery operation you'd want the genuine chips as they have a lower sleep current which would extend battery life, which is critical in my application. So cost of batteries is a factor as well.
-
@Yveaux If the Chinese module has a genuine Nordic part on it then why would it not work? However there has been enough info put out there on the difference in the cloned parts and the genuine nRF24L01P device to know that there are incompatibilities in certain situations, like use of Auto-ACK on some of the clones. (Check out the hackaday posts on this activity. It is one thing when they sell the clones with the part number intact. It is another when they remove the markings and put nRF24L01+ on them. That is plain old Fraud and becomes counterfeiting.
@Jokgi said:
If the Chinese module has a genuine Nordic part on it then why would it not work?
Of course they will work. In fact I did it myself by swapping the nRF chip on a Chinese module.
The discussion on hackaday that states the ack bit is inverted has no mentioning of a decent source, iirr.
I did a lot of research on the subject (see first link in my top post) but did never encounter a fake chip that has an inverted ack bit. I wish I had, then we would have had a bulletproof counterfeit detector by now.
I doubt if these fakes with inverted ack bits actually exist, or if they are just made up by Nordic to get us to buy original chips.
I'm in favor of open communication above all! -
@Jokgi said:
If the Chinese module has a genuine Nordic part on it then why would it not work?
Of course they will work. In fact I did it myself by swapping the nRF chip on a Chinese module.
The discussion on hackaday that states the ack bit is inverted has no mentioning of a decent source, iirr.
I did a lot of research on the subject (see first link in my top post) but did never encounter a fake chip that has an inverted ack bit. I wish I had, then we would have had a bulletproof counterfeit detector by now.
I doubt if these fakes with inverted ack bits actually exist, or if they are just made up by Nordic to get us to buy original chips.
I'm in favor of open communication above all!I believe the hackaday reference was from Nordic. I just found this as well and is worth reading.
https://ncrmnt.org/2015/03/13/how-do-i-cost-optimize-nrf24l01/"Looks like the answer why was at the very bottom of the comments of the Hack-A-Day comment feed discussing those fake ASICs. And the very comment was made made by someone from Nordic. Turns out that those clowns who made that ripoff ASIC brought a typo from the original specs to silicon, so the NO_ACK bit in the packet control field is inverted in the fake chips. Testing a little bit more – no matter whether the dynamic payloads are enabled or not, fakes will not be able to properly ack packets received from genuine devices, as well as those from nrf24lu1, nrf24le1. The reverse (surprise!) works!
If you thought that this is good news (we have a good way to distinguish fake and non-fakes) you are quite mistaken. Googling the internets I found at least 2 ‘compatible’ chips: SI24R01 and SE8R01. And forum threads indicate some differences in default pipe addresses after reset, so there may be even more of them. Maybe even those modules I have and consider ‘good’ are just better clones.
-
@Yveaux I'm not a big fan of companies stealing the design of another company which has put time and resources into the development of a chip.
I only want to use genuine Nordic products in my sensor network. That said, I think that some work needs to be done on why the SenseBender appears to have an issue operating with the Nordic module. I hope that the responsible folks will step up and make this work.
Let me know if I can do any other testing as I'd like to get this issue resolved ASAP.
Thanks,
Tony@tcontrada said:
I hope that the responsible folks will step up and make this work.
The sketch works. We can rule out that. I suspect the power requirement might differ from the clone. You could play around width extra capacitors on the module.
-
The genuine Nordic chips can be purchased for less than $3 in the U.S.
That is just the chip and not the module.
The actual parts which make up the module cost about $3-4.If you are concerned about battery operation you'd want the genuine chips as they have a lower sleep current which would extend battery life, which is critical in my application. So cost of batteries is a factor as well.
@tcontrada
You can purchase this part from Symmetry Electronics on line store for $1.78. That is single piece pricing. You may be certain that quantity pricing will be MUCH lower if you speak to a inside sales person. -
I believe the hackaday reference was from Nordic. I just found this as well and is worth reading.
https://ncrmnt.org/2015/03/13/how-do-i-cost-optimize-nrf24l01/"Looks like the answer why was at the very bottom of the comments of the Hack-A-Day comment feed discussing those fake ASICs. And the very comment was made made by someone from Nordic. Turns out that those clowns who made that ripoff ASIC brought a typo from the original specs to silicon, so the NO_ACK bit in the packet control field is inverted in the fake chips. Testing a little bit more – no matter whether the dynamic payloads are enabled or not, fakes will not be able to properly ack packets received from genuine devices, as well as those from nrf24lu1, nrf24le1. The reverse (surprise!) works!
If you thought that this is good news (we have a good way to distinguish fake and non-fakes) you are quite mistaken. Googling the internets I found at least 2 ‘compatible’ chips: SI24R01 and SE8R01. And forum threads indicate some differences in default pipe addresses after reset, so there may be even more of them. Maybe even those modules I have and consider ‘good’ are just better clones.
@Jokgi Quote from hackaday:
Jay Tyzzer says: March 11, 2015 at 3:56 pm Let me start by saying that I do have a dog in this fight as I work for Nordic Semiconductor. The re-marked nRF24L01P (+) clones are not 100% register compatible. The issue with the counterfeit devices is that when they enabled “Dynamic Payload Length” (EN_DPL) in the “FEATURE” register, one bit get’s activated in the on-air payload...Let's wrap it up that this statement is far too generic then:
- nRF24L01P (+) clones are not 100% register compatible -- I have quite a lot of clones (confirmed by Nordic) that are register compatible. No issues whatsoever in any setup.
- The closes I own do not have an issue with the ack bit; they behave just as genuine ones.
-
The genuine Nordic chips can be purchased for less than $3 in the U.S.
That is just the chip and not the module.
The actual parts which make up the module cost about $3-4.If you are concerned about battery operation you'd want the genuine chips as they have a lower sleep current which would extend battery life, which is critical in my application. So cost of batteries is a factor as well.
@tcontrada said:
The genuine Nordic chips can be purchased for less than $3 in the U.S.
The majority of the makers in the MySensors community do not want to, or have the capability to build their own nRF24 modules.
If you want the cheapest solution then you should probably buy the nRF modules from China, and swap the fakes with genuine chips. -
@tcontrada said:
I hope that the responsible folks will step up and make this work.
The sketch works. We can rule out that. I suspect the power requirement might differ from the clone. You could play around width extra capacitors on the module.
@hek said:
The sketch works. We can rule out that. I suspect the power requirement might differ from the clone. You could play around width extra capacitors on the module.
Well, not sure how you can say the sketch works when I have it here and it does not work with the Nordic module.
Have you tested the SensBender sketch with the genuine Nordic module?
Since these are battery powered adding a capacitor will not make a difference and it will further drain the battery over time.
Again, there is something else going on...
-
@tcontrada said:
The genuine Nordic chips can be purchased for less than $3 in the U.S.
The majority of the makers in the MySensors community do not want to, or have the capability to build their own nRF24 modules.
If you want the cheapest solution then you should probably buy the nRF modules from China, and swap the fakes with genuine chips.@Yveaux Yeah, no other modules available, except from China.
However, that might change. I think there may be a manufacturer in the U.S. that is going to make official modules at a reasonable price soon and pretty much duplicate the Nordic module.I think that Nordic may have shot themselves in the foot by not making the module more available and at a much lower price. This opened the door for the fake chip market.
-
@Yveaux Yeah, no other modules available, except from China.
However, that might change. I think there may be a manufacturer in the U.S. that is going to make official modules at a reasonable price soon and pretty much duplicate the Nordic module.I think that Nordic may have shot themselves in the foot by not making the module more available and at a much lower price. This opened the door for the fake chip market.
-
I kind of got it working by manipulating the nRF24L01.h file.
By changing these two params:
#define EN_ACK_PAY 1
#define EN_DYN_ACK 0to:
#define EN_ACK_PAY 0
#define EN_DYN_ACK 1The Nordic module registered on the gateway and reported battery voltage, but failed on temperature.
Anyway, I am not an expert on this software, so maybe someone might be able to help, especially the folks which wrote it.
Thanks,
Tony -
Have you updated the firmware on the sensebender? (they still ship with mysensors 1.4, because someone has been very "lazy" :))
@tbowmo Hi Thomas, I am still having an issue with the authentic Nordic module and the mysensors software.
I was wondering if you has access to one of these modules and could test the software?
Or, if there is someone else that could help out?
If needed, I could ship a Nordic module out for testing as I have several that I got from a Nordic rep in the U.S.
Thanks,
Tony -
I only have China modules :). Right now I don't have the bandwidth for debugging nrf problems, and I have almost decided to go with rfm69 for my sensors instead of the nrf module (mostly due to theoretical better rf coverage)
-
@hek said:
The sketch works. We can rule out that. I suspect the power requirement might differ from the clone. You could play around width extra capacitors on the module.
Well, not sure how you can say the sketch works when I have it here and it does not work with the Nordic module.
Have you tested the SensBender sketch with the genuine Nordic module?
Since these are battery powered adding a capacitor will not make a difference and it will further drain the battery over time.
Again, there is something else going on...
@tcontrada said:
@hek said:
The sketch works. We can rule out that. I suspect the power requirement might differ from the clone. You could play around width extra capacitors on the module.
Well, not sure how you can say the sketch works when I have it here and it does not work with the Nordic module.
I would definitely back up @hek on this. It works for 99% people on this forum. We all are sourcing Nordic modules from Aliexpress / eBay (read China). Personally, I have not seen a single genuine module (not chip) built by Nordic so every test is based on chinese modules.
I believe that the issue you have is related to a radio stack and not related to the sensebender sketch. -
@tcontrada said:
@hek said:
The sketch works. We can rule out that. I suspect the power requirement might differ from the clone. You could play around width extra capacitors on the module.
Well, not sure how you can say the sketch works when I have it here and it does not work with the Nordic module.
I would definitely back up @hek on this. It works for 99% people on this forum. We all are sourcing Nordic modules from Aliexpress / eBay (read China). Personally, I have not seen a single genuine module (not chip) built by Nordic so every test is based on chinese modules.
I believe that the issue you have is related to a radio stack and not related to the sensebender sketch.@alexsh1 I believe the sketch works for the Chinese chips, as you say, but not for the genuine Nordic chips.
That said, I contacted ITead yesterday and asked if the Nordic Module they sell uses the genuine Nordic chip or another chip from a 3rd party. The response I got back was that the supplier they get the Nordic chips says they are authentic. Although, they did not indicate which supplier. So I replied back to ask which supplier they use and I am still waiting for a response from ITead on this question.
Let's say that ITead is using an authentic chip. I run the sketch with their module and it works. I replace the module with the Nordic sample I have and the sketch does not work. So now what?
Is ITead actually using the authentic chip or not? -
@alexsh1 I believe the sketch works for the Chinese chips, as you say, but not for the genuine Nordic chips.
That said, I contacted ITead yesterday and asked if the Nordic Module they sell uses the genuine Nordic chip or another chip from a 3rd party. The response I got back was that the supplier they get the Nordic chips says they are authentic. Although, they did not indicate which supplier. So I replied back to ask which supplier they use and I am still waiting for a response from ITead on this question.
Let's say that ITead is using an authentic chip. I run the sketch with their module and it works. I replace the module with the Nordic sample I have and the sketch does not work. So now what?
Is ITead actually using the authentic chip or not?@tcontrada The problem is to identify whether the a chip is genuine. Personally, I am not going to spend days on this. If modules are working - fine. If not I get my money back and move on to the next reseller. Unfortunately, that's the way it is with these modules.
BTW, I do not think ITead will provide you its supplier. I wouldn't not. As you can appreciate they are resellers so putting their customer directly to suppliers is not in their best interest -
@tcontrada The problem is to identify whether the a chip is genuine. Personally, I am not going to spend days on this. If modules are working - fine. If not I get my money back and move on to the next reseller. Unfortunately, that's the way it is with these modules.
BTW, I do not think ITead will provide you its supplier. I wouldn't not. As you can appreciate they are resellers so putting their customer directly to suppliers is not in their best interest@alexsh1 I think that the folks that are getting unknown Nordic fakes are actually shortchanging themselves. First there is no way the Chinese can make an exact duplicate of the Nordic chip, all they can do is make a cheap facsimile (which is what they do best anyway). If you're like me an seriously want to utilize the work that the guys did on the SensBender module and get the longest battery life and best RF performance then you'd want to use the genuine Nordic chip.
Second, Nordic does not manufacture those chips in China anyway (according to Nordic). So if a reseller says they get them from a Chinese manufacturer then they are fake, no doubt.I also received an email from Seeed Studio indicating they get their chips from a Chinese manufacturer...So probably fake as well.
-
@tcontrada The problem is to identify whether the a chip is genuine. Personally, I am not going to spend days on this. If modules are working - fine. If not I get my money back and move on to the next reseller. Unfortunately, that's the way it is with these modules.
BTW, I do not think ITead will provide you its supplier. I wouldn't not. As you can appreciate they are resellers so putting their customer directly to suppliers is not in their best interest@alexsh1 Of course there is no requirement that they say who they are using. However If the parts are Genuine Nordic nRF24L01P then releasing the source of the Nordic devices should not be a issue as the authorized worldwide Nordic Semiconductor distributors are listed on the Nordic Semiconductor Web Site. So if the Manufacture of the modules were not forthcoming with the distributor used this would raise questions in my mind as to the history of the parts.