Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
Attached is the IOC setup for simple continuous PWM Mode from LPTIM1 from STM32BW55 (all Cube IDE/MX updated with the library, etc).. RB2 showing the waveform as per Peroid and Pulse width (from 64MHz clock input) but I get no interrupt (enabled by IOC setting). I have looked thro the documents and could not find something useful. Have I missed something?
HiI need to know that how can i create thousand amount of binary or hex file for different keys during mass production. I use custom firmaware, sdk v.1.0 for development and i wrote manually keys of each device.
Hi, I need some help trying to undestand this operation in Lorawan_end_node example projectnvm_size = ( ( sizeof( LoRaMacNvmData_t ) + 7 ) & ~0x07 ); in the code below:Maybe it is so simple, but i thought that it would be something like that nvm_size = sizeof( LoRaMacNvmData_t );Thanks in advanceLmHandlerErrorStatus_t LmHandlerNvmDataStore( void ) { #if (defined( CONTEXT_MANAGEMENT_ENABLED ) && ( CONTEXT_MANAGEMENT_ENABLED == 1 )) LoRaMacNvmData_t *nvm; uint32_t nvm_size; LmHandlerErrorStatus_t lmhStatus = LORAMAC_HANDLER_SUCCESS; int32_t status = NVM_DATA_OK; lmhStatus = LmHandlerHalt(); if( lmhStatus == LORAMAC_HANDLER_SUCCESS ) { status = NvmDataMgmtStoreBegin(); if( status == NVM_DATA_NO_UPDATED_DATA ) { lmhStatus = LORAMAC_HANDLER_NVM_DATA_UP_TO_DATE; } else if( ( status != NVM_DATA_OK ) || ( LmHandlerCallbacks->OnStoreContextRequest == NULL ) ) { lmhStatus = LORAMAC_HANDLER_ERROR; } else { MibRequestConfirm_t mibReq; mibReq.
Hello everyone:I created a thread udp project through the official Max 6.7 version of the IDE and applied it to two Nucleo -STM32WB55 development boards for thread data transmission.(One as FTD equipment, one as MTD equipment)I want to let the MTD device enter the low power consumption mode when the device is idle. I try to set the low power consumption setting under MAX IDE. After setting the above functions, the measured current consumption on the MTD device has not dropped below 1uA. How can I adjust it to achieve the Shutdown low power mode consumption effect on the file?In addition, how to wake up the device through PC13?
Hey!!I have a BLE application which runs on custom server profile. There are few characteristics of a given service, where the client can modify them. I need clarifications for the below questions.Is there any event generated by the BLE stack to know whether the client device has started a request for the connection with the server.? Also want to know whether there is any API to use to get this info.?Is there any event generated by the service/characteristic if the attribute value is modified from client device?Thanks,Akash
Hello ST,I am using STM32WB Necleo Board to test USB as VCP. my reference project is BLE_MeshLightingLPN (USB Dongle) project and same way i am implementing all libraries and modification in BLE_MeshProvsion... CFG_USB_INTERFACE_ENABLE 1A new VCP port appeared in Device manager with errorDid i missed anything or it need more modification to use USB as output trace....Best RegardsDeepak
Looking at the website it cost a lot of money , approx $5k .https://www.bluetooth.com/develop-with-bluetooth/qualification-listing/qualification-listing-fees/Scott
I am using an STM32WB30 MCU and am using a modified version of the BLE P2P example where my device is a client connecting to a BLE server that is always advertising. My device goes into a scanning procedure when a button is pressed, connects to the BLE server, discovers its services and characteristics, and subscribes to the desired characteristics. After successfully calling the below function when a button is pressed, the system goes into the scanning procedure. aci_gap_start_general_discovery_proc(0x4000, 0x4000, PUBLIC_ADDR, 0);Then, in the SVCCTL_App_Notification callback function, the ACI_GAP_PROC_COMPLETE_VSEVT_CODE case is executed within ~10 seconds once the scanning procedure is complete. As shown in the P2P example, if devices are discovered, the HCI_LE_META_EVT_CODE case within the SVCCTL_App_Notification callback is executed which then has several other sub-cases within it, including AD_TYPE_COMPLETE_LOCAL_NAME which I use to do a strncmp to find my BLE server by name. If
I am trying to incorporate the X-Cube-EEPROM package into an existing STM32WB55 Nucleo design that I have. In the process one of the compile errors refers to an RCC bit:'RCC_CR_HSEBYP' undeclared (first use in this function); did you mean 'RCC_BDCR_LSEBYP'?Your stm32wbxx.h file within the CMSIS/Device/ST/STM32WBxx/Include folder calls out the RCC_CR_HSEBYP as bit 18.This bit doesn't even exist in the manual....What kind of code is this???This is VERY subpar.
..
Details deleted.
Hello,Currently I am working on a End Of Line firmware file that runs in RAM that need to be able to test that the antenna in functioning as expected.In other project with BLE we used aci_hal_tone_start() for this is there a similar function for the ZigBee stack. We are using stack version 1.15.0 stm32wb5x_Zigbee_FFD_fw.bin on a STM32WB50We would like to not have to change the stack because that would require flashing the stack again after flashing.With kind regards,Nick Assink
I am looking for a suitable software package for the use of the SX1261MB2xAS shield with a NUCLEO platform.I already worked on a similar project some years ago and I am sure that I found and used an example for using this board in STM32CubeMX or STM32CubeIDE.Now I can only find the I-CUBE-LRWAN package which is suitable for another hardware platform.
I was able to program two Nucleo-WBA52CG using STM32CubeIDE and the on board ST-Link. I programmed them with the BLE_HeartRateThreadX example application. When I power them I can see the BLE_HeartRateThreadX BLE traffic on my phone. However, I can not reprogram them again using the same setup. I suspect the problem is simple but I really have no idea what is wrong. Any help is appreciated. I get the error below when I try to program them. ------ Switching to STM32CubeProgrammer ----- [36m[01m ------------------------------------------------------------------- [39;49m[36m[01m STM32CubeProgrammer v2.13.0 [39;49m[36m[01m ------------------------------------------------------------------- &n
Here is what I try to do:Imported SubGHz_Phy_PingPong to my workspace.Double click on IOC to launch CubeMX and do simple HW change, in my case enabling EXTIO interruptsAfter code generation there are many compilation errorsCan be reproduced with other examples too.Errors are related to multiple definitions of many functions. I have noticed that additional lines were automatically added to makefile (-include Application/User/*) which probably causes this issue. Please suggest workaround.
Hello All...I have downloaded the X-Cube-EEPROM as I would like to create persistent variables. I have an existing project using Nucleo-WB55. Can someone help defining what files/folders to import from X-Cube-EEPROM into my project and what the file structure will look like when done? Initial try was to import en.x-cube-eeprom-v5-0-0\X-CUBE-EEPROM v5.0.0\Middlewares\ST\EEPROM_Emul but this proved to not compile due to a whole bunch of missing files/links. I didn't want to import at a higher level as it seemed to bring in all the CMSIS stuff, etc. which I already have in my existing code. Please don't refer me to AN4894 as this has nothing to do with respect to integrating files into an existing project. At this point I just need to be able to bring in the necessary files into my current project and successfully build. There seems to be NO information at all out in the ether with respect to this and I am quite surprised as it is very common to have a few variables that infrequently need
I am using nucleo STM32WB55RG to build an BLE application. I am having a very weird issue.At first I create an BLE application using CubeMX.I used server profile with custom template enabled (You can refer to attached cubemx file .ioc)The application will start advertising after all setup and init.I used an android phone with nRF Connect installed on it to scan advertising node.When I build and debug bare project (project generated from cubeMX without any modification), android phone can successfully see the device (nucleo stm32wb board) advertising.---> HOWEVER, WHEN I UNPLUGED THE BOARD AND PLUG IT AGAIN (DISCONNECT FROM POWER SOURCE AND CONNECT AGAIN), THE BOARD SENDS ALL DEBUG INFO WITH SUCCESS VIA UART (DEBUG MODE IS ENABLED)BUT THE PHONE CAN NOT SCAN THE BOARD SUCCESSFULLY.--> Additional info: when I program the board with BLE_p2pServer example, the above issue did NOT occur@@Please help me with this problem!!!Thank you very much
Where in the files or a function can I put a character to be read by Android(maybe humidity reading) when using BLE in STM32WB55. I can not find any help from your videos. Please if you reply send me the exact function and include character "thanks".This will help me build my ADC from there.Please do not send me links to videos,unless you have solved it and you have a link. Thanks you.Regards,M.E
Hello,I am developing my own project based on Lorawan_end_node project, i have some doubts regarding to memory addressing. In linker file:/* Memories definition */ MEMORY { RAM1 (xrw) : ORIGIN = 0x20000000, LENGTH = 32K NVM_RAM (rw) : ORIGIN = 0x20008000, LENGTH = 4K RAM2 (xrw) : ORIGIN = 0x20009000, LENGTH = 28K FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 248K USER_Key_region_ROM (rx) : ORIGIN = 0x0803E500, LENGTH = 768 }I don not unsdestand NVM_RAM section, what is it? and USER_Key_region_ROM?I am trying to optimizate LoRaWAN NVM Context save proccess in FLASH. By default it is saved in #define LORAWAN_NVM_BASE_ADDRESS ((void *)0x0803F000UL)It would be the last two pages(2x2kB) of flash memory in case FLASH memory LENGTH would be 256K as expected..Normally, another section would be present, something like thisUSER_FLASH (rx) : ORIGIN = 0x0803F000UL , LENGTH = 4KCan someone help me to undestand this?Regards,
Before release of package v1.3.0 binary size were <90kb and .ld has 3 partition in memory as below,/* Memories definition */MEMORY{ ROM (rx) : ORIGIN = 0x08000000, LENGTH = 256K RAM1 (xrw) : ORIGIN = 0x20000000, LENGTH = 32K /* Non-backup SRAM1 */ RAM2 (xrw) : ORIGIN = 0x20008000, LENGTH = 32K /* Backup SRAM2 */}But release package v1.3.0 has generated large binary size 250KB for Release and Debug build of LoRaWAN example. In this release ST has introduced the changes in .ld file as below,/* Memories definition */MEMORY{ RAM1 (xrw) : ORIGIN = 0x20000000, LENGTH = 32K NVM_RAM (rw) : ORIGIN = 0x20008000, LENGTH = 4K RAM2 (xrw) : ORIGIN = 0x20009000, LENGTH = 28K FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 248K USER_Key_region_ROM (rx) : ORIGIN = 0x0803E500, LENGTH = 768}Her
According to the user manual (st (dot) com/resource/en/user_manual/um2115-discovery-kit-for-lorawan-sigfox-and-lpwan-protocols-with-stm32l0-stmicroelectronics.pdf), you can optionally close SB13 to get a 32MHz clock signal to the MCU instead of attaching your own external clock. However, when selecting the clock configuration for the STM32L072CZYx the HSE crystal freq is only allowed up to 25MHz and I see similar information in the datasheet for STM32L072xZ (st (dot) com/resource/en/datasheet/stm32l072cz.pdf). Maybe I am just misunderstanding but it sure seems like the intent is for the TXCO to be routed to the PHY_OSC_IN pin on the MCU in some applications, but the MCU is only rated for 25MHz
When A/D is set to scan thru a sequence of channels can a single external trigger allow you to go thru the whole sequence or do I need a trigger for each of the channels in the sequence??Been struggling with this for a while and I have some bare bones code....It looks like I need a trigger for every channel in the sequenceThank you
Hello. I am following document:https://github.com/STMicroelectronics/STM32CubeWB/blob/master/Projects/STM32WB_Copro_Wireless_Binaries/STM32WB5x/Release_Notes.htmlon how to flash STM32WB firmwares.I am going through steps:How to flash the Wireless Coprocessor Binary via SWD/JTAG by ST-LINK (STM32CubeProgrammer GUI)Inside the below procedure, the references to binaries name and install address are provided in the section Main Changes of this file.STEP 1: Use STM32CubeProgrammer GUIVersion 2.7.0 or higher.It gives access to Firmware Upgrade Service (FUS) (AN5185 : ST firmware upgrade services for STM32WB Series.) through Bootloader.It is currently available as Graphical User Interface (GUI) mode (or Command Line Interface (CLI) mode).STEP 2: Access to SWD Interface (system flash)For P-NUCLEO-WB55.Nucleo :Power ON via ST-LINK and Jumper JP1(USB_STL)For P-NUCLEO-WB55.USBDongle :remain switch SW2 to Boot1Connect P-NUCLEO-WB55.USBDongleFor STM32WB5MM-DK :Power ON via ST-LINK an
The steps performed:First read the FUS version.Selected the FUS bin file to flash.Flashed the above-mentioned file.Then again when I read the FUS version it was displaying as 00000000 in GUI
WATCH ON-DEMAND | STM32 Summit 2026
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.