RAK11720 Schematic

We recently bought a bunch of modules as samples for new projects, intended to be used mostly as a LoRa point to point radios with a custom firmware, but in the case of the RAK11720, I cant find the internal schematic anywhere to start the development of a low level firmware. Would it be possible to get it?. Thanks.

Welcome to the forum @lfw

Are you writing your firmware with the Ambiq SDK directly?

Did you look into our RUI3 API to create custom firmware for the RAK11720? It includes the complete LoRa drivers and LoRaWAN stack which makes it easy to write a custom firmware. In addition it has an AT command interface that makes setup of a device easy.

The schematics of our WisDuo modules are proprietary, but I can give you the pin assignments for the connection between the Apollo3 and the SX1262:

SX1262 Signal Apollo3 IO
Antenna power CMPI1_NCE18_CT4_RTS0_ATST2_TX1_SCCIO_GP18

For the SX1262 settings:
DIO3 is the TCXO voltage supply
DIO2 is controlling the antenna switch direction
SX1262 is setup for DC/DC usage

Thanks, I was asking for the schematics because they were available for all the other WisDuo modules we bought in the doc site, but the pin assignment should be enough.

Yeah, probably we will be writing the firmware directly to the MCU using Ambiq SDK. I did look into the RUI3 API, and would definitely use it if we were provided with binaries and headers to use within our code/compiler, but as far as I could see its all Arduino extensions based, which is not ideal for the scope of our work. Nothing is set yet though.

We have released the schematics for some of our older WisDuo modules which are EOL. But for the latest modules like the RAK3172 and RAK11720 they are not available.

For RUI3, we are using Arduino as an easy to use “IDE”, and we added Arduino API calls as an easy way to create code that can be compiled for any of our WisDuo modules with RUI3 firmware.

But I understand that it is not suitable for all uses.
Personally I am writing RUI3 code on Visual Studio Code, using the Arduino-CLI to compile and flash.

Hi @beegee ,
i am a vscode cmd person as well . can you share your setup as well?
i want to know how do you use the arduino BSP and compile arduino sketches using cli

Welcome to the forum @rdre

The installation guide for VSC is in our documentation center.
For easier access to the compiled files, I add a path for the output in the arduino.json file (this file is created by the Arduino Extension when you open a project).
Here is an example:

    "configuration": "debug=l0,supportat=1",
    "board": "rak_rui:stm32:WisDuoRAK3172EvaluationBoard",
    "port": "COM33",
    "sketch": "RUI3-LowPower-Example.ino",
    "output": "build"