Good evening,
I am using a nrf52840DK to set up a product prototype and I have a couple of questions about the peripherals. My nRF Connect SDK version is 1.5.99.
1. I am building for the nrf52840dk_nrf52840 target and use an overlay file to overwrite with my own configs. I have an interrupt signal I want to put on P0.20. But that pin is used for qspi as defined in nrf52840dk_nrf52840.dts. How do I deactivate qspi so I can use that pin for my purpose? I know I could just use another one but for sake of knowing it, I am looking for an answer. I have this in my overlay file, but it doesn't seem to have an effect, at least the interrupt signal is not coming. (I tested it on other pins and it works, so I am sure that the code is not the problem).
&qspi { status = "disabled";};
2. Some peripherals cannot be used at the same time, e.g. spi0 and i2c0 cannot be used together. I found out after looking at the .dts files. Is that information documented somewhere else? What's the technical reason?
3. Some pins are marked as Standard drive, low frequency I/O only in the docs. But the .dts file for the nRF52840DK put for example SPI on these pins, why is that? Is it for sake of Arduino compatibility or doesn't it matter that much in the end? I will follow the recommandation but I'm just curious why the peripherals are being put there by default.
Looking forward for some enlightenment!