RF switching on STM32L4XX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-04-01 11:01 PM
Hi
I want to communicate between two STM32L4 MCU, and interfaced RF on to UARTs.
UART1 -- BLE
UART2 -- XBEE
I want to make a transparent, i mean when there is NO BLE there should be a switch to XBee and the other MCU has to be altered to make a seam less communication. When there is enough RSSI for BLE, XBEE and BLE both has to communicate simultaneously in run time.
My queries :
a. Does the above scenario can happen in run time?
b. If i make a switch in run time will be there any effect on RFs.
I would like to know a better approach to make a RF switch at run time.
Thanks
Phani
#rssi #xbee #hal-uart #rf #ble- Labels:
-
BLE
-
STM32Cube MCU Packages
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-04-02 4:21 AM
Presumably, you are using an external module for BLE, and
an external module for XBEE?
So you need to study the documentation for those modules to see how to 'activate' and 'de-activate' each one.
a. Does the above scenario can happen in run time?
Yes.
b. If i make a switch in run time will be there any effect on RFs.
You will have to follow the documented procedures for each one regarding connection. disconnection, etc, ...
I would like to know a better approach to make a RF switch at run time.
It's not an RF switch - it's just a choice of which module to use.
Again, you need to
study the
documentationfor each module to determine what indication(s) they provide as to whether their link is 'good' or 'usable' or not.A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-04-02 5:36 AM
did you see this chip ? STM32WB
is that similar to your needs ?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-04-02 6:05 AM
HI Team,
My idea is to make RF interface on UART 1 and UART 2 on STM32L4.
And write a on the fly RF switching firmware( Transparent switch so that the other communicating node has the update on the data sending channel).
Is there any sample/ example which gives a basis to start understanding/ write the firmware.
Thanks
Phanirajkiran
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-04-02 6:30 AM
Hi Clive,
Thanks for the quick reply.
Issue is how to make a Radio Scheduler which is the key component of the dynamic multi-protocol switching, which can take the Data into it depending on the Switch between RF which are running on UARTs.
Thanks,
Phani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-04-02 6:57 AM
Hi Neil,
Thanks for reply.
To start this assignment the idea behind is same concept '
phones handle switching their network connection between cellular and WiFi
'.We want to do this same concept on Firmware STM32, inorder to it we have choosen RF on UART.
a. external module for the BLE -- YES, HM10.
b. XBEE module - Digi XBEE module which is interfaced on UART.
Thanks
Phani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-04-02 7:20 AM
Does this above algo suits the RF switch.
Thanks
Phani
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-04-02 7:51 AM
Depends what OP meant by 'XBEE'.
XBEE it is a whole product range from Digi - not a single product, and not a single radio protocol:
A complex system designed from scratch never works and cannot be patched up to make it work.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-04-02 8:21 AM
>>Is there any sample/ example which gives a basis to start understanding/ write the firmware.
What part of the problem?
Programming the UART? Programming the modules? Porting assorted code to the STM32 platform? Merging of the functionality?
These would seem to be basic software development tasks.
Up vote any posts that you find helpful, it shows what's working..
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2018-04-02 8:38 AM
As with any project, the key is to start with a high-level understanding, and then break things down into implementable blocks.
You haven't confirmed whether you're using an external module for the BLE, and you haven't answered which particular XBee you're using.
To get a general idea, you could look at how things like phones handle switching their network connection between cellular and WiFi ...
A complex system designed from scratch never works and cannot be patched up to make it work.
