Skip to main content
Associate III
May 6, 2024
Solved

RF Communication with Nucleo-WL55JC Boards - Seeking Guidance

  • May 6, 2024
  • 3 replies
  • 14872 views

 

Hello ST experts,

I am a beginner with the STM32WL series and need some support.


So first I started with the STM32F407VG disc1 and I tried to communicate two boards of it using a SI4432 module and I didn't succeed, I tried something else and I bought two Nucleo-32WL55JC1 boards and tried to communicate them and it works as shown in the last post.


It works as a ping pong application -you can find a better description about this application in this link page 44- after that I tried by developing the same code of the ping pong application to communicate a nucleo-32wl55jc1 with nucleo-32wl55jc2 because in the datasheet they don't use the same frequency but it works!

Zayoud_0-1714992026470.png

Zayoud_1-1714992085220.png

Now I am working on RF communication between nucleo-32wl55jc2 and another RF device like a key car or a key garage with the same developed code of the PING PONG application but still I don't have any answer.

My first question is if the NUCLEO-WL55JC cards are able to read RF signals from these RF devices?
The second one is if the code of the PING PONG application forces me to use only NUCLEO-WL55JC boards or B-WL5M-SUBG1 device?

Zayoud_2-1714992269586.png

For example, if I change the RF configuration to match the configuration of the RF device.

And, what is the meaning of the RF range specified in the data sheet of the NUCLEO-WL55JC boards?

Zayoud_4-1714992348239.png

Finally, I tried to communicate with the device that has this configuration

Zayoud_5-1714992391962.png


Are these variables the only ones used in the RF configuration? if not, I would appreciate it if you could specify the critical variables that I need to identify in order to program the NUCLEO-WL55JC boards for effective communication.

In conclusion, I kindly request a link to an RF training course or a recommendation for a book that could further enhance my understanding of RF communication principles.

Thank you for your time and assistance.

@STTwo-32 
Best regards,
Zayoud

Best answer by STTwo-32

Hello @Zayoud 

Sorry for my late feedback.

The STM32WL is a Sub-GHz module that can communicate with any device that use the Same Modulation, same Frequency, ...

The Ping Pong application can be configured to fit on any Wireless STM32 MCU or module. You just have to take care of the HW differences on migration.

RF range is the range of frequency that each MCU can use for communication.

The Sub-GHz parameters are all mentioned on the .h files of the SubGHz_phy folder of each Sub-GHz project (Ping Pong for example).

Hope this is helpful.

Best Regards.

STTwo-32

3 replies

Andrew Neil
Super User
May 7, 2024

@Zayoud wrote:

I am a beginner with the STM32WL series 


Do you have any experience with any other microcontroller(s) ?
Electronics in general?

 

@Zayoud
 wrote:

My first question is if the NUCLEO-WL55JC cards are able to read RF signals from these RF devices?


It's certainly not the type of thing that the WL are really targetting.

To answer that, you're going to need to find the specifications for those "RF devices" - in particular,

  • On what frequency they operate
  • What modulation they use
  • What protocol they use over the link.

 


@Zayoud wrote:

if the code of the PING PONG application forces me to use only NUCLEO-WL55JC boards or B-WL5M-SUBG1 device?


I think ST provides the Ping-Pong example for all of its LoRa-based products - so no, it's not restricted to just WL

However, car & garage door openers tend to be unidirectional - so they certainly won't do a Ping-Pong.

And they don't do LoRa.

 


@Zayoud wrote:

I kindly request a link to an RF training course or a recommendation for a book that could further enhance my understanding of RF communication principles.


"RF communications" is a vast field!

Books will be large & expensive; courses will be long ...

https://www.google.com/search?q=RF+communication+principles+book 

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Andrew Neil
Super User
May 14, 2024

@Andrew Neil wrote:

car & garage door openers tend to be unidirectional - so they certainly won't do a Ping-Pong.


And car remote controls tend to use proprietary rolling codes - so you'd have to work out how to implement them...

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
STTwo-32
STTwo-32Best answer
Technical Moderator
May 14, 2024

Hello @Zayoud 

Sorry for my late feedback.

The STM32WL is a Sub-GHz module that can communicate with any device that use the Same Modulation, same Frequency, ...

The Ping Pong application can be configured to fit on any Wireless STM32 MCU or module. You just have to take care of the HW differences on migration.

RF range is the range of frequency that each MCU can use for communication.

The Sub-GHz parameters are all mentioned on the .h files of the SubGHz_phy folder of each Sub-GHz project (Ping Pong for example).

Hope this is helpful.

Best Regards.

STTwo-32

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.
ZayoudAuthor
Associate III
May 23, 2024

Hello @STTwo-32 

Thanks for the detailed explanation! It clarifies the concept of Sub-GHz communication and modifying the ping pong application.

Here's my understanding:

  • The ping pong application can be adapted to various Sub-GHz projects using compatible STM32 MCUs or modules.
  • Hardware differences might require adjustments during migration.
  • Sub-GHz parameters are defined in the .h files of the SubGHz_phy folder for each project (e.g., ping pong application).

Based on this, I have two questions:

  1. Modifying the ping pong application: Can I modify the ping pong application to read data from RF devices using FSK modulation in the 190MHz to 900MHz range, considering I'm using a Nucleo-WL55JC board (which operates in the same range)?
  2. Pre-developed application: Are there pre-developed applications specifically designed to establish RF communication with various RF devices (beyond the ping pong application)?

Best regard,

Zayoud

Andrew Neil
Super User
May 14, 2024

@Zayoud wrote:

what is the meaning of the RF range specified in the data sheet of the NUCLEO-WL55JC boards?

Zayoud_4-1714992348239.png


It actually says, "RF frequency range":

AndrewNeil_0-1715684213469.png

https://www.st.com/resource/en/data_brief/nucleo-wl55jc.pdf 

 

so that's the range of frequencies (from lowest to highest) at which it works.

 

Not to be confused with "range" in the sense of the distance over which it can communicate!

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.