请问nRF52840除了配置文件给出的P0.08为RX,P0.06为TX外,还有其他引脚可以配置成RX,TX吗
请问nRF52840除了配置文件给出的P0.08为RX,P0.06为TX外,还有其他引脚可以配置成RX,TX吗
Hello,
Please write in english, but the answer to your question is Yes. Alls pins are configurable, though avoid pins marked as low frequency I/O: https://infocenter.nordicsemi.com/topic/ps_nrf52840/pin.html
Kenneth
In which file can I change the pin configuration?
Hi,
For new development you should be using the nRF Connect SDK, to get familiar with the nRF Connect SDK (NCS) check out:
https://academy.nordicsemi.com/courses/nrf-connect-sdk-fundamentals/
In NCS the pins are typically defined in overlay files or directly in the board file:
https://github.com/nrfconnect/sdk-zephyr/blob/main/boards/arm/nrf52840dk_nrf52840/nrf52840dk_nrf52840-pinctrl.dtsi
Kenneth