[riot-users] SAM R34 Xplained Pro ports - new lora device
Noël Le Moult
noel.lemoult at dfxlab.fr
Mon Jul 8 17:25:21 CEST 2019
I am working on some LoRaWan projects and I would like to know if someone already started to port the Sam R34 xplained board to work with riot and the lorawan aplpication example.
Previously I sucessfully built and run the lorawan application using STM32 B-L072Z-LRWAN1 board on both TTN and SPOT lorawan networks.
I also managed to get it working on my custom design board using the murata CMWX1ZZABZ-091 and it works like a charm. my only real difficulty is the power consumption as I did not manage to get the power management library working like it should, but I will open a specific thread about this topic ;)
As microchip launched a new chip I'm interrested to evaluate this new lorawan solution to get some serious alternative to the murata/stm32 one.
Until here, I defined a new samr34 cpu and sucessfully run some basic application using riot os on the Sam R34 xplained board. Shell application, push button and leds are working like expected.
I defined the internal SX1276 conenction (spi bus and internal IOs) and I get some results :
2019-07-08 16:47:44,410 - INFO # main(): This is RIOT! (Version: 2019.07-devel-940-g1744b)
2019-07-08 16:47:44,414 - INFO # LoRaWAN Class A low-power application
2019-07-08 16:47:44,417 - INFO # =====================================
2019-07-08 16:47:44,421 - INFO # [semtech-loramac] initializing loramac
2019-07-08 16:47:44,425 - INFO # [sx127x] SPI_0 initialized with success
2019-07-08 16:47:44,429 - INFO # [sx127x] SX1276 transceiver detected
2019-07-08 16:47:44,449 - INFO # [sx127x] Set channel: 868000000
2019-07-08 16:47:44,453 - INFO # [sx127x] Set channel: 434000000
2019-07-08 16:47:44,455 - INFO # [sx127x] Set op mode: SLEEP
2019-07-08 16:47:44,460 - INFO # [semtech-loramac] radio: initialization successful
2019-07-08 16:47:44,462 - INFO # [sx127x] set modem: 1
2019-07-08 16:47:44,465 - INFO # [sx127x] Set op mode: SLEEP
2019-07-08 16:47:44,468 - INFO # [sx127x] Set op mode: RECEIVER
Unfortunately I'm stuck here and I would need some help to get it working :)
I'm new to RIOT my code as not yet been checked with RIOTs coding convention but I would be pleased to share my RIOT fork if some guys are interrested to use the Sam R34 xplained board as a LoRaWan alternative.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the users