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 fellas,(I am using a Riverdi touchscreen-> i have a dual core stm32) (i am working on the GUI part with TouchGFX Designer)Basically I am wondering if there is a way to execute a function in ScreenView.cpp, perhaps call a function in the presenter to interact with a peripheral, and force manually a refresh of the screen.I tried using presenter->foo() expecting TouchGFX to be a good boy and do a detour by the refreshing part before actually going in the function of the presenter, but it is apparently not. Ngl i haven't tried calling a function in the Model as i expect the same result.My question is therefore: Am i forced to make my application dual-core with one core handling the refreshing of the GUI and the other handling interactions with the peripheral?If not, what other ways are there? I tried manually calling TouchGFX::tick though i am convined it is not a good idea as ScreenView is already in the thread fathered by TouchGFX::tick, and if that's the solution i don't know w
I want to use Ethernet for STM32H573I-DK controller in RMII mode but it seems like H5 series doesn't have LWIP as middleware in STM32 IDE so I want to know which transceiver is this controller compatible with. Can i get a clarification on this?
Use example code BLE_Audio_HAP_Central to audio function. The Central may start the stream fail, though the BLE connect and GAP link returns are OK. and Once the stream start failed, the stream cannot be start forever, with the result "CAP Unicast Start Procedure is Complete with status 0x91". Compared with the normal process the GAP link lack of CAP event 0x06, 0x12. I have to use aci_gap_clear_security_db() then I can connect and start the stream successfully. And what's more, use aci_gap_remove_bonded_device() to remove the certain device and repairing cannot start the stream. It seems that there's some memory issues. log for stream start failed[10:10:48.442]·¢¡ú¡ó{A\0v³\0ÿÿ}¡õ [10:10:48.445]ÊÕ¡û¡ôaci_gap_terminate_gap_proc() returns status 0x00 HAPAPP_StopScanning() returns status 0x00 Selected device 0 aci_gap_create_connection() returns status 0x00 {A\0w³\0V˜}P_PROC_COMPLETE_VSEVT_CODE >>== ACI_GAP_PROC_COMPLETE_VSEVT_CO
Hi all,I managed to move my fonts to external serial flash.Now I want TouchGFX 4.25 to retrieve and use them but it doesn't seem to work.My question is this. Is it possible to do so, and if yes, is there some kind of appnote on this?Thanks
Hello,I'm working with a custom board that uses an external 12V supply for the VCC pin (gate driver supply) of STSPIN32g4. The VCC supply is interrupted by external circuitry whenever a fault is detected.The problem I'm encoutering is that when the 12V is removed the firmware gets stuck by continuously calling the interupt "TIMx_BRK_M1_IRQHandler" in the file "stm32g4xx_mc_it.c" and no other code gets executed.I tried to stop the timer calling this interrupt but without success. The goal is to remove torque to the motor by hardware as if being connected to an enable/disable input. Thank you in advance.
I am using ST25DV04KC tag and using the V_EH pin to power the VCC of the tag only( It will generate around 3.3V which is enough to power up the tag in I2C mode I believe) . I am looking for guidance on the maximum pullup voltage on the I2C and GPO line from an external rail of around 3.6V, if it is okay? what can be the max voltage on the I2C and GPO pins? is it independent of VCC or dependent on VCC?
Current Sensing的这两个参数应该怎么填,该如何计算得到,或者有官方文档介绍吗?How should these two parameters for Current Sensing be filled in? How should they be calculated? Or is there any official documentation available?
The new version of CubeMx (6.15.0) nags me about enabling SMPS mode, and I would like to, but the tool seemingly does not have the capability to do so.Under PWR->Low Power there's a checkbox for "Power Savings Mode" which other forum posts led me to believe would need to be enabled. I have found two things about this checkbox. 1.) It is already enabled and 2.) You cannot disable it.Then, under "System Core" -> RCC ->Parameter Settings, there's a "Supply Source" parameter. It has only a "PWR_LDO_SUPPLY" option, and cannot be changed to any other value.Am I missing something here, or is the tool broken?
Hello, I get the same error recently on 1.19.0 for my STM32U385RGTxQ. The only option available in Power Supply source is PWR_LDO_SUPPLY
HiWe are using STM32U073CC MCU in a project. Our development tools are:STM32CubeIDEVersion: 2.0.0Build: 26820_20251114_1348 (UTC) STM32CubeMXVersion 6.16.0 WE are using the HAL_RTCEx_SetWakeUpTimer_IT to wake up the mcu from stop mode. The code code works fine, bur some the RTC INT does not fire. Is there any official sample code for this application? Ou maybe some sort of bug with the new IDE? I also have noticed that HAL_RTCEx_SetWakeUpTimer_IT has a aditional parameter compared with am older ide. Coud you provide me some extre information on the correct usage of the WakeUpAutoClr parameter? BRGilberto
From Cube 1.19.0, i keep getting the "For the best power consumption figure, enable SMPS" and although the Nucleo-U385RG-Q board uses a Q variant, I'm not able to switch to SMPS from CubeMX.
Hello,I am trying to understand the memory allocation for the FDCAN, I am using a nucleo H723ZG.With the latest CubeIDE 1.18.1 I seem to be able to configure 32 TX Buffers and 32 TX FIFOs:However the message RAM mapping in AN5348 - Rev 5 shows that there are only a maximum on 32 for both Buffers and FIFOs:Is there a mistake in the MX interface that should not allow more that 32 of Buffers + FIFOs combined, or the memory mapping has 2 sections of up to 32 elements for both buffers and FIFOs? Thanks,Marco
Hello,I have custom PCB based on STM32H563ZIT6 with external memory MX25L51245G(W25N01xx in schem.) and Riverdi display. I use ExternalLoader from https://github.com/cturvey/stm32extldr/tree/4dcb141b9cf6da2ee3fddf154d073bb6218a52e5/h5_mx25l51245g. Problem is that I cannot connect to the memory in CubeProgrammer. My aim is to completely program all code, images, texts and everything from TouchGFXDesigner I plan to use for pretty complex GUI so ex. mem. is necessary for me. I have attached my code and schematics to pcb. Things that seem to be right and working:- OCTOSPI1 configuration in CubeMX ( same as mentioned ex. loader need it )one HW problem is that CS pin is attached to PA15 pin which is not intented for OCTOSPI1 settings, so I put wire around 8cm from PA15(reset state) to PG6(same pin as display uses for CS, is it ok? display is disconnected at the moment) through 2k2 pull up resistor. Also tried to increase clock prescaler to 4-8 to stabilize connection. May thi
Hey,the text on the ST ic is:gzw9v914aimrc226did anybody know the type ?thanks a lot
Posted on May 23, 2018 at 16:45Hello, I am trying x-nucleo-plc01a1. but there are two jumpers (J5 and J11) on the board. I can't find any document to describe how to use them. Anybody can help?thank you.
As alread reported a while ago, strange things happen when entering an expression in CubeMX for Prescaler and/or Autoreload. If, for example, 72-1 is entered for Prescaler and 6667-1 for Autoreload, the following code will be generated:STM32CubeMX: TIM Prescaler, Period bug TIM_InitStruct.Prescaler = 72-LL_TIM_IC_FILTER_FDIV1_N2; ... TIM_InitStruct.Autoreload = 6667-LL_TIM_IC_FILTER_FDIV1_N2; LL_TIM_IC_FILTER_FDIV1_N2 does not make any sense here.Depending on the exact values, the Timer will be initialized with some different settings than desired.With simple constants (without calculations) the generated code will be correct.In contrast to the previous post, in my case the MCU was a STM32F303.CubeMX is Version: 6.15.0-RC7, Build: 20250701-1659 (UTC)
Hi, I'm trying to come up to speed with the VSCode workflow, coming from experience so far only using CubeIDE. In CubeIDE, it seems that I was encouraged to think of having a "workspace", in which several projects co-existed. I enjoyed the ability to be able to have multiple projects "open" at once, to be able to compare code and easily understand/navigate to out-of-project source code, like centralized libraries and such. The VScode workflow, in contrast, seems to want me to only open a single project at once, otherwise CMake seems to get crabby. This is slightly annoying in that it requires me to open multiple windows in order to see multiple projects simultaneously, but notably more annoying when I am trying to use out-of-project code - I need to open a second window at a higher directory level, but can't actually build anything in this second window. It's kind of cluttered and confusing. It also seems to kind of push me away from the path of having a git repo t
STM32CubeProgrammer v2.21.0 I implement Open Bootloader middleware to communicate USART protocol over USB CDC on Mbed OS 6 I found when I open STM32CubeProgrammer and click Erasing & Programming tab first time, program will freeze. But after first time does not freeze. After Click Erasing & Programming tab. Program send Get ID for 100 packets per sec Graph with 1 Sec interval, Get ID packets (I only filter 0x02) Graph with 100ms interval, Get ID packets Before Click, 2 Get ID per 1 sec After Click, 513 Get ID packets with no delay I also try with FTDI and result is mostly same Graph with 100ms interval, Get ID packets 6-7 packet per 100ms And also 513 packets I also found when before and after buck send. Program change baud rate to 9600 and switch back to 115200 (I use 115200)
Hi,I have couple of questions regarding the LORA Tx numbers specified in the ds for the stm32wle5.we are using VDD=3.3V , 22 dBm , ~928 Mhz LORA. 32 Mhz TCXOwe are NOT using the SMPS . table 29 in the ds mentions that typical current for the stm32 device in Tx High power mode should be 120 mA.I want to know what should be the total current for all chip supplies . I have couple of questions:1. If I understand correctly - this table assumes all chip interfaces are disabled. if I have UART enabled and a few other io's toggling - How much current should I add to the 120 mA number ? (roughly) 2. since we are NOT using SMPS mode . How much current should I add to the 120 mA number ? (roughly) 3. General question - should I see different subghz current consumption when transmitting LORA vs when transmitting CW ? 4. Is there a more accurate way to estimate what should be the total chip current in LORA RX M
Greetings,we are working on to evaluate the data given in lsm6dsv datasheet ,we want to verify the sensitivity and rest of the parameters,could you please provide us the test setup/suitable test rig details with which we can test the sensor...Thank you
Hi, I'm using a custom board based on STM32U5G9J-DK1.I am using DSI Video mode with double buffering, but i had some issues in the DSI video mode.I am using CO5300 driver-based 466 X 466 Display which supports DSI video modeI successfully got a display displaying the actual GUI but it is slightly shifted from the left and from upper and bottom side as well I am attaching images here; the first image is the simulator, and the second is the actual display.Simulator Image:Actual Hardware:My configuration for clocks are as given belowMy MX_DSIHOST_DSI_Init() function looks like belowstatic void MX_DSIHOST_DSI_Init(void) { /* USER CODE BEGIN DSIHOST_Init 0 */ // Power up sequence HAL_GPIO_WritePin(PWR_EN_GPIO_Port, PWR_EN_Pin, GPIO_PIN_RESET); HAL_GPIO_WritePin(BACKLIGHT_EN_GPIO_Port, BACKLIGHT_EN_Pin, GPIO_PIN_RESET); HAL_Delay(10); HAL_GPIO_WritePin(PANEL_RESET_GPIO_Port, PANEL_RESET_Pin, GPIO_PIN_RESET); HAL_Delay(10); HAL_GPIO_WritePin(VCI_EN_GPIO_Port, VCI_EN_Pin,
Hi,Is the I2C connector CN2 a standard pinout like PMOD, and if not are there any cables to convert it to PMOD, STEMMA or QWIC?Glenn
HiI am using STM32L562 and sampled and flashed the Zephyr OS example for TrustMode. I could not revert back the TrustZone therefore followed the information from the link https://community.st.com/t5/stm32-mcus-security/reverting-option-byte-configuration-after-tf-m-testing-in/m-p/584225/highlight/true#M5879However, after executing the first two commands the board doesn't respond to the command. Even with the hotplug mode, I can't set RDP level back to 0 STM32_Programmer_CLI -c port=SWD mode=hotplug reset=SWrst -ob RDP=0xAA UNLOCK_1A=1 UNLOCK_1B=1 UNLOCK_2A=1 UNLOCK_2B=1 ------------------------------------------------------------------- STM32CubeProgrammer v2.20.0 ------------------------------------------------------------------- ST-LINK SN : 0046003F3137510C33333639 ST-LINK FW : V3J16M8 Board : STM32L562E-DK Voltage : 3.27V SWD freq : 8000 KHz Connect mode: Hot Plug Reset mode : Software reset Device ID : 0x472 Revision ID : Rev Z Device name : STM32L5xx Fl
Hello,from recently I have a problem using STM32F407VGT6, moreover, I am unable to get consecutive conversions in the DMA buffer. For example I want to use Dual Regular Simultaneous ADC mode to obtain results from 4 channels (2 in ADC1 and 2 in ADC2). However, when I start my application only the first iteration is obtained, second part of the buffer is never filled(i.e. CHN3 and CHN4 are never read if CHN1 and CHN2 are rank 0 in ADC1 and ADC2).Setup:main(void)#include "main.h" /* Private includes ----------------------------------------------------------*/ /* USER CODE BEGIN Includes */ /* USER CODE END Includes */ /* Private typedef -----------------------------------------------------------*/ /* USER CODE BEGIN PTD */ /* USER CODE END PTD */ /* Private define ------------------------------------------------------------*/ /* USER CODE BEGIN PD */ /* USER CODE END PD */ /* Private macro -------------------------------------------------------------*/ /* USER CODE BEGIN PM */ /*
Hi.,Could anybody point me to a working example of a working basic IEEE 802.15.4 communication example, NOT Bluetooth, pure radio frequency in 2.4Ghz.I spent about 2 months trying to figure this out for my WB55 series without success and can't waste more time now.There are supposedly tons of examples on the internet, but all are Bluetooth, which I don't want. None for 2.4ghz RF.The https://wiki.stmicroelectronics.cn/stm32mcu/wiki/Connectivity:Introduction_to_802_15_4 page is of now use as there is not example code. Thanks for any help or guidance.Steve
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.