I am developing ble apps with the BL600.
I am coding a source file with the keil IDE. And this source is deployed to the nRF51 DK board through the nRFgo Studio.
Now, i am considering that i want to adjust the strength of rssi value.
First, i tried to use the 'sd_ble_gap_tx_power_set' method for it.
An argument of this method was 4.
And i built it and deployed it to the BL600.
But, a rssi did not become a stronger.
A rssi had shown about -80 dBm.
Next, i deployed the same code to the nRF51 DK board directly.
Then, i checked a rssi value, it had shown about -35 dBm.
I thank you for reading it through.
In the Laird BL600 module you can control if the VDD_PA pin is connected to the antenna circuit, this is done with a transistor and controlled through pin P0.20. Configure P0.20 as an output and set it low to connect the VDD_PA pin. If the VDD_PA is not connected the output power will be dramatically reduced (approx. 40dbm).
Thanks for a comment !
I will try it. And i will report its results.
Sorry, i can't work it well.
My configuration of P0.20 is following:
NRF_GPIO->PIN_CNF = (GPIO_PIN_CNF_SENSE_High << GPIO_PIN_CNF_SENSE_Pos)
| (GPIO_PIN_CNF_DRIVE_H0H1 << GPIO_PIN_CNF_DRIVE_Pos)
| (NRF_GPIO_PIN_NOPULL << GPIO_PIN_CNF_PULL_Pos)
| (GPIO_PIN_CNF_INPUT_Connect << GPIO_PIN_CNF_INPUT_Pos)
| (GPIO_PIN_CNF_DIR_Input << GPIO_PIN_CNF_DIR_Pos);
I add this code into the 'uart_init' method and build it.
But, a rssi on the bl600 was not changed to the stronger value.
It was shown same rssi before my code was changed.
How do i configure pin P0.20 ?
My develop environments:
Try this instead:
which should be equal to this:
NRF_GPIO->PIN_CNF = (GPIO_PIN_CNF_DIR_Output << GPIO_PIN_CNF_DIR_Pos);
NRF_GPIO->OUTCLR = (GPIO_OUTCLR_PIN20_Low << GPIO_OUTCLR_PIN20_Pos);
Thanks for a comment and sample codes.
Awesome ! I did it.
You've been very helpful.