WATCH ON-DEMAND | STM32 Summit 2026
Ask questions and find answers on connectivity ICs, focusing on protocols and I2C challenges on STM32 Nucleo boards and BlueNRG products.
Most recent activity
Hello,is the drivers to configure BLUENRG-2 and BLUENRG-2N are the same ?can i use the same driver from x-cube-ble2 to make an application with BLUENRG-2N ?Thank you.
Can you increase/allocate more memory to a service? How do i do this?The first 3 services I add have no issues. When I add the fourth service I have a ret of 0x1f(out of memory).ret = add_live_group_service(); ret = add_config_calib_service(); ret = add_sys_id_group_service(); ret = add_last10_fault_group_service();tBleStatus add_last10_fault_group_service(void){ tBleStatus ret; Custom_Service_UUID_t last10_faults_service_uuid; Custom_Char_UUID_t last10_faults_char1_uuid,last10_faults_char2_uuid,last10_faults_char3_uuid; //copy uuid BLUENRG_memcpy(&last10_faults_service_uuid.Service_UUID_128,LAST10_FAULT_SERVICE_UUID,16); /*Add service*/ ret = aci_gatt_add_serv(UUID_TYPE_128, last10_faults_service_uuid.Service_UUID_128, PRIMARY_SERVICE, 16, &last10_faults_service_handle); BLUENRG_memcpy(&last10_faults_char1_uuid.Char_UUID_128,LAST10_FAULT_CHAR1_UUID,16); BLUENRG_memcpy(&last10_faults_char2_uuid.Char_UUID_128,LAST10_FAULT_CHAR2_UUID,16); BLUENRG_memcp
Hello,I'm trying to get the Bluenrg m2 module working. For this I use a code based on the chat demo. But when calling "BlueNRG_Stack_Initialization" I get the return value 0x48. If I am right, this means BLE_STATUS_OUT_OF_MEMORY.For details please see the Pictures...But from my point of view the memory areas and sizes seem to be correct. Am I missing something?Pleas let me know if more information is needed.Thanks!
..
Hi All,I'm imported a throuhput project from bluenrg DK 1.3.0 and modifying it as per my requirement. I'm using Bluenrg LPS in central mode and connecting to BlueNRG MS device which is configured as Peripheral. The steps to configure BlueNRG LPS are -aci_gatt_srv_init()aci_gap_init()Gap_profile_set_dev_name()aci_gap_set_scan_configuration(DUPLICATE_FILTER_ENABLED,SCAN_ACCEPT_ALL, LE_1M_PHY_BIT, PASSIVE_SCAN, 0x4000, 0x4000);aci_gap_set_connection_configuration(LE_1M_PHY_BIT, 0x6, 0x6,0, 100, 0x4, 0x4);Then I'm trying to create a connection by calling -aci_gap_create_connection(LE_1M_PHY_BIT, PUBLIC_ADDR, bdaddr);where bdaddr is mac address of the peripheral device.And receiving the 0x85 (BLE_STATUS_NOT_ALLOWED)return value.Can someone help me out why I'm getting this error and how can I resolve it?
Background: I have written Embedded application running on a STM32 chip with BlueNRG_M0 Bluetooth(4.2) LE module. I have a C# windows Application that is the client and is reading data form the embedded(remote) device. Problem Statement: The C# is only receiving 21 bytes of data while I am sending > 21 bytes from my embedded applicationTried: I have debugged my embedded application and I can see the buffer sizes are correct. On the C# side I read the MaxPduSize, its 23 bytes.Online resources frm microsoft say I cannot update the MaxPduSize, its a read only variable. It can only be changed from the remote aplication(server).There is very little to no information on how to update the maxPduSize on the STM Ble chip.https://stackoverflow.com/questions/75960148/update-mtu-size-for-bluetooth
when I try to read software version (before gap or gatt initalization) using aci_hal_get_firmware_details(), it ends up to this and always fail to get the data correctly
I using BlueNRG M2 as a network co-processor and have configured my project with STM32 CUBEMX which uses X-CUBE-BLE2. It is a non RTOS based project and is working well.Now, I want to use RTOS (FreeRTOS) with the BLE stack. Is there any example which I can refer to or any docs on how to use it?
str485 differential output is not as expected , we have followed datasheet to design pcb yet only one signal (non inverted) is showing up as expected in logic anlyser (see attachment)attaching pcb design for your reference.Should the outputs A and B have 2 resistors 63ohms each with a centertap capacitor connecting to gnd as used in some evaluation board?Kindly provide a solution Thank youupdate: added 20k pullup on A and 20k pulldown on B output line as per failsafe configuration .
I am trying to communicate with VN9D30Q100F slave from TI SOC as a Master.First command i am sending as 0xC2 to read product code 1 as a 58h. But in response i am able to get only Global status byte 0x41 as first byte and rest two bytes are 0. Second command if i send same i see that i am getting 0x01 as a global status byte but rest of the two bytes are 0. Tried few other commands also like 0xC3, 0xC4.I am able to get only GSB in response correctly which indicates that Slave is in fail safe mode. But rest of the two bytes are not correct.Can anybody help me with this issue to know what could be wrong here.Thank you
Dear Community,I have a setup of 2x SPIRIT transmitters. The CSMA is disabled. Both are configured for continuous TX. However, I observe the following:1) The SPIRIT that boots initially starts transmitting without any issues2) The second SPIRIT (that boots after the first one) never manages to start a transmission.Could you explain what is happening and why?BTW, I somehow find the SPIRIT1 support really scarce in the community... Thank you!
Spirit1 normally makes reset, then, after any command of RX, TX or LOCKRX, LOCKTX it is always goes in error state Status registers are steady 0x02 and 0x27 and no further commands are executed, excluding reset and sleep. This is unknown error, I don't know what to do? Registers FA=0x02 and 0xFB=0x40. They also are not in table of possible values, so I'm completely lost. May be here are initialization problems, I have not any initialization sequence hints or examples. All other registers are as they should be after reset. What to do?
We found in a LOT # T2N15KQN0001, which includes 3000 BlueNRG chips, that 300 (10%) are paired after a very long time, (15-20 seconds) while all the other paired after 5 seconds only.When changing the CPU, the problem is fixed - the CPU environment is OK. All other featured (after pairing) are operating as usual.Please Advise - thank you!!
I am using BlueNRG M2 and would like to increase the MTU size from default 23 to 100 bytes.After reading PM0257 programming manual, I tried calling aci_gatt_exchange_config function which sometimes returns BLE_STATUS_SUCCESS and sometimes throws BLE_STATUS_NOT_ALLOWED error.I am unable to find the reason why it throws BLE_STATUS_NOT_ALLOWED error. What could be the cause for the same?Following is my code implementationstatic void User_Process(void) { tBleStatus status; if (connected && !mtu_exchange_called) { mtu_exchange_called = true; status = aci_gatt_exchange_config(connection_handle); if (status != BLE_STATUS_SUCCESS) { // Handle error } } }
I have configured a GPIO as input to control the RX or TX state, is there a minimum time above the high level threshold to respect or exceed the VDD/2+0,3 voltage is sufficient ?Thank you,Andy Rochette.
I have BLUENRG-M2SA BLE module that I am trying to interface with STM32l496 IC.I generated the code through STM32CubeMX using X-CUBE-BLE2 v3.3.0 selecting HCL_TL Basic and HCL_TL_INTERFACE UserBoard.The code gets compiled and when I try to flash and debug, hci_reset function returns BLE_STATUS_TIMEOUT error.Following are connectionsSTM32 BLUENRGM2SA SPI_MISO DIO2 SPI_MOSI DIO3 SPI_CLK DIO0 GPIO_OUT DIO11 // CS GPIO_OUT RESETI read DT0137 Design tip manual to make the following changes when using BLUENRG-M2SA development board:HS_SPEED_XTAL=HS_SPEED_XTAL_32MHZLS_SOURCE=LS_SOURCE_EXTERNAL_32KHZSMPS_INDUCTOR=SMPS_INDUCTOR_10uHThe macros seems to be renamed as following:HS_SPEED_XTAL=HS_CRYSTAL_32MHZLS_SOURCE=LS_SOURCE_32KHZSMPS_INDUCTOR=SMSP_10uHAbove changes were made but still it throws the same error.Do we need to make any additional changes to use BLUENRG-M2SA in a network co-processor mode? I directly opened the packing, soldered on custom board and using it.What could be the re
Can we connect D1+ to DN and D1- to DP (same for the connector (D1+CON to USB_D_N))
Hi all, i got to know a bug/problem/issue in SPI communication. one of my colleague is working on designing controller(complete SDK), he has an issue, the issue is, whenever he writes the data from master it writes properly, but when trying to read the dta, he is not able to read it in one run, for second run data can be read, but for first run its taking some garbage value. if nay one has faced such issue? any suggestions for what might be the problem for this,? clock phase and clock polarity are same no change in that.
What is the lowest power cameras available? MIPI or other interface.Super crystal clear image is not important, but something in range of 1 megapixel or more required.Most i've searched are in order of half watt. Which is a lot.Can anyone point me to maybe some article to get the knowledge on that subject?
Hi,We are using the 54VCXH163245 in one of our designs. The chip has 3.3 V VCCA and 1.8 V VCCB. According to datasheet, VCCB must be powered before VCCA at startup. Have you done measurements on the current consumption of the device when VCCA is set and there is no VCCB ? We observe a high power consumption (about 2 A) on the 3.3 V until the 1.8 V is risen (6 ms after). Can this chip be reponsible for this ? Many thanks in advance for your help.
Does BlueNRG-2 allow bluetooth audio mesh network, in which a source (phone) connects to one end point, which acts as master towards another endpoint and this one being slave.
Hello,I am writing some BLE firmware using the BlueNRG-M0A model on a Nucleo board to try and develop an understanding. To try and build an understanding, I am creating multiple services and characteristics with different functions (read only, read/write, etc.) and I am noticing a problem when I try to use the ST BLE Toolbox to verify the proper setup, I notice that certain UUIDs cause previously created characteristics to be overwritten. For example, when I use the following UUIDs, all only the last characteristic (E909930B-39D7-0000-8FE12A48A02B36E6) is visible in the ST BLE Toolbox.Characteristic UUIDs:E909900B-39D7-0000-8FE12A48A02B36E6E909910B-39D7-0000-8FE12A48A02B36E6E909920B-39D7-0000-8FE12A48A02B36E6E909930B-39D7-0000-8FE12A48A02B36E6Then, when I use the following UUIDs, all the characteristics are visible in the ST BLE Toolbox.Characteristic UUIDs:E909900B-39D7-0000-8FE12A48A02B36E6E919900B-39D7-0000-8FE12A48A02B36E6E929900B-39D7-0000-8FE12A48A02B36E6E939900B-39D7-0000-8FE12A
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.