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
Hello, I have a problem after updating the system to Android 16. Before, everything was great. I have a custom application to work with ST25DV04KC. Now, the NFC service crashes before connection, and the system app opens NDEEF. Only on the first "tap," after turning NFC on/off, the connection is correct. Is there any workaround before they change it in Android? Thanks for any help.
I have a password obk file:$ xxd PasswordObkFile.obk00000000: 0001 fd0f 6000 0000 0000 0000 5e9b d65f ....`.......^.._00000010: e48e a17e 40ae 126f 76e7 c101 3a73 bf35 ...~@..ov...:s.500000020: c95d 4897 5c5d 1575 a719 8442 184a a46d .]H.\].u...B.J.m00000030: 8134 1172 7da0 dc9e 6418 6bb9 9072 89b5 .4.r}...d.k..r..00000040: aab4 b320 d26f ff5e a45d 8e3d 7750 0000 ... .o.^.].=wP..00000050: 0000 0000 0000 0000 0000 0000 0000 0000 ................00000060: 0000 0000 0000 0000 0000 0000 ............I am running my application with Trustzone disabled (TZEN=C3).I have a C array:static uint32_t obk_data[] = { 0x60000000, 0x00000000, 0x5e9bd65f, 0xe48ea17e, 0x40ae126f, 0x76e7c101, 0x3a73bf35, 0xc95d4897, 0x5c5d1575, 0xa7198442, 0x184aa46d, 0x81341172, 0x7da0dc9e, 0x64186bb9, 0x907289b5, 0xaab4b320, 0xd26fff5e, 0xa45d8e3d, 0x77500000, 0x00000000, 0x00000000, 0x00000000, 0x00000000, 0x00000000 };Using a function like this I am writing the contents to the OBK area using functions like this
Hello community,I recently tried to flash the BLE_SerialCom_Central example code onto the STM32WBA55 board. During the debug session, when I clicked the 'Suspend' button, a number of messages appeared in the debug window. I took a screenshot and attached it. I'm still struggling to find a solution to flashing the example code.It would be great if someone who has encountered this issue before could give me some advice.Best regards.
In AN5489, the HSE is recommended to have 40 MHz. Why 40 MHz?Why not 24 MHz HSE? Is 40 MHz a specific value for a certain pheripherial?
Good evening,I have been trying to get the ethernet port of my NUCLEO-H755ZI-Q to talk to my PC - and have been failing to do so now for a week.I found this manual, but it is for Cube IDE 1.9 - and even after following the described steps I fail to talk via ethernet.I did also find this github repo where I used STM32H7-LwIP-Examples/STM32H745_Nucleo_M7_ETH - and after adapting the IPs somewhat communication via UDP did work.So I am rather sure my hardware does work.But the code generated by CubeMX 2.0 does not.Can anyone provide me with eithera short manual how to configure CubeMX correctly,a ready-made example project using the current CubeMX 2.0,or any other input?The current problem with my CubeMX 2.0 generated project is that during reception I get an ETH_DMACSR_RBU /* Receive Buffer Unavailable */inside theHAL_ETH_ErrorCallback En- or disabling ICache, DCache and MPU did not have any effect. I did move the RX_POOL to 0x30040000 as per the article and adapt
Post edited by ST moderator to be inline with the community rules for the code sharing. In next time please use </> button to paste your code and a linker script content. Please read this post: How to insert source code. Hi im using STM32H745 MCU, in this for cache coherency for using DMA with any peripherals and using Clean and Invalidate data cache Functions will solve the full problem. if suppose if both the cache and MPU settings are disabled during this time also cache coherency will occur? MPU_InitStruct.Enable = MPU_REGION_ENABLE; MPU_InitStruct.BaseAddress = 0x00; MPU_InitStruct.Size = MPU_REGION_SIZE_4GB; MPU_InitStruct.AccessPermission = MPU_REGION_NO_ACCESS; MPU_InitStruct.IsBufferable = MPU_ACCESS_NOT_BUFFERABLE; MPU_InitStruct.IsCacheable = MPU_ACCESS_NOT_CACHEABLE; MPU_InitStruct.IsShareable = MPU_ACCESS_SHAREABLE; MPU_InitStruct.Number = MPU_REGION_NUMBER0; MPU_InitStruct.TypeExtField = MPU_TEX_LEVEL0; MPU_InitStruct.SubRegionDisable = 0x87; MPU_InitStruct.DisableE
I have NUCLEO-WB05K/NUCLEO-WB07CC/NUCLEO-WB09KE only the NUCLEO-WB09KE can be connected to with Software Reset mode. The NUCLEO-WB05K/NUCLEO-WB07CC boards have the above error on connect. The Hardware Reset mode doesn't work with the NUCLEO-WB09KE (or the other boards). All STLink firmware up to date - not many jumper options to get wrong on these boards. Windows 11.
I'm trying to drive a display controller and have found it trickier than I anticipated, and I hope you can kindly help. My microcontroller is the STM32U545. My display controller is the UltraChip UC1628c_A, as part of a custom 160x160 monochrome LCD. Our display's only data interface is the S8 4-wire interface described on page 32 of that link. It's half-duplex SPI with an additional pin called Control/Data (CD), or sometimes Command/Data. Each byte of the message that we send is either Control or Data. We tell the controller which by driving the CD pin low for Control or high for Data during that byte (the controller reads that pin in the middle of the final bit). Each message starts with one or more Command bytes, and most messages are followed by one or more Data bytes (up to 160 bytes in my product). I expect that the display controller requires these bytes be sent as one continuous SPI message, without stopping the clock or changing the chip-select (slave-select) li
Hello,I’ve created a custom STM32Cube Pack using STM32Cube Pack Creator and added an example project inside the pack. The pack builds successfully and installs correctly in CubeMX. However, the example I added does not appear in the CubeMX Example Selector.It appears in "Repository/Packs" in my user folder in c:/Details:Pack created with STM32Cube Pack CreatorExample project added under the Examples folder in the pack structurePack installs fine and is visible in CubeMXThe example does not show up in the CubeMX Example Selector listQuestions:Are there specific requirements or metadata (e.g., .pdsc file entries, example description XML) that must be included for CubeMX to recognize and display the example?Could this be related to the folder structure or naming conventions inside the pack?Any guidance or documentation on ensuring custom examples appear in CubeMX would be appreciated.Thanks in advance for your help!
We need to develop an offline programmer to program the STM32H562VIT. The product state need to be changed to Closed with an OBK file programmed. The OBK data only in HDPL1.We can't simply use the RSS to program the OBK like STM32Cubeprogrammer. We could only write and read the flash registers by SWD.When in OPEN state, we could program the OBK files successfully, then we change the state to provisioning and closed. But if we first change the state to Provisioning, then try to program the OBK data , the programming of OBK is always failed.So our questions is how to program the OBK file data when in Provisioning state for a third programmer?
Hi !I am using a stm32f103RCT6 MCU for my bare metal code. I want to use high speed SPI 1 peripheral (PB3- SCK, PB4- MISO, PB5- MOSI). By defualt, PB4 and PB5 are enabled as JTAG pins. I use the AFIO->MAPR register to disable JTAG and enable only SWDIO. The issue I am facing is that I am not able to flash my code on the controller after changing the value in the register. I have to power off my stm32 and flash the code before the register value changes. I added a delay so that I can have some time to connect my stm32 and flash the code. My code works fine and throws no errors. Only flashing the code has now become difficult. Please advice me what to do. Below is my code snippet.void SPIx_init(SPI_TypeDef *SPI){ Delay(1000); // 1. GPIO clock enable RCC->APB2ENR |= (1 << 0); // enable AFIO if(SPI == SPI1){ Delay(1); AFIO->MAPR &= ~(0b111 << 24); //Reset AFIO->MAPR |= (0b010 << 24); // disable JTAG and enable SWDIO Delay(1); // SPI1 remap PB3, PB
Hello,I’m developing a USB composite device on STM32 that combines RNDIS and CDC interfaces.The device works perfectly the first time it’s connected to a Windows 10 PC — both RNDIS and CDC functions operate normally.However, after I reset the MCU or power-cycle the board, Windows shows the following error in Device Manager:“This device cannot start. (Code 10)”{Operation failed} The requested operation was unsuccessful.At this point, the RNDIS interface no longer works.If I uninstall the device from Device Manager or reinstall the driver, it starts working again.On Linux, the same device works without any issue, even after multiple resets.I have confirmed the following:The USB VID/PID remain the same after reset.The device descriptors are correctly reported.The problem occurs only on Windows after a full power cycle or hardware reset.Has anyone experienced similar behavior with RNDIS composite devices on STM32?Is there something specific I should check in the USB descriptors or RNDIS in
Code is given below in the files:/* USER CODE BEGIN Header */ /** ****************************************************************************** * @file : main.c * @brief : Main program body ****************************************************************************** */ /* USER CODE END Header */ /* Includes ------------------------------------------------------------------*/ #include "main.h" /* Private includes ----------------------------------------------------------*/ /* USER CODE BEGIN Includes */ #include <string.h> /* USER CODE END Includes */ /* Private typedef -----------------------------------------------------------*/ /* USER CODE BEGIN PTD */ /* USER CODE END PTD */ /* Private define ------------------------------------------------------------*/ /* USER CODE BEGIN PD */ #define RING_BUF_SIZE 32 #define PACKET_SIZE 8 #define CAN_CMD_ID 0x100 /* USER CODE END PD */ /* Private variables ---------------------------------------------------------*/ CAN_HandleTy
I’m currently testing the system with different configuration options, and I am trying to understand the impact of the --enable-epoch-controller option flag.Could you explain what functional or performance differences occur when this option is enabled versus when it is disabled?What I know so far is that when the option is enabled, the network_ecblob.h file is generated, and when it is disabled, the file is not generated.
STM32 H573 TrustZone Enabled question. I'm executing the STM32 H573 example for TrustZone Enabled (OEMiROT, Secure, and Non Secure Apps). I know the OEMiROT and Non Secure App prints out and logs info, but I want to be able to do that in the Secure App for logging purposes - errors and debugging. I tried to use Gemini to create code that does that, but there appears to be many security hoops to jump through to do that, and I have been unsuccessful. Do you have an example of what I can do to do this? Gemini creates the following functions and instructs me to place it under the Non Secure App and call it from a Secure App function, but I keep running into the problem of where I'm getting multiple definition of `NS_putc_utility' error. /*** @brief Non-Secure Call-able (NSC) function that returns the pointer* to the Non-Secure World's _write (UART) function.** The __attribute__ flag ensures the compiler generates the securit
Hello,We have lately been seeing in some cases that one or two pixels seem to be stuck at distance_mm==0. Sometimes the pixel goes back to returning normal values after some time or after a power cycle, but sometimes it seems to report a zero value consistantly. I will implement some more debugging to get the status of the measurements, but I was wondering if you had any input into why a zero value could be measured for one or two pixels?
Dear technical teamI'm designing a triamped system with the STA540 , in fact it uses two STA540's per unit. I've divided the system in one STA amplifying stereo treble and mid, and other STA for bass amplifier, but given that bass channel is not stereo (has the sum of L and R bass, I'd like to know if I may parallell channels 1 || 3 and 2 || 4 for a single bridge amplifier, instead of using only one bridge (1-2 or 3-4)Can this chip operate with parallell channels? If it can, is it okay to use the channels that I've listed, or there is a better channel pairing?BestIgnacio
Hi,I am new at STM32MP2. I have a stm32mp25f-ev1 board and I was able to build the distribution package and to run it on the board.My next step is to build an image for my own board that was designed using the eval board as a reference, but with many changes in pins (except the eMMC and SDCARD).I am strugling for 2 weeks now to get this working. I tried to follow the instructions from the wiki but could not get it up and running. Then I started to improvise (chat gpt, google, ...)... What I did was to create a new layer under layers. This layer should be based on the meta-st-stm32mp layer and have no additions. So I thought it would use the same devicetree as the meta-st-stm32mp layer. Then I created a machine in this layer. The machine is just with a new name but no devicetree changes. After that I built a new configuration using this layer.The idea was to get to somthing working on the eval board before I start adjusting it to my board. While building I got these warnings:W
Hello,I'm trying to modify STM32MP157x-DK2 kernel so that it would use ST ethernet drivers (dwmac-stm32.ko, stmmac.ko et al.) as modules (like on stm32mp257f board we have) and not be included into the kernel uImage. I'm using latest v.25.08.27 package and instructions for building and modifying kernel, and uImage and its default modules are built fine. But when I try to use make menuconfig to modify build configuration, I receive the following errors:make menuconfigGEN MakefileHOSTLD scripts/kconfig/mconf/home/###/workspace/DeveloperPackage/SDK_MP1/sysroots/x86_64-ostl_sdk-linux/usr/lib/gcc/x86_64-ostl_sdk-linux/13.3.0/../../../../x86_64-ostl_sdk-linux/bin/ld: scripts/kconfig/mconf.o: in function `show_help':mconf.c:(.text+0x87a): undefined reference to `stdscr'/home/###/workspace/DeveloperPackage/SDK_MP1/sysroots/x86_64-ostl_sdk-linux/usr/lib/gcc/x86_64-ostl_sdk-linux/13.3.0/../../../../x86_64-ostl_sdk-linux/bin/ld: scripts/kconfig/lxdialog/checklist.o: in function `print
After update to the latest Cubu Programmer v2.20 a get this error when uploading the firmware:11:29:37 : Opening and parsing file: 1000BASET1-MC-ETH v1.3.hex11:29:37 : Memory Programming ...11:29:37 : File : 1000BASET1-MC-ETH v1.3.hex11:29:37 : Size : 56.78 KB11:29:37 : Address : 0x0800000011:29:37 : Erasing memory corresponding to segment 0:11:29:37 : Erasing internal memory sectors [0 28]11:29:38 : Erasing memory corresponding to segment 1:11:29:38 : Error: Sector size: 0x00000008 Bytes is out of range11:29:38 : Error: failed to erase memoryIn previous version (2.19) it works correctly.MCU: STM32G473RBT6Thanks
I am trying to connect to the SPC574K-DISP board through PLS UDE Starter kit to program but am getting a "Can't determine the default communication device! Current selection is ambiguous!" Pop up error message.I followed the Part 7 - AutoDevKit™ detailed tutorial: Debug and release of firmware created with AutoDevKit™ tutorial step-by-step (though I'm using a different board, and I used the RLA IRQ Test Application). To get to this step.I am using a new SPC574K-DISP board for this, it has not been used/programmed since it came out of the box this week, so I can't verify that it's not a board issue. Though, when powered, the board runs it's Blink LED test application.Device Manager shows two instances of "SPC574K-DISP Discovery+" under "Other devices", before I install the PlsUsbJtagDrivers, and still the same after, see attached "SPC574K-DISP Investigation_Device Manager.png". If I install the UDESTK drivers from SPC5Studio's OpenOCD, then the Device changes to a COM Port cal
I've just brought the stm32h573i-dk dev board and what to become familiar with Threadx and USBx. I have a uni project coming up that I would like to use the board as a msc device but struggling to get the board to enumerate with the PC. I have tried to get majority of the USBx reference designs up and running. They compile fine but nothing happens when I connect the board to a PC on cn17 ( the non stl-link usb). Is there anything I'm doing wrong to get it up and running . Is there something I need to enable to for the USB port to work? I also have a couple of u5 and h5 nucleo boards I would also like to get up and running With various forms of USB Once I have the discovery board working. Any pointers would be greatly welcome. Thanks
Hi I'm trying to use an LP TIM to generate an interrupt after a time interval on an STM32U073CCT6. The interrupt will wake the processor from STOPMODE2.I haven't found any examples, and the STM32CUBE MX doesn't have a software-triggered single-shot option. The LPTM1 clock is LSI. Can you help me with this application? BR Gilberto
We use STM32H743 to develop a system that needs to display a 1920 * 1080(8-bit pixel depths) graphic on LCD(driven by FPGA)Now our design is that STM32 reads a picture from the SD card, then decodes and sends it to the FPGA through FMC.We tried the software decoder, but it takes almost 5 seconds to decode just one PNG picture. The required time is only 50ms(about 3 FPS for each graphic, so 3*16ms = 48ms). I just learned that STM32H743 has an internal JPEG hardware decoder, but it seems this JPEG hardware decoder does not support 1920 * 1080? So the only way is to use an external decode chip, am I right?
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.