I fiddled with the STM32F303CCT6 version. But can’t get it to work with loramac-node stack, after extensive debugging I can’t get the rtc alarm A to fire the interrup service routine (isr).
Lmic is for arduino, which also does not work cause there is no SPI implementation for the f3.
And MiniMouse need mbed and an SPI driver c++ class as well.
If anybody got ttn working on the f3, please let me know.
Unfortunately that will not directly provide a solution for a generic STM32F303 board and Arduino.
The Arduino is supported by ST only for a limited number of STM32 versions and boards.
Then there is also the stm32duino ‘Arduino_STM32 by rogerclarkmelbourne’ alternative but that is for STM32F103 only (and not based on the official STM32 HAL).
The good news is that the LoRaM3-D F303 boards do support the Arduino Stack / IDE (based on official STM32 HAL) but unfortunately that is not a solution for existing generic STM32F303 boards.
I have STM32F103C8T6 boards running with Arduino stack and LMIC-Arduino, but that is F103 not F303.
How you can order from France to France or from BSFrance to France?
Just check 2 posts below the one you mentioned, here: The BARGAIN basement part 3
See BSFrance link on the bottom.
You can program it like an Arduino (with minor differences, e.g. port names instead of port numbers (like PB1, PA3, PC13 etc.). The Arduino IDE is supported (PlatformIO currently not (yet) supported).
They have written a proper Arduino Core based on official STM32 HAL which fully implements the F1, L1 and F3 series. A 4k boot loader which supports sketch uploading via USB (DFU) is included on all three boards.
I currently have a STM32 (STM32F103C8T6 ‘bluepill’) board with separate RFM95W module and OLED display running with the LMIC-Arduino and U8g2 libraries (a configuration similar to LoRaM3-D F103).
DIO2 is on a rectangulr pad just over DIO1
These pinholes re not connected, if he need to use them, he need to connect them
Only DIO0 is permanently connected to a STM32 GPIO
@bingo600@Nordrunner
I will share it on github somewhere next week (or so), will take some time.
I will make available several ready-to-go Arduino sketches for a basic TTN node based on SX1276/RFM95W module and (optional) OLED I2C display, using Arduino-LMIC and U8g2 libraries.
A separate sketch per MCU/board. Each sketch can be used for both OTAA and ABP activation (configurable at compile time).
This will allow (new) users to get a new TTN node up and running quickly, without first having to deep dive in board specifics, find out which pins to wire to what, and without having to configure ports in the software first. Focus is on quickly getting the basics to work (sketch will only send a basic upstream message). You will only have to select the appropriate sketch for your board/MCU, (de)select any options and enter the required TTN keys/IDs. And when using separate components: wire them as documented in the sketch.
Currently planned: Several AVR ATmega32(U4), ESP8266, ESP32 and STM32 (x-pill) based boards.
SPI may be possible but more complex as it will possibly compete with the LoRa module for the SPI bus, resulting in LoRaWAN timing issues (LMIC-Arduino is not interrupt-driven). So not worth the hassle (for the €2.50 for a 0.96" I2C OLED display).