danak6jq / Seeed-LoRa-E5

LoRaWAN end node built from scratch using CubeMX for WLE5x in the LoRa-E5
Other
46 stars 10 forks source link

SX126x SPI to ARM #5

Closed ramimehyar closed 2 years ago

ramimehyar commented 2 years ago

Can you please tell us if you can in addition to SPI, on what other pins to the MCU is the SX126x integrated, Busy and SPI select.... etc?

danak6jq commented 2 years ago

Are you asking how the STM32WLxx integrates the SX126x radio internally? If so, I'd point at the ST documentation. If you're asking which GPIOs are used for RF switching, that's Seeed LoRa-E5 documentation item.

Are you asking something else?

ramimehyar commented 2 years ago

Ho Dana,

You had my questions correct, unfortunately, on both documentation it is only mentioned that they are integrated through SPI, and the rest of the ports are not defined.

If i want to develop my own application, i will need to configure ot accordingly!

Maybe i am missing something, how can i use the RF module without the AT command? Can you point me in that direction at least please?

Regards,

Rami

On Mon, 10 Jan 2022, 17:18 Dana, @.***> wrote:

Are you asking how the STM32WLxx integrates the SX126x radio internally? If so, I'd point at the ST documentation. If you're asking which GPIOs are used for RF switching, that's Seeed LoRa-E5 documentation item.

Are you asking something else?

— Reply to this email directly, view it on GitHub https://github.com/danak6jq/Seeed-LoRa-E5/issues/5#issuecomment-1009041765, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS4AYHPEIMRTUPZS5JIJB4TUVMBFFANCNFSM5LTY3VWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

danak6jq commented 2 years ago

This repo was produced using STM32CubeIDE to assemble ST's firmware support into a project. It started as a functional clone of the LoRaWAN_End_Node example, but it is a stand-alone project. If you clone this repo and open it with STM32CubeIDE, build it, and flash it into a LoRa-E5 , you will be using the RF module without the AT firmware, this replaces it.

You do not need to do a thing to configure the LoRaWAN radio or stack - it's all integrated in this project.

The LoRaWAN application is contained in lora_app.c

To build a new LoRaWAN application (mote), you'd probably start by changing code in lora_app.c - because this is the ST example code, it is as instructive as I can be.

ramimehyar commented 2 years ago

Thank you Dana, that helps alot!

I will give it a try.. However, i am planning to develop for the nodes to send directly to each other, i.e Lora and no Lorawan! I guess i need to research further to find an example where i can send from one node to another directly.

Regards,

Rami

On Mon, 10 Jan 2022, 18:12 Dana, @.***> wrote:

This repo was produced using STM32CubeIDE to assemble ST's firmware support into a project. It started as a functional clone of the LoRaWAN_End_Node example, but it is a stand-alone project. If you clone this repo and open it with STM32CubeIDE, build it, and flash it into a LoRa-E5 , you will be using the RF module without the AT firmware, this replaces it.

You do not need to do a thing to configure the LoRaWAN radio or stack - it's all integrated in this project.

The LoRaWAN application is contained in lora_app.c

To build a new LoRaWAN application (mote), you'd probably start by changing code in lora_app.c - because this is the ST example code, it is as instructive as I can be.

— Reply to this email directly, view it on GitHub https://github.com/danak6jq/Seeed-LoRa-E5/issues/5#issuecomment-1009142673, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS4AYHPK5G7I45LLBW5NW2TUVMHPRANCNFSM5LTY3VWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>

danak6jq commented 2 years ago

For point-to-point communication examples, have a look at the example SubGHz_Phy_PingPong in the STM32WLxx firmware package. You can easily create it as a STM32CubeIDE project (create new project from an example) and it sounds like what you want.

ramimehyar commented 2 years ago

Awesome, thanks!

On Mon, 10 Jan 2022, 18:33 Dana, @.***> wrote:

For point-to-point communication examples, have a look at the example SubGHz_Phy_PingPong in the STM32WLxx firmware package. You can easily create it as a STM32CubeIDE project (create new project from an example) and it sounds like what you want.

— Reply to this email directly, view it on GitHub https://github.com/danak6jq/Seeed-LoRa-E5/issues/5#issuecomment-1009162163, or unsubscribe https://github.com/notifications/unsubscribe-auth/AS4AYHLFWA6TNKJQ6TO3YB3UVMJ7HANCNFSM5LTY3VWA . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

You are receiving this because you authored the thread.Message ID: @.***>