Re: SODAQ One V3 porting


Léonard Bise <leodido99@...>
 

I'm back again!
I think I sent the last mail only to Brix by mistake.

I'm happy to say that I fixed my issue... 

I needed to set my pin mux function as D not C.

#if CONFIG_UART_SAM0_SERCOM5_BASE_ADDRESS
/* SERCOM5 on RX=PB3/pad 1, TX=PB2/pad 0 */
pinmux_pin_set(muxb, 2, PINMUX_FUNC_D);
pinmux_pin_set(muxb, 3, PINMUX_FUNC_D);
#endif

***** Booting Zephyr OS v1.12.0-333-g2c8c1310f *****                            
Hello World! arm

Now I'm going to try to communicate with the RN2483 chip through an UART device

Best regards,
Léonard.


On 1 June 2018 at 19:03, Henrik Brix Andersen <henrik@...> wrote:
Hi Léonard

> On 18 May 2018, at 11.56, Léonard Bise <leodido99@...> wrote:
> I'm going to work on a project which is going to use the SODAQ One board (https://shop.sodaq.com/en/sodaq-one-eu-rn2483-v3.html).

Sweet.

> In the supported hardware I see that the Adafruit Feather M0 Basic Prot is listed, which has this exact same microcontroller. I also read the Board Porting Guide and as I understand it basically I'd need to take the Adafruit configuration as a base and add these new components to the kconfiguration. All of the aspects related to the microcontroller are already there.

I did the port to the Adafruit Feather M0 Basic Proto. Let me know if I can help with the port for the SODAQ board.

> In particular I'm also wondering how to handle the LoRa microchip, since Zephyr has no LoRaWAN stack what would be the best way to handle the porting of this part?

Perhaps a simple solution could be to just add a sample application using the LoRaWAN chip over UART from the application layer?

Best regards,
Brix
-- 
Henrik Brix Andersen



Join {devel@lists.zephyrproject.org to automatically receive all group messages.