I can’t control neither IO1 and IO2 of the 4260 evaluation board.
The 4260 evaluation board is composed of the RAK4261 (which houses the RAK4260) and RAK5005 (base board)
I was wondering which pins of the RAK4260 corresponds with the IO1 and IO2 pins of the RAK5005.
The RAK documentation is imcompleted… i could not manage not find the schematics of the RAK4261. (I was only able to find the schematics of the RAK5005)
Using a polymeter i was able to determine that:
- PB22 of RAK4260 is linked with the IO1 of the RAK5005
- PA15 of RAK4260 is linked with the IO2 of the RAK5005.
I added some lines to the the ‘RAK4260-LoRaNode-demo-master’ project (https://github.com/RAKWireless/RAK4260-LoRaNode-demo) to control the IO1 and IO2 pins, adding some lines in the main.c.
//Initalization code for GPIO
struct port_config pin_conf;
pin_conf.direction = OUTPUT;
(The same thing to control IO2 with ‘PIN_PB22’)
The code should work perfectly since it worked correctly in the “SamR34 xplained pro evaluation kit”.
So my doubt is… what am I missing? What am i getting wrong?
Can the technical staff of RAK upload the schematic of the RAK4261??
Thanks in advance