sandeepmistry / arduino-nRF5

Arduino Core for Nordic Semiconductor nRF5 based boards
Other
873 stars 278 forks source link

DWM1001C variant #413

Open pmondejar97 opened 4 years ago

pmondejar97 commented 4 years ago

I'm developing a custom board with the DWM100C, that incoroprates a NRF52832 and I want to make my module compatible with Arduino. I'm looking at the variants directory and I suppose that need to create a variant.h file for my board because the variant that is already developed do not match with this one. How can the variant be adapted to this module? This project is one of the first I so I don't know exactly how to do it.

Thank you in advance.

markshancock commented 4 years ago

I tried it too. The installation instructions seem straight-forward; but, I have a DWM1001-DEV which has a special programming interface (JLink-Flash) and I couldn't figure out how to make that work. We have a real JLink; but, it is at the office under COVID quarantine.

jenguidanos commented 4 years ago

Perhaps I can contribute more information to @pmondejar97's original question (we are co-workers).

This is the documentation of the PCB developed by Pablo (a work in progress): https://rhomb.io/docs/master-modules/dwm1001c/documentation/

Probably the main question is which variant to use as a basis for developing our own. The logical answer I think would be to use the variant DWM1001-DEV. I have doubts about the IRQ pins, which I don't see in Pablo's documentation or they appear under a different name.

In short, we would like to know if the procedure would be as follows:

Besides creating the variants directory, is there any other file that needs to be modified for Arduino IDE to recognize our PCB?