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
..
Hi ST community;I want to create a project in which I connect USB microphone extern with MCU STM32F4 for recording data.Descriptions of the used sensor: USB accelerometer V2.0 ( according to my understanding, it has the same role as USB microphone). Here's the link of it: http://www.modalshop.com/filelibrary/333D01-Digiducer-Industrial-Datasheet-(DS-0180_A4).pdfI used the software USBVIEW to get the full technical description https://mega.nz/file/HJBEkLCD#crEDYpQ82x_0AwhMkwkV9xtvs8c46oxMRub1ftVteVMI found the library Middleware in this link below but can't understand who it works https://github.com/STMicroelectronics/stm32_mw_usb_host .Questions: is it possible to read data with folder class audio of this library?if Yes, is there any documentation about this class?if not, is there another library to work with and containing helpful documentations?if there is a project already done treating the same subject?Please, if you can help me there, I'll be so thankful !
Hello community,I got a project to do as my Master Thesis on Firmware upgrade over the air.I know how to write linker script, bootloader check free space and configure every peripheral etc. What attributes one look for when working with firmware upgrade over the air.This is the first IOT project and I have never worked with bluetooth or any wireless connection (like BLE Wifi, Lorawan etc). So I want your guidance and suggestions on how to build one. I know this is very generalized question, but I want to know how an embedded engineer think and what questions should I ask when building a system to accomplish the objective. For example (security, speed, etc) any inputs will be helping me. I find how to do one the internet but I don't know if any of it is serves real time large scale production. You can share your experience with me here.. Thanks in advance. :grinning_face: RegardsVB
please provide the link and document.@Agnieszka Stawiarska @Salvo @Salvo @Sebastien DENOUAL @Salvatore DI SALVO @Community member
Hi,We are looking for 64-channel ultrasound solution for medical imaging. I found your proposal as in the block diagram, as well as the ICs, like STHV64SW and STHV1600. However, I need much more details in order to move forwards. Do you have the full specs for these two ICs, since what I could find by your website is very brief? Do you also have components for AFE and HV regulator? Thanks in advance
The DSP28335 processor is used to communicate with the M41T94 real-time clock chip (RTC). The RTC uses SPI for communication. The basic configuration method is to write command + write time, then read command + read time, but the read time is basically unchanged. The year, month, date, and time information (8 bytes) sent by my oscilloscope decoding is shown in Figure 1 below. But when I read the data continuously, it reads all ff or 00, as shown in Figure 2 (channel 1 is sclk, channel 2 is mosi, channel 3 is miso, channel 4 is chip enable). I don't know if the problem occurs because the command is not written in or the hardware is the problem. The hardware is shown in Figure 3. Hope to get your help.
Hi,I'm not new to coding and have worked with C, JAVA and C# over the years. mostly in VIsual Studio for Unity and Ardunio.I am currently using a STM32F411RE board to control a few peripherals (temp, VOC and colour) through I2C and want to display the data on a simple 128x64 dot matrix LCD screen through a SPI communication protocol.This particular screen uses 3 wire SPI, which is fine for this application, all I need to do is write to the screen, no data is required to return on the MISO line.I am required to use the LL settings for this and basically, as per my research, control this using GPIO pins and running a manual clock. I tried to use the MX software to make the SPI1 connectivity a Half_Duplex_Master and (because the CS pin is different in MX as to the datasheet and physical board) the software wanted to choose PA4 as the CS pin.The board, my PCB and the document all show the CS pin (NSS_pin) is PB6 and not PA4. The MX software is automatically selecting PA4 or PA15 for the NS
Hi everybody,I'm using the BlueNRG M2 module on a custom hardware with a separate Host controller. It is a battery driven device so the power consumption should be as low as possible when BLE communication is not needed. The Application Note AN4820 describes the low power modes of the BlueNRG SoC but how can i put the module into the power saving mode over the HAL API?I can not find any API commands to control the power consumption of the BlueNRG over a host controller.What is in general the best practise to save maximum of power without powering off the supply voltage?Thanks a lot in advance.
Hi,I am trying to use malloc() in BlueNRG LP as I want to dynamically allocate some memory during runtime (not frequent, only when a set of commands are received via BLE). However, I am not able to allocate memory. The pointer always is returning NULL. I have set the Heap scheme to "Advanced" under project options in IAR Workbench, but am not able to allocate.char * ptr = (char*)malloc(5 * sizeof(char));if (ptr == NULL) return;The above is a code sample. I tried printing the size of character, it returns a huge garbage value for some reason.Any help would be appreciated, thanks!
I use the sample program to copy a program, but it doesn't work, the error code is 0x47How do achieve new characteristics and services?
Hi,I am trying to read the MAC address from a BlueNRG device (345) after setting it via the RF Flasher Tool. However, the corresponding changes are not visible in the advertising parameters. I have used aci_hal_read_config_data() but still no output.The code is ret = aci_hal_read_config_data(CONFIG_DATA_STORED_STATIC_RANDOM_ADDRESS, (uint8_t*)6, readAddr);I have set the mac address 0x000000000 currently using the tool at a flash address: Base address + flash image + a little offset.Any help would be appreciated! Thanks!
I am working on SensorTile Wireless Industrial Node to ST Dashboard. I am using the software from en.fp-ind-predmnt1_v2.4.0. I have added the device in the dashboard and updated the device certificates and keys. The terminal attempts to establish MQTT connection, but there is no response after this. RegardsAditi Prakash
Hi,I'm trying to program a Connectionless Observer that scans all ADV_NONCONN_IND adv events, but the hci_le_advertising_report_event() callback isn't called. I'm using BLE_STACK_FULL_CONF and I have this configuration:// Init GAPaci_gap_init(GAP_OBSERVER_ROLE, 0x00, 0x08, PUBLIC_ADDR, &service_handle, &dev_name_char_handle, &appearance_char_handle);// SCAN CONFIG status = aci_gap_set_scan_configuration ( DUPLICATE_FILTER_DISABLED, ADV_NO_WHITE_LIST_USE, LE_1M_PHY_BIT, PASSIVE_SCAN, 0x4000, 0x4000 );// EVENT MASKuint8_t eventMask[8] = {0x00,0x00,0x00,0x00,0x00,0x00,0x00,0x02};status = hci_le_set_event_mask(eventMask);// SCAN ENABLEstatus = hci_le_set_scan_enable(1,0);I don't get any state error. What am I doing wrong?
Hi,Hardware used: STM32L152RE nucleo board and SPSGRF-868 moduleTechnology and OS: 6lowpan and Contiki.Example used: UDP-sender and UDP-receiver.SDK used: Sub-1 GHz RF communication software expansion for STM32Cube I'm developing 6lowpan network using SPIRIT1, where one receiver and 10-12 sender. sender is battery operated, so I need to discover UDP receiver address(ipv6) in as short time as possible then send data.UDP sender is using serverg-hack application to get receiver ipv6 address, it works but it takes 1-2 minutes.after that it sends data to receiver. all i need is to reduce that address detection time. or suggest me a better method.Using SDK example path/STM32CubeExpansion_SUBG1_V3.3.0/Projects/STM32L152RE-NUCLEO/Applications/Contiki/SPIRIT1Thanks in advance.Chand Bhadaniya
Hi,I want to program a connectionless observer to scan events, but the hci_le_advertising_report_event() callback isn't called. I have followed the steps of programming manual PM0269 for configure the modular configurations to work as Broadcaster + Observer only:Define BLE_STACK_CUSTOM_CONF in the preprocessor.Enable CONTROLLER_MASTER_ENABLED in custom_ble_stack_config.hSet in asci_gap_init() GAP_BROADCASTER_ROLE|GAP_OBSERVER_ROLE rolesMy enable scan with this configuration:aci_gap_set_scan_configuration ( DUPLICATE_FILTER_DISABLED, ADV_NO_WHITE_LIST_USE, LE_1M_PHY_BIT, PASSIVE_SCAN, 0x10, 0x10 );hci_le_set_scan_enable(1,0);I don't get any error, but the hci_le_advertising_report_event() isn't called. Supposedly, hci_le_set_event_mask( ) isn't necessary because the adv report event is enabled by default, but even calling this function, the call
Hello, My name is Jean-Pierre Key. I am the owner of a tech startup, and the ST60 contactless connectors, have caught the eye of myself and of my engineer. We were wondering, if we could procure some information, to facilitate a design for a device that would be able to transfer DisplayPort, USB, and or Thunderbolt3 data. Thank you in advance for any help. -Jean-Pierre Key
If changed char length 450 to 140 now every thing will be fine. but when i put char length 450 or more than 140. It will return 0x48 error value.The paramerters i was passed, these are ret = aci_gatt_add_char(chatServHandle, UUID_TYPE_128, (Char_UUID_t *)&uuid, /*(char length)/* 450, CHAR_PROP_READ, ATTR_PERMISSION_NONE, GATT_DONT_NOTIFY_EVENTS, /* encription key*/ 0, 1, &TestRXTXcharHandle);
I am designing some firmware for a BlueNRG LP (355MC) based device with several sensors. At certain points in the device's processing/lifecycle, I need to turn off the BLE and/or radio to conserve power. In fact, I only need the device to have BLE connection capabilities during a very specific and short window. I don't need any connections until specific event/sensor triggers. The device will be battery powered and conserving energy is essential.I can't seem to find any documentation on how to command or set the chip into an off, disabled, or standby state. All of the sample programs in the DK show initializing and enabling the BLE, but then it runs forever... So, is this possible to turn it off or disable it? Do I just make the device non-connectable and not advertising? Thanks!
Now and again, following power-up, we find the STS1TX in our product in a state where we cannot interface with it. The SPI and GPIO lines are outputting ~2V levels, so no commands can be sent.Typically, cycling power may allow the chip to initialise correctly, whereafter it then works perfectly for the entire power session.Power application is fast (<45µs to 3.3V) so the internal reset should be working fine. VBat has 1µF, 100nF, 10nF and 270pF decoupling capacitors. Assembly x-rays show no soldering problems.The SDN pin is connected to ground, so we have not tried to toggle it (There is no spare microcontroller port pin, and we also did not expect that this might be necessary.)This is a problem that we have encountered over a number of years, with chips coming from varying distributor sources. Generally users have just toggled the power, but we are needing to solve the problem. Any advise would be very much appreciated.
Very standard "app note" circuitGood decoupling. 2.8v switched supply railXO is up within 350uS of startupDevice is programmed about 100uS after detection of the "reset OK" state
Hello,I'm doing some development work with an STEVAL-IDB011V1 dev board. I'm targeting very low power and so I would like to verify the numbers listed in the datasheet.In DEEPSTOP mode at room temperature, I am expecting something around1 μA of supply current, per table 24 of the BlueNRG-LP datasheet. However, I'm currently measuring about 5.7 μA at 1.8 V.I'd like to make sure my methodology in measuring this is correct. My procedure is as follows:I flash the board with code that runs SystemInit(), configures all GPIOs to have a pulldown resistor and to output low, and then enter DEEPSTOP. I then unplug the board and remove all jumpers (JP1 - JP5). I connect the positive terminal of my 1.8 V power supply to pin 2 of JP1 (named "VBLUE" in the STEVAL-IDB011V1 data brief) and the negative terminal to ground.I get a somewhat steady 5.7 μA of supply current from my power supply. I also tried connecting VBRD to ground, which changes my supply current to 13.8 μA. I'm not running any timers, s
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.