Developer support experience survey - We value your feedback
Join discussions in the Product Forums. Ask questions, learn from your peers, and share insights on ST solutions to accelerate your design journey.
Most recent activity
Hi everyone,I am encountering an issue while trying to run the Zephyr Bluetooth peripheral sample on a Nucleo-WB55RG board.I am currently working with the Zephyr main branch (specifically commit v4.3.0-2267-g3be4c4c5a819).Hardware & Firmware Setup:Board: Nucleo-WB55RGFUS Version: V2.2.0.0Wireless Stack: V1.20.0.2 (stm32wb5x_BLE_HCILayer_fw)Zephyr Version: v4.3.0-2267-g3be4c4c5a819I have explicitly started the Wireless Stack on the M0+ core (using STM32CubeProgrammer), but upon booting the Zephyr application on the M4 core, I get a kernel oops regarding an HCI command timeout after like 10 seconds.Error Log:*** Booting Zephyr OS build v4.3.0-2267-g3be4c4c5a819 *** [00:00:00.017,000] <inf> fs_nvs: 2 Sectors of 4096 bytes [00:00:00.017,000] <inf> fs_nvs: alloc wra: 0, fe8 [00:00:00.017,000] <inf> fs_nvs: data wra: 0, 0 ASSERTION FAIL [err == 0] @ WEST_TOPDIR/zephyr/subsys/bluetooth/host/hci_core.c:506 Controller unresponsive, command opcode 0xfc0c timeout with
helloI want to use your api to speed up the developpment of a driver based on spi communication, this function seemed appropriate in your stlink-v3-bridge-v1-2-0:Brg_StatusT Brg::ReadSPI(uint8_t *pBuffer, uint16_t SizeInBytes, uint16_t *pSizeRead)unfortunatly I found this comment:* In #SPI_DIRECTION_2LINES_FULLDUPLEX dummy data are sent while receiving.and i check with a scope that it is the case (data written are '0'),this is a pity because read/write are frequently simultaneous in spi,is there a possibility to send data instead of dummy in the mean time we are reading ?regardsBenjamin
STM32f103In the design guide it recommends to have something switching between vcc and gnd with 10kOhm series resistor, and i need my design to be grounded by default so i may not solder the header even, is it okay if i left the design like fig 1 instead of fig 2, and would it cause issues if i needed to pull it high?
Hi all - I am building an isolated power converter using a three phase forward converter topology. Each phase has a half bridge driving a transformer primary w.r.t. Vin/2 (split Vin). The transformer has a mid-tap secondary, rectified effectively acting like a buck regulator at 2x the primary frequency. I am using the HRTIM hardware to drive this.So far it works great - I have my three phases A/B/C programmed like so (each has high-side 1, low-side 2):A resets on master update, A1 set on A update, reset on A cmp1, A2 set on A cmp2, reset on A cmp3.B resets on master cmp1, B1 set on master cmp1, reset on B cmp1, B2 set on B cmp2, reset on B cmp3.C resets on master cmp2, C1 set on master cmp2, reset on C cmp1, C2 set on C cmp2, reset on C cmp3.The master cmp1 and cmp2 are set at phase angles 60, 120. The maset compares and all three cmp2 are fixed, while the cmp1 and cmp3 are all set by the feedback code. Works perfectly.For continuou
Dear colleagues, Thanks to the recommendations of STTwo-32 , we have managed to establish communication between the BLE_CableReplacement on the b_wb1m_wpan1 module and our modified version of the ST BLE Sensor application on an Android smartphone. Since STM does not plan to open the source code of the ST BLE Toolbox, we used ST BLE Sensor as a base and modified the code as we understood it. However, during development, some issues have arisen: 1. We can only transmit data from the smartphone in response to receiving data from the WB module — meaning we have achieved half-duplex communication, not full-duplex as intended. 2. Main problem: We experience packet loss when attempting to send data to the smartphone at intervals below 100 ms. The issue becomes noticeable well before reaching 10 ms, making it impossible to achieve the 10 ms interval required by our application (which is within the BLE standard). We cannot determine whether the packet loss occurs on the WB side or the smartphon
Hello, I have a Nucleuo-F767ZIT6 board on which I verified a Ethernet code using FreeRTOS in Netconn API, there the code works fine without any issues. So, I moved on to designing a custom board for the same controller the first board worked without any issues but when I designed another iteration of the same board the ethernet stopped working in it, I've checked if other peripherals work fine and they work flawlessly, the ethernet part of the board is same as I had previously designed but still it does not work. The code that I run on both the boards is the same as there were no changes in the controller side. This the connections on the first board : Below is my design of the second board: Both the design are similar to the design of Nucleuo-F767ZIT6, but don't understand why one design works where as the other doesn't, I have done all the proper clock configurations and set the correct HSE crystal values too. Any suggestion in debugging the above mentioned issue will be gre
Hi I'm using STM32G0B0RET6, and im using ADC Channel 1,4,5,6,7,10,11,15, and 16 . and sequencer is set to not fully configurable because if set to fully configurable then i can't use Channel 15 and 16.So here for all ADC channels i'm getting same values, can anyone help me resolve this issueInitiated like this HAL_ADCEx_Calibration_Start(&hadc1);andthis my ADC reading part HAL_ADC_Start(&hadc1);HAL_ADC_PollForConversion(&hadc1, 200);chanel1 = HAL_ADC_GetValue(&hadc1); //MDB 4 Vout sense HAL_ADC_PollForConversion(&hadc1, 200);chanel4 = HAL_ADC_GetValue(&hadc1); //Vcharge sense HAL_ADC_PollForConversion(&hadc1, 200);chanel5 = HAL_ADC_GetValue(&hadc1); //MDB 3 Vout sense HAL_ADC_PollForConversion(&hadc1, 200);chanel6 = HAL_ADC_GetValue(&hadc1); //MDB 2 Vout sense HAL_ADC_PollForConversion(&hadc1, 200);chanel7 = HAL_ADC_GetValue(&hadc1); //MDB 1 Vout sense*/ HAL_ADC_PollForConversion(&hadc1, 200);chanel1
1. STM32 Cmake project2. Select executable option. 3. Chose the MPU4. Build ERROR==========
I am using the debugging mode in STM32CubeIDE, and the compilation result shows that there is insufficient RAM.27_Touch_Appli.elf section `.bss' will not fit in region `RAM'region `RAM' overflowed by 94904 bytes
Hello all. Tasked to replace an old 128Kx8 EPROM, but the folks paying the bills want me to decode the ICs manufacture date code for QA reasons. Does anyone know of any URLs? The ST first data book I found was created long before this IC existed. The key details are below: Below quartz window of die with 2 banks x 1 Row 1: ST logo B88HARow 2:9231E5SRow 3:M27C1001Row 4: -20F1My best guess is the 128Kx8 (confirmed by reading manufacture code on the programmer and prior EPROM knowledge and abuse) STMicro EPROM 200 ns with 0 to 70 C temperature range. Guessed at date of 1992 week 31. No idea about where it was made or what the E5S means or what the B88HA translates to in locations.Also I have another EPROM withBelow quartz window of die with 4 banks 2x2 matrixST logo B88GA9227MC27C1001 -20F1Just want to be sure I can explain the die differences if anyone asks about counterfeits.
hello, I have a can bus with 2 node (one STM32G0B1 with SN65HVD1050DR transcriver and one esp8266 with MCP2515 module) that comunicate over canbus at 1Mbps.I am trying to add a third node, it is a blue pill STM32F103C8T6. The chip onboard looks genuine (i have also tested the usb double buffer on it and it works) but who knows...Transcriver attached to STM32F103 is a SN65HVD1050DR, as for the G0B1.The problem is, whith STM32F103 i see only messages coming from STM32G0B1 (and not from the other node on bus), and it looks like it is not sending messages (other nodes on the bus don't receive also if they are accepting from any id). My ideas are: 1- fake chip, so canbus will never work properly, 2 - bad code.Here are relevant code parts for STM32F103, do you see errors (i am quite new to C programming)?With this code, the main loop run for some seconds (circa 10) than it enter in Error_Handler function, if i activate the AutoRetransmission it happen
Hello everyone,I already asked similar question but I got no sensible answer yet. I am trying to implement the Custom HID drivers in the STM32UG7VJT microcontroller, in standalone mode, so no RTOS. The only thing that I can find from STM32 is this example https://github.com/STMicroelectronics/stm32-usbx-examples/blob/main/Projects/STM32H743I-EVAL/Applications/USBX/Ux_Device_CustomHID that uses the RTOS. I am trying to remove the RTOS from it but until now I didn't even manage to get the descriptors right. The device is enumerated but not recognized. So does anyone have any idea on how to make this work? I already looked at all the tutorials available, they don't fit my case, all of them are based on the H7 family which seems to have different architecture for the USB. Thank you in advance
I've tried this evening to download STM32CubeIDE on 2 different accounts, 2 different computers, a phone, and have reset my computer and also deleted my cookies but still will not download. Nothing happens after I accept the terms and conditions. I have also tried to download as a guest the link from the email still just takes me to the download page but it won't download.
I am using an STM32H757 for a composite USB device with a ULPI HS PHY. I am streaming video data to the device via an OUT endpoint from the host PC (Windows 11). Streaming can be successful for more than 15 minutes but then the host suddenly stops sending packets. Each individual packet is 512 bytes. A typical sequence captured by a USB analyzer is: OUT txn OUT packet (3 B) DATA1 packet (515 B) ACK packet (1 B) OUT txn OUT packet (3 B) DATA1 packet (515 B) ACK packet (1 B)If the device is not ready to receive the packet, then the DATA1 packet is NAKed by the device and the host responds with a PING to see when the device is ready. In this case, the sequence looks like this: OUT txn (NAK) OUT packet (3B) DATA1 packet (515 B)  
Hi, On STM32G071CBU6, when PB15 is used as CC2 with DBCC2 shorted to CC2, does the ROM bootloader ever drive PB15 as SPI2_MOSI, or does the CC/dead-battery own the CC2 pin and that path always takes priority? This detail is critical for our design because the device is bus-powered and relies on the dead-battery path to manage initial power-up. If the bootloader were to override PB15 and drive it as SPI2_MOSI while the flash is blank, it could cause a power drop when the ROM bootloader starts. I checked the datasheet, reference manual, programming manual, and bootloader manual, and none of them explicitly state how the ROM bootloader handles SPI2_MOSI when that pad is also CC2 with DBCC shorted. Could you please clarify? Thanks
Hi,I am experiencing issues with UART single-wire (half-duplex) communication on an STM32H723. The UART handler reports error code 4 (frame error). I have tried a wide range of configuration settings without success.The same setup works correctly on an STM32F439, but not on the H723. Do you have any suggestions on what I could try or what might be causing this behavior.BR
Dear ST members,My application is using the EEPROM emulated library (X-CUBE-EEPROM) with an STM32WB microcontroller. I noticed that, when I update a variable, the page can be padded with random zeros. Attached are screenshots of the page before and after two variables were updated.I initially thought this could be unused variables, since we need to define the NB_OF_VARIABLES. Even reducing its value to match the number of variables I am using, the random zeros are still added to the page. The AN4894 says there is a wear levelling algorithm but this is the worst I have ever seen on an emulated EEPROM implementation. This makes it difficult to calculate the erase cycles I will need for my application. Can you clarify where these random zeros are coming from and if I can get rid of them? Regards
Hello,Im having an issue with flashing of OpenSTLinux on STM32MP157F-DK2 ------------------------------------------------------------------- STM32CubeProgrammer v2.21.0 ------------------------------------------------------------------- USB speed : High Speed (480MBit/s) Manuf. ID : STMicroelectronics Product ID : DFU in HS Mode @Device ID /0x500, @Revision ID /0x0000 SN : 002C001F3133511735343431 DFU protocol: 1.1 Board : -- Device ID : 0x500 Device name : STM32MP15xx Device type : MPU Revision ID : -- Device CPU : Cortex-A7 Start Embedded Flashing service Opening and parsing file: tf-a-stm32mp157f-dk2-optee-programmer-usb.stm32 Memory Programming ... File : tf-a-stm32mp157f-dk2-optee-programmer-usb.stm32 Size : 220.41 KB Partition ID : 0x01 Download in Progress: [==================================================] 100% File download complete Time elapsed during download operation: 00:00:07.952 RUNNING Program ... PartID: :0x01 Start operation done successfull
Hi,// WM8904.c int32_t WM8904_Init(WM8904_Object_t *pObj, WM8904_Init_t *pInit) // ... if ((WM8904_CurrentDevices & WM8904_OUT_HEADPHONE) == WM8904_OUT_HEADPHONE) { ret += WM8904_SetVolume(pObj, VOLUME_OUTPUT, (uint8_t)pInit->Volume); } // ... /* Store current devices */ WM8904_CurrentDevices = (pInit->OutputDevice | pInit->InputDevice); in line 4, WM8904_CurrentDevices is still 0, so the gain is not set.I'd change the line this way: if ((pInit->OutputDevice & WM8904_OUT_HEADPHONE) == WM8904_OUT_HEADPHONE) { ret += WM8904_SetVolume(pObj, VOLUME_OUTPUT, (uint8_t)pInit->Volume); }
Hi,I'm busy with my own BootLoader. I can erase the flash, required to store the program. But writing to the flash causes a HardFault. (I also write to flash in my application to store the configuration. That seems to work, so (normally) I can write to the flash without any problems).My routine looks as follows (msg.Data is the received information from my PC. The contents look fine): HAL_FLASH_Unlock(); uint64_t* pData = (uint64_t*)&msg.Data; while (m_CurrentAddress < tempEndAddress) { HAL_FLASH_Program(FLASH_TYPEPROGRAM_DOUBLEWORD, m_CurrentAddress, *pData); m_CurrentAddress += 8; pData++; } HAL_FLASH_Lock(); The debugger shows this information:I do not know how to (further) debug this information.Thanks in advance.Greetings,ErX
Hello, I am using a STM32MP135F on a custom board which is working well using SD Card (sdmmc1).The SDCard is partitioned as: 1) fsbl12) fsbl23) fip4) bootfs5) rootfsFrom the SDcard system, I try to prepare the eMMC (4GB, sdmmc2).I tried different configurations:- mmcblk1p1boot0 (and boot1) contains fsbl1 (tf-a*.stm32), mmcblk1p1 contains fip => Could NOT find the fip partition! (although it contains the right GUID for fip partition 19...)- mmcblk1p1boot0 contains fsbl1 (tf-a*.stm32) and fip (at offset 256KB => dd seek=512 bs=512) with STM32MP_EMMC_BOOT=1 => FIP magic failed (get_boot_part_fip_header: eMMC boot magic at offset 256K: 0a040001 / boot_mmc: Can't find FIP header on eMMC boot partition. Trying GPT. VERBOSE: MBR boot signature failureVERBOSE: Failed to access image id=3 (-2)ERROR: Failed to parse partition with image id = 3ERROR: Could NOT find the fip partition!- The MMC partconf is:STM32MP> mmc partconf 1 EXT_CSD[179], PARTITION_CONFIG:
Hi everyone,this is my first post, as I have always been able to solve my problems thanks to your help. Unfortunately, I can't find a solution regarding the CubeProgrammer API, which I am currently working on. I am developing an update tool that will use the internal bootloader of a STM32H743. For this, I am developing a C++ programm, using Visual Studio 2026 Version 18.2.0 with .Net Framework Version: 4.8.09221. CubeProgrammer_API.h and all neccessary .dll files are included as described in the documentation. There are no compiler errors or warnings. I used the attached UART example for testing but it is not possible to connect to my device. COM ports are detected by getUsartList function as expected. If I try to connect with function connectUsartBootloader as shown in the example I will get error -5 ( CUBEPROGRAMMER_ERROR_NOT_SUPPORTED ). Nevertheless, it is possible to establish a connection and execute a file upload with STMCubeProgrammer GUI and also with STMCu
I accidentally configured PCROP protection on my STM32H755XIH6 that has effectively locked me out of almost the entire flash memory, and I'm unable to recover using standard methods.Current Situation:Device: STM32H755XIH6 (2MB dual-bank flash: Bank1=1MB, Bank2=1MB)PCROP Settings:Bank 1: PROT_AREA_START1=0x2 (0x08000200) to PROT_AREA_END1=0xFFF (0x080FFFFF)Bank 2: PROT_AREA_START2=0x2 (0x08100200) to PROT_AREA_END2=0x81FFFFF)Available Space: Only 512 bytes per bank (0x08000000-0x080001FF, 0x08100000-0x081001FF)Problem: Almost all of flash is PCROP-protectedI tried the below methods following some other discussion on the forum:STM32CubeProgrammer GUI - option byte modifications fail with "changes can't be applied after OB_LAUNCH" (It connects under reset but I still get changes cant be applied after OB_LAUNCH error)CLI commands to modify PROT_AREA_START/END - all fail with same errorRDP level cycling/regression (0xAA → 0xBB → 0xAA) - completes but
I have a characteristic that supports write and indicate. A command is written to the char, the server responds by indicating the characteristic to the client. I'm using Stm32CubeMonitor-RF 2.19.0 to test the server, but indications always cause a ACI_GATT_PROC_TIMEOUT_EVENT because STM32CubeMonitor-RF does not issue a ACI_GATT_CONFIRM_INDICATION after an indication is received. log file attached.
Hello, i'm trying to using mce encription for external flash. I have the stm32h7s7-dk eval board.my mce configuration for the external memory init; my mce configuration for the boot main I followed the tutorial series https://www.youtube.com/watch?v=JxhKmVUB2Ws&list=PLnMKNibPkDnFQXYK0ztHV9iMVS6EAtKpD&index=10. And i tried allthing and i applied successfully at my eval board. But the mce is so different. In the tutorial the instructor used different board hence the board is using mce1. But i'm using the mce2 because the xspi2 connected mce2. And the mce2 couldnt support the aes.My memory write and memcopy methods;key and other variablesDecrypted result (wrong values, it must be start from ram base)encripted file; Could you help me ?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.