Ask questions and discuss STM32 wireless solutions and their implementation for running Bluetooth LE, Zigbee, LoRaWAN applications.
Most recent activity
Hi, everyone. Is it possible to build an application that supports all regional standards? AS923-1 / AS923-2 / AS923-3 together are of particular interest (depending on the setting, which is changed via the UART, for example).
Hello! I'm working on a STM32WB10CCU and I'm trying to start the BLE peer2peer server following the ST Workshop. Some things have differed from the workshop to what I'm doing such as there being no scheduler.c or scheduler.h to initialize so I'm using the MX_APPE_INIT();My question, is there an updated workshop/tutorial for this or am I missing a step that's not included in the previous workshop? I can't seem to figure out why the init is failing.
Good afternoon to all forum members. I have a problem with stm32wb55 and i2c protocol. I use i2c (hi2c3) with the connected peripherals Ad7746, adxl345, mcp9808 and they work fine, but if I join fram MB85RC256v, with the write/read in the routine I write above, the result is always 0. On Mcu stm32f4 and stm32f103 works fine, but on stm32wb family it doesn't. Where is the error?/* Private define ------------------------------------------------------------*//* USER CODE BEGIN PD */#define AD7746_address 0x90 //AD7746 ok work#define Adxl345_address 0x53<<1 // Adxl345 ok work#define MB85RC256v_Fram_address 0x50 or 0x50<<1 // Fram MB85RC256v not work#define T9808_address 0x18<<1 // MCP9808 work/* USER CODE END PD */I2C_HandleTypeDef hi2c3;/*..*/static void MX_I2C3_Init(void);//---void write_fram8(uint16_t addr,uint8_t wdatafram_8){HAL_I2C_Mem_Write(&hi2c3, MB85RC256v_Fram_address,addr,0xFF,&wdatafram_8,1,10);}uint8_t read_fram8(uint
I am trying to setup UART1 on WL55CC; using RTS; #include <stdio.h> #if defined (__ICCARM__) || defined (__ARMCC_VERSION) #define PUTCHAR_PROTOTYPE int fputc(int ch, FILE *f) #elif defined(__GNUC__) /* With GCC, small printf (option LD Linker->Libraries->Small printf set to 'Yes') calls __io_putchar() */ #define PUTCHAR_PROTOTYPE int __io_putchar(int ch) #endif /* __ICCARM__ || __ARMCC_VERSION */ HAL_GPIO_TogglePin(GPIOA, LED_Pin); // PORTA, PA9 HAL_Delay(500); nLoop++; printf("nLoop == %d \n\r", (int) nLoop); PUTCHAR_PROTOTYPE { /* Place your implementation of fputc here */ /* e.g. write a character to the USART1 and Loop until the end of transmission */ HAL_UART_Transmit(&huart1, (uint8_t *)&ch, 1, 0xFFFF); return ch; } huart1.Instance = USART1; huart1.Init.BaudRate = 115200; huart1.Init.WordLength = UART_WORDLENGTH_8B; huart1.Init.StopBits = UART_STOPBITS_1; huart1.Init.Parity = UART_PARITY_NONE; huart1.Init.Mo
I'm looking for if exist any project or example for lorawan concentrator. Thanks.
Hi,I have already got the example end_node running, however, i now want to start a new project based on this example. I would like to have all Drivers and Middlewares inside the project and not just links to those files. I had many attempts trying to get it working but there are always issues with the includes. I would be grateful if someone could explain me the process of creating such a project. Thanks in advance!
Hello to the forum. I would like to start working with stm32wb55, due to its low consumption and also because it has the BLE protocol. However, I cannot find how to implement and link the cpus. I ask if anyone knows where I can get simple and practical information to do it step by step, or simply how to pass information from a sensor connected to stm32wb, to BLE protocol. Thank you in advance for any information. Thanks
Programmed OB IPCCDBA to 0x800Value of OB struct.ipcc data buffer:Name : OptionsBytesStruct.IPCCdataBufAddr Details:536903680 Default:536903680 Decimal:536903680 Hex:0x20008000 Binary:100000000000001000000000000000 Octal:04000100000Value of pMb_RefTable:Name : pMb_RefTable Details:0x200000e4 <MBSYS_RefTable> Default:0x200000e4 <MBSYS_RefTable> Decimal:536871140 Hex:0x200000e4 Binary:100000000000000000000011100100 Octal:04000000344Values flashing OB IPCC to 0xe4Name : OptionsBytesStruct.IPCCdataBufAddr Details:536874560 Default:536874560 Decimal:536874560 Hex:0x20000e40 Binary:100000000000000000111001000000 Octal:04000007100Name : pMb_RefTable Details:0x200000e4 <MBSYS_RefTable> Default:0x200000e4 <MBSYS_RefTable> Decimal:536871140 Hex:0x200000e4 Binary:100000000000000000000011100100 Octal:04000000344How do I correct this shift? I've tried many ways and it still doesn't work.
The ZbNwkIfSetTxPower func is set tx power,but i don't know this function's parameter NAME(interface name) ,how can get this value?
Hi, we are going to use two PSRAM devices to STM32's QuadSPI interface. Each PSRAM device has its own chip select line cs_b. How do we have such control with the _NCS line in a single-bank quadspi interface? Should we use two extra lines of GPIO separately (without _NCS) or logically linked with _NCS by external gates? Thanks for help.
hi,I'm trying to create a freertos based ble poject on stm32wb5mm-dk board like ble_heartrateFreertos example avaiable for p-nucleo-wb55 board. I have changed sys time base to tim17 and enabled freertos and stm_wpan, and in clock configuration I have changed some source like the example above, but the project don't work, it compile but don't work, it's like cpu2 is not initalizzated, on the board i have the last fus fw and ble full stack installed.Can you tell me what is wrong in these configurations?Also, in my real project I don't need a heart rate service but if I don't enable it there is compilaition error (app_ble.c seem not generated) so it's hard to create it from scratch. Also device information service is not avaibale if don't enable hrm service and no custom service is avaiable, but in my real application I'd like to create a freetos based ble application with stadard service device informations and generic access service enabled and my custom services, but it's imp
..
Hi,I'm working on a BLE app using an STM32L4 as main processor and a BLuenrg-m2sa as network coprocesor for the BLE stack. have develop the app code and setup all the gatt services and characteristics. Also developed an android app to connect as central device. Long story short, the system is working fine on normal conditions, and the device is using the hci_disconnection_complete_event, and hci_le_connection_complete_event to change the states of paring condition or working condition.In some cases when the app crashes it does not correctly generates the disconnection event but it terminates the connection, the device does not catch the disconnect event and continues to stay on a connected state and do not re-enters the advertising mode.What is the event to catch an eventual timeout with no activity between the bluenrg-m2sa and the android app? to notify the host microcontroller to return to advertising and start all over again?I have tryed with the following events with no success:aci
I've setup a P2PServer based firmware created from CubeMx. So far so good. It advertises as expected. But when I run the lightblue app, it won't connect to my advertising device.I've already compared my firmware to the P2PSERVCE example project from the STM32CubeWB library and don't see any big suspicious differences.I also compared the cubeMX configuration settings fot the STM_WPAN.When I try to connect in the lightblue android app it pop ups the following message:"No data available""Failed to establish connection to device, please select anaother device or try again"Does anyone sounds this behaviour familiar and has a clue to start debugging?The raw advertisement packet of the working and the not working firmware is 100% equal
I'm working on both custom board and P-NUCLEO-WB55. Trying to reach the lowest power consumption as possible I just detected that the measured current in STOP2 is around 50uA (BLE off and RTC ON) instead ~2uA. The result is comparable between boards, and I'm using the PWR_STOP2_RTC example. I uploaded CubeMX and the HAL MCU package to the lastest version, but nothing changed. any advice?Thanks
I'm looking for an example. Can you help me?
Please, exist some tutorial or an example how to use the list of allowed devices to connect? I know the allowed device addresses.
Hi, i m working on a project with : B-L072Z-LRWAN and i m using LORIOT as a network server. i want to visualize my data on a Cayenne dashboard . i can't see the data on the dashboard i think i need to change the format of the data to LPP . i m using the I-cube-lrwan on the code.If someone have any idea about how to change the format of data to LPP, please help me.
Example: BLEHeartRateFreeRtos.In one case of command response we get TL_BLEEVT_CS_OPCODE , another one is TL_BLEEVT_CC_OPCODE. What is the difference?Can we get more than one packet of response in each case? (It looks like the code is written to handle this case)Why in TL_BLEEVT_CC_OPCODE only saves (memcopy) the last packet received ? while(local_cmd_status == HCI_TL_CmdBusy) { hci_cmd_resp_wait(HCI_TL_DEFAULT_TIMEOUT); /** * Process Cmd Event */ while(LST_is_empty(&HciCmdEventQueue) == FALSE) { LST_remove_head (&HciCmdEventQueue, (tListNode **)&pevtpacket); if(pevtpacket->evtserial.evt.evtcode == TL_BLEEVT_CS_OPCODE) { pcommand_status_event = (TL_CsEvt_t*)pevtpacket->evtserial.evt.payload; if(pcommand_status_event->cmdcode == opcode) { *(uint8_t *)(p_cmd->rparam) = pcommand_status_event->status; } if(pcommand_status_event->numcmd != 0) { local_cmd_status = HCI_TL_CmdAvailable; } } else // my comment: if( TL_
Hello Everyone,Newbie to STM32 here. I tried working with the STM32WB55 BLEmesh Lightning PRFN example for Nucleo board. I am facing troubles working with as listed below.STM BLE Mesh app hanging sometimes after provisioning and at different stages.While I try to debug I couldn't find the Node in the Mesh app. Bit of luck with the USB dongle but still some problems with the ON/ OFF server sometimes triggers call backs and sometimes not.I followed exactly as dm00600575 says step by step but still one or the other place I get stuck . Mostly with the call backs not triggering.Hence I would like to know if there are any settings I need to do in Mobile app or the examples to work with them or should I read any other manuals to get a better understanding of how the examples work. Appreciate any help provided.Thanks
We want to implement mesh networks without using ST BLE mesh android App.
Below is the event occurring upon connection, in this event there is the Connection_Handle, this is the number I believe is identifying this specific connection.Event upon connection:typedef PACKED(struct) { ... uint16_t Connection_Handle; // <<<<<THIS ... } hci_le_connection_complete_event_rp0;From my understanding, this number is being advertised to the master (prior the connection)My question is how can I read it where is it placed in the ADV data?Thanks
When I compile the BLE_OTA demo application and run it, it hard faults in APPE_Init when it configures the BLE processor to control flash activity using hardware semaphore SEM7:SHCI_C2_SetFlashActivityControl(FLASH_ACTIVITY_CONTROL_SEM7);Stepping through the code, I found that in "shci_send", it accesses "pCmdBuffer" and stores several variables. I found that the pCmdBuffer gets initialized in "appe_Tl_Init" that gets called from APPE_Init right at the end. By moving the SHCI_C2_SetFlashActivityControl call after this, the hard fault was eliminated. My final APPE_Init function is:void APPE_Init( void ) { /* Select which mechanism is used by CPU2 to protect its timing versus flash operation */ // SHCI_C2_SetFlashActivityControl(FLASH_ACTIVITY_CONTROL_SEM7); SystemPower_Config(); /**< Configure the system Power Mode */ HW_TS_Init(hw_ts_InitMode_Full, &hrtc); /**< Initialize the TimerServer */ APPD_Init( ); /** * The Standby mode should not be e
I am running the same firmware build on two different pieces of hardware that contain an STM32WB55CG. The firmware is configured to use a Fixed Pin for pairing and bonding. One works as expected and will create a bonded, authenticated, encrypted link but the other will not pair and bond. The one that works can be disconnected and power cycled. It works every time. I am not able to get the other one to work no matter what I try. There seems to be something simple that I am missing. Why would it work on one but not the other?
The LoRaWAN_AT_Master project from I-CUBE-LRWAN v2.0.0 does not work out-of-the-box - for necessary fixes, see:https://community.st.com/s/question/0D53W00000vP1XtSAK/icubelrwan-v200-with-nucleol073rz-board-and-inucleolrwan1-shieldThe reason for trying v2.0.0 was that v1.3.1 stopped working on TTN: initially, the Node joined and exchanged data OK but, after a while, it "dropped off" the network, and would not re-join - it would just continually repeat sending Join Requests.This was back in January this year - before TTN V2 was deprecated. The I-Nucleo-LRWAN1 was then set aside in favour of the B-L072Z-LRWAN1 - which had no such problem.Recently came back to the I-Nucleo-LRWAN1, and thought to see if I-CUBE-LRWAN v2.0.0 worked any better.Initially (after fixing the source code bugs) it did join the network, and exchange data:this shows 2 TeraTerm instances: the left-hand one is monitoring AT Commands sent by the Nucleo-L073RZ;the right-hand one is monitoring the responses from
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.