-
Notifications
You must be signed in to change notification settings - Fork 2k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
drivers/mrf24j40 : lower TX power on modules with PA/LNA enabled to s… #16549
Conversation
Hi @Carton32 thanks for the contribution. Can you point to where in the Linxu driver the similar handling is done? Is therefore 6.3 dB the extra gain introduced by the PA? |
Hi @fjmolinas , Here : MRF24J40 Linux driver, l.1149 to 1152 In the Linux driver, it's only done for MRF24J40MC (the driver doesn't recognize MD or ME models as they are just newer version of MC as I understand). I use MRF24J40MC Linux driver for my device embedding a MRF24J40MD running on Linux. For your second question, I don't really know. That only models with PA/LNA are concerned was a deduction I made based on the Linux driver (they do it only for the MC model and they don't have something specific for the old MB one). |
Hmmm but according to the document referenced in the code this depends on local regulation MRF24J40MC-3.1, and for all its |
In the MRF24J40MC datasheet :
So for MRF24J40MC, max TX power should not exceed 18.5dBm and the user shouldn't use channel 26. But this is not stated in the MRF24J40MD/ME datasheet (if I didn't miss something). Maybe they forgot to mention this because I noticed this in the FAR. So it's very model specific and we can close my PR I think because of this. |
I believe there are difference |
We should not allow the use of channel 26 for all MRF24J40 modules. It's clearly stated in the datasheets for MRF24J40MB/MC and I noticed this channel is still out of ISM band at my notified body FAR for MRF24J40MD at some TX power levels. Contrary to MRF24J40MB/MC, nothing is stated in MRF24J40MD/ME datasheet to keep radio conformity (RED or FCC) but, still, not ok for channel 26. Now, as nothing is stated about TX power in MRF24J40MD/ME datasheet to keep conformity during use, and I didn't measured the TX power before lowering the setting in RFCON3. I can just say that my MRF24J40MD test in FAR with RFCON3 = 0x38 (17.9dBm theoretically) gives a measured Perp of 10.73dBm. I don't know if we can compare both values as I'm not an expert in this field. So maybe, the easiest way to "fix" this situation is :
What do you think ? |
I would say:
|
Sorry for my silence. I was on holidays + had to suddenly change the topic I was working on. I think we can drop this PR. In the meantime, Microchip has announced EOL for MRF24J40MD/ME... |
…tay in ISM band
Contribution description
One of my devices has a MRF24J40MD. As a part of CE certification process, I made measurements in a FAR (Full Anechoic Room). With default TX power configuration, the module emits on IEEE802.15.4 channel 26 slightly outside ISM band.
To stay in conformity, I had to lower the TX power (-6.3dB) so it stays in the limits defined by ISM band.
You can also check the MRF24J40 Linux driver. They do a similar thing. Based on the Linux driver, it seems to affect only modules with PA/LNA, that's why I simply added my code after PA/LNA activation.
NB : I made measurements only on channel 26. Maybe the module has the same issue on channel 11 but I didn't check (FAR are expensive :D ). So I chose the Linux river approach of lowering TX power on all channels.
Testing procedure
I made measurements in the FAR with and without these modifications.
I tried also to compile with
default
exampleIssues/PRs references
n/a