How to configure nRF5340 for RF measurements. which programs can be flashed to the device to get 100% TX and 100% RX and measure the RF parameters
How to configure nRF5340 for RF measurements. which programs can be flashed to the device to get 100% TX and 100% RX and measure the RF parameters
Hi, As you can see here it does not make sense to measure both VDD_HV and VDD."
By default, the high voltage regulator is configured to source external components from the VDD pin. To save power this feature must be disabled. For details, see High voltage mode."
Is the device running in HV mode? Also, is this a custom board? I'm not sure that you would gain anything to measure the current consumption since if it is a custom boards you it can be hard to correlate power consumption with RX effect.
Regards
Runar
Hi Runar,
What did you mean by custom mode I'm using a nRF5340 DK and putting it into modes like advertisement using nRF connect in V S Code.
So my question here is at that time, which of these rails(VDD & VDD_HV) can give the chips current consumption at these modes.
Regards,
Arun
Hi
It looks to me like there is a few things here:
- You are running a sweep over a single channel, I would rather use the constant carrier wave as you would with the current config only stay at channel 37 for 50ms
- You power meter is set to what would be channel 2 while you are sending at channel 37
- I can't see that you have adjusted the output power
- Your test setup is still a mystery to me.
Regards
Runar
Hi Runar,
on one of your previous response, you've said
" Since the DK has a extra circuits outside the nrf5340 you need to have the correct setup so you don't measure the current draw of the whole DK."
what is the correct setup that I should follow to measure just the current drawn by nRF5340 on any state?
Regards,
Arun
runsiv said:I was supposed to write custom board. Since you are using the DK we have guide for current measurement here.
Regards
Runar
->I'm following this same method mentioned in the document in section "measure average current with ampere meter".
-----> You power meter is set to what would be channel 2 while you are sending at channel 37
channel 2 is frequency 2408 right? I'm the power meter to frequency 2402.
------>You are running a sweep over a single channel, I would rather use the constant carrier wave as you would with the current config only stay at channel 37 for 50ms
Can you please guide me configure the same?
---->Your test setup is still a mystery to me
I'm connecting the DK to my laptop through USB cable, flashing the "radio test" example, giving commands to the DK using Tera Term, like the log shared earlier. Connecting the external antenna(J1) to the power meter. VDD and VDD_HV points to the ammeter.
Regards,
Arun
arun12 said:VDD and VDD_HV points to the ammeter
Connect your current measurement to P22 as stated in the link I have given you. It might be that i misunderstood, but it sounds to be like you have 1 cable attached to p22 and one to P23. The device should not be in Hv mode so I see no reason to measure there
arun12 said:channel 2 is frequency 2408 right? I'm the power meter to frequency 2402.
I'm not sure I follow, you would you measure on another channel then where you are sending?
arun12 said:Can you please guide me configure the same?
instead of using the start_rx_sweep, use start_rx
arun12 said:Connecting the external antenna(J1) to the power meter.
Could you name the instrument? We use network or spectrum analyser when we look at RF so I just want to be sure that is not something I have overlooked here. Especially since there might be signal loss depended on the connection between the DK and the measurement instrument
Regards
Runar
arun12 said:VDD and VDD_HV points to the ammeter
Connect your current measurement to P22 as stated in the link I have given you. It might be that i misunderstood, but it sounds to be like you have 1 cable attached to p22 and one to P23. The device should not be in Hv mode so I see no reason to measure there
arun12 said:channel 2 is frequency 2408 right? I'm the power meter to frequency 2402.
I'm not sure I follow, you would you measure on another channel then where you are sending?
arun12 said:Can you please guide me configure the same?
instead of using the start_rx_sweep, use start_rx
arun12 said:Connecting the external antenna(J1) to the power meter.
Could you name the instrument? We use network or spectrum analyser when we look at RF so I just want to be sure that is not something I have overlooked here. Especially since there might be signal loss depended on the connection between the DK and the measurement instrument
Regards
Runar
Hi,
I'm not sure I follow, you would you measure on another channel then where you are sending?
I'm sending Tx from channel 37(which is 2402) and trying to measure from channel 37 itself, setting frequency as 2042.
But why you were saying I would've set channel to 2 in power meter.
Regards,
Arun
Hi
start_channel |
<channel> |
Start channel for the sweep or the channel for the constant carrier (in MHz, as difference from 2400 MHz). |
If you want to send on 2402MHz you would need to use channel 2.
Regards
Runar