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

How to use PORT 1 for mesh_pa_lna_gpiote_params_t

I'm testing nRF Mesh on nRF52840 chip, I used P1.10 for LNA pin and P1.13 for PA pin, I tried to config but it not worked. how to fix it?

static mesh_pa_lna_gpiote_params_t m_pa_lna_params = {
    // chan LNA (RX)
    .lna_cfg = {
        .enable = 1,
        .active_high = 1,
        .gpio_pin = NRF_GPIO_PIN_MAP(1,12). // PORT 1, PIN 12
    },
    // chan PA (TX)
    .pa_cfg = {
        .enable = 1,
        .active_high = 1,
        .gpio_pin = NRF_GPIO_PIN_MAP(1,11) // PORT 1, PIN 11
}, 
.ppi_ch_id_set = 0,
.ppi_ch_id_clr = 1,
.gpiote_ch_id = 0
};
Parents Reply Children
No Data
Related