I wanted to know if it was possible to connect the nRF52840 to an arduino so I can program it (nR52840) with Arduino's IDE.
This is outside of my area of expertise, but it looks like you can use Arduino Primo.
Thanks for answering me, but I want to use the nRF52840 with the Arduino Uno instead of buying the arduino primo.
I think it can be quite hard to use the Arduino directly with the nRF52840.
I would recommend you to use our SDK with the nRF52840, and the Arduino API with Arduino Uno.
I have the nRF52840 PDK
What do you mean by "use the nRF52840 with the Arduino Uno"? You want to connect them using spi or i2c? Or do you want to program the nRF52840 using the Arduino IDE?
You can program the nRF52832 using Arduino IDE. See this link: github.com/.../arduino-nRF5
No support for nRF52840 yet, but if you send Sandeep Mistry a message on Github, he might add support for it ;)