This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Scan only one nrf52832 peripheral

HI

I am using nrf52832 modules with SDK 11.0.0, s132.

I am able to advertise and scan the devices and display RSSI and peer address.

For my project i want to display the RSSI of the advertising nrf module , but the central device is scanning all the surrounding peripheral devices.So how do i implement to scan only one particular peripheral device and there by display that device address and RSSI only??

central: ble_app_uart_c example

peripheral: ble_beacon example

Thanks,

Uma

  • Hi,

    Thank you for explaining.

    Regarding the TX power level, the range or distance reduces as power level is set to -4, -8 and so on right?

    At the reception end is there any feature with regards to the LNA/PA control ? or it is already enabled in the module ?How does it work in the nrf52832 module?

    Thanks in advance.

  • Hi,

    guma said:
    Regarding the TX power level, the range or distance reduces as power level is set to -4, -8 and so on right?

    Yes, that is correct. For instance, a 6 dB decrease in power will give you half the range.

    guma said:
    At the reception end is there any feature with regards to the LNA/PA control ? or it is already enabled in the module ?How does it work in the nrf52832 module?

    What do you mean? The receiver end does not have any similar parameter to Tx power. But if you refer to SoftDevice support for controlling an external PA and/or LNA, that is in place. You can, for instance, refer to this post.

  • Hey,

    I mean is there an PA/LNA in the nrf52832 that needs to be enabled to get more range.

    If i have understood it correctly ,your saying there is no such feature in the module specifically for PA/LNA but can be implemented through external PA\LNA using available GPIO pins .?

    To understand , GPIOTE, when i need a particular pin to be triggered after a function or task is completed, say i have established a connection between central and peripheral and i have made GPIO pin to go high to indicate that status ,is that when the GPIOTE comes into picture?

    How can i understand GPIOTE better?

    The document says about the pin operations and pin conditions, which are quite understandable when read but to get know about using them is confusing.So How can i understand the usage?

    I found https://devzone.nordicsemi.com/f/nordic-q-a/18559/understanding-gpiote-better but did not understand.

    Thanks

  • Hi,

    guma said:
    I mean is there an PA/LNA in the nrf52832 that needs to be enabled to get more range.

    You control the internal output power (think of it as an internal PA as we have discussed earlier). The internal LNA is automatically controlled and cannot be configured in any way.

    guma said:
    If i have understood it correctly ,your saying there is no such feature in the module specifically for PA/LNA but can be implemented through external PA\LNA using available GPIO pins .?

    Yes. If you need a external PA or LNA, that is supported and can be controlled via GPIO pins, which are asserted by the SoftDevice when the radio is in Tx or Rx mode.

    guma said:
    To understand , GPIOTE, when i need a particular pin to be triggered after a function or task is completed, say i have established a connection between central and peripheral and i have made GPIO pin to go high to indicate that status ,is that when the GPIOTE comes into picture?

    When using PA/LNA support in the SoftDevice, The SoftDevice will assert the a GPIO pin whenever the radio is in Tx mode, and similarly assart another pin when the radio is in Rx mode.

    guma said:
    How can i understand GPIOTE better?

    You can start by looking at the GPIOTE chapter in the PS. Essentially it is GPIO pins with support for tasks and events are described under Peripheral interface.

    guma said:
    The document says about the pin operations and pin conditions, which are quite understandable when read but to get know about using them is confusing.So How can i understand the usage?

    The best way to understand things is to read documentatin and experiment wit some simple examples related to what you want to do.

    By the way, why are you starting development with the ancient SDK 11?

  • Thank you for the quick reply.

    I happen to have the SDK, just trying to get to know to be easy with new version.

Related