Hi,
I am using s140 v7.0.1 for nRF52840.
I found if I configure NRF_GPIOTE->CONFIG[0], then BLE will not work.
Which GPIOTE channels are used in s140?
Thank you.
Hi,
I am using s140 v7.0.1 for nRF52840.
I found if I configure NRF_GPIOTE->CONFIG[0], then BLE will not work.
Which GPIOTE channels are used in s140?
Thank you.
Hi,
The softdevice does not use any GPIOTE channels.
Best regards,
Jørgen
That issue is about the radio driver in Zephyr, it is not related to the softdevice. If you are using nRF5 SDK (which I assume you are, since you are using s140 softdevice), that is not relevant.
Which pin are you configuring for use with GPIOTE?
That issue is about the radio driver in Zephyr, it is not related to the softdevice. If you are using nRF5 SDK (which I assume you are, since you are using s140 softdevice), that is not relevant.
Which pin are you configuring for use with GPIOTE?
Yes, I am using nRF5 SDK. But sometimes I directly use registers.
The pin is P0.08.
After I changed the channel from 0 to 4, BLE Tx worked. So I believed the comment in Zephyr link.
I should see if I used channel 0 in other part of my firmware.
Are you testing on nRF52840 DK? Are you transferring data from PC over UART to the BLE NUS application? GPIO P0.08 is used as UART RXD pin by default on the DK, maybe that could be the cause of your issue?
No, I am using a customized board. I am using other pins for UART Tx, Rx.
As mentioned above, I just changed GPIOTE channel from 0 to 4, then BLE tx worked.
I think I can find some clue on the coming Monday.
Thank you very much!
Have a nice weekend and be careful from COVID 19!