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
.clangd is constantly being modified appending the same compileflags: CompileFlags: Add: - '-ferror-limit=0' - '-Wno-implicit-int' CompilationDatabase: CM7/build Diagnostics: Suppress: - unused-includes - unknown_typename - unknown_typename_suggest - typename_requires_specqual If: PathMatch: CM7/.* --- CompileFlags: Add: - '-ferror-limit=0' - '-Wno-implicit-int' CompilationDatabase: CM4/build Diagnostics: Suppress: - unused-includes - unknown_typename - unknown_typename_suggest - typename_requires_specqual If: PathMatch: CM4/.* --- CompileFlags: Add: - '-ferror-limit=0' - '-Wno-implicit-int' CompilationDatabase: CM4/build Diagnostics: Suppress: - unused-includes - unknown_typename - unknown_typename_suggest - typename_requires_specqual If: PathMatch: CM4/.* --- CompileFlags: Add: - '-ferror-limit=0' - '-Wno-implicit-int' CompilationDatabase: CM7/build Diagnostics: Suppress: - unused-includes - unknown_typename - unknown_typename_suggest
Added dual-core to title - may be significant ...Hello.I've tried rename my project in the past, and this always generate a lot of errors due to the dependencies.Which is the properly way?I am working with STM32H755. Yes, dual-core.Thanks!
We have been using the ST MP23DB01HP microphone to measure the shockwave signature of assault rifles. When comparing the time signal with measurements performed with other microphones (e.g. B&K model 4948), we noticed that the typical N-wave signature looks different with the ST microphone. The initial compression wave of the shock appears negative when measured with the ST microphone, which is counter intuitive. Also, the expansion phase of the shockwave, which appears relatively clean when measured with the B&K microphone, is severely perturbed when measured with the ST microphone. Could it be that the perturbation observed with the ST microphone is of internal nature, e.g. caused by some internal flow due to the shockwave and not properly vented out of the casing? What other possible causes would you see? Exceeded acoustic overload point? Tthe shockwave has very strong gradients, that might interact negatively with the ST microphone.
Good morning, I try to compile a CNN model for the STM32N6 board but I get the following logs :Generate ProjectCopying previous project files from C:\Users\maick.huguenin\.stm32cubeaistudio\workspace\test-N6\.ai\run\run-9 to C:\Users\maick.huguenin\.stm32cubeaistudio\workspace\test-N6\.ai\run\run-9\.ai\generate\backupCalculating memory footprint...Run failed: Error: analyze error: E103(CliRuntimeError): Error calling the Neural Art compiler. Please check the report for more details. Output: ST Edge AI Core v4.0.0-20500 359356bb0PASS: 0%| | 0/103 [00:00<?, ?it/s] >>>> EXECUTING NEURAL ART COMPILER C:/ST/STEdgeAI/4.0/Utilities/windows/atonn.exe -i "C:/Users/maick.huguenin/.stm32cubeaistudio/workspace/test-N6/.ai/run/run-9/.ai/st_ai_output/model_int8_OE_3_3_1.onnx" --json-quant-file "C:/Users/maick.huguenin/.stm32cubeaistudio/workspace/test-N6/.ai/run/run-9/.ai/st_ai_output/model_int8_OE_3_3_1_Q.json" -g "network.c" --load-mdesc "C:/ST/STEdgeAI/4.0/Utilities/c
Hello,would someone confirm my mistakes on this TDA7850 schematic??There is a ground loop isolator BA3121 on inputs and softstart mosfet to limit inrush current.Ignition/remote ON provides a buzzing noise, as soon as engine or cabin heater/fan starts you can hear the whine amplified trough speakers….Any tip is welcome :)
The Data Brief for the STEVAL-CAM-M0I adapter board references the FH12-24S-0.5SH(55), which is a 24-pin connector. However, the cable pinout appears to be the usual 22 pins. Is this a mistake in the Data Brief, or is there something I'm overlooking?Data brief - STEVAL-CAM-M0I - P-Board: Hardware MIPI CSI-2 kit for the evaluation and integration of promodules on embedded processing platforms
I am a user of the NUCLEO-N657X0-Q board. I am using the NUCLEO-N657X0-Q board with Root of Trust enabled, and I want to use the RTC.Out of the 3 stages (FSBL → Secure App → Non-Secure App) I want to use the RTC in the Non-Secure App. My development environment is as follows:1> Development tool: Keil uVision V5.422> Example source: STM32Cube\Repository\STM32Cube_FW_N6_V1.2.0\Projects\NUCLEO-N657X0-Q\Applications\ROT\OEMuROT_Appli3> Development board: NUCLEO-N657X0-Q The biggest problem is that when HAL_RTC_Init() is called in the Non-Secure App, it hangs. The source for STM32Cube_FW_N6_V1.2.0\Projects\NUCLEO-N657X0-Q\Applications\ROT\OEMuROT_Appli was created by referencing STM32Cube_FW_N6_V1.2.0\Projects\STM32N6570-DK\Applications\ROT\OEMuROT_Appli. The code I added is as follows.1. Added to the main function of the Secure App.HAL_RIF_RISC_SetSlaveSecureAttributes(RIF_RCC_PERIPH_INDEX_RTC, RIF_ATTRIBUTE_NSEC);2. Added a function to the Non-Secure App.RTC_HandleTypeDef RtcHa
Most of the default settings on the ST workbench for the Charge Boot Capacitor Time are 10ms. However, with the B-G431B-ESC1 Discovery kit with STM32G431CB MCU, calculations show that the charging time for a 1-microfarad capacitor should not exceed 10 microseconds. So why is the default setting 10ms?
Starting with the http server example i inserted LwIP SNTP and RTC based on medium-high LSE and smooth calibration with a PI controller. After some hours of SNTP comparisons every 120 seconds the calibrator settles at -12.3 units. My firmware implements fractional calibration by tracking remainders. The running average over 10 consecutive time comparisons exhibits < 1 msec rms. A nice result.Then i modified predivider setup from standard 127/255 to 31/1023 in order to improve resulation. After a backup domain reset the new setup works and delivers consistent time comparisons. I also unsoldered R11 in order to separate PC13 from the “SD card present” switch in order to look at the RTC calibration output.The calibration output shows 4 Hz instead of 1 Hz. I may try an RTC alarm to get the 1 second output pulse. The smooth calibration feature no longer works as expected. Apparently the mapping between CALR register settings and what the circuit really does no longer follows the referenc
I just spent some time trying to get a debug session going in VSCode ony to be given the rather obscure error message: "bound doStepConnectToTarget Failed: could not connect (error 138): The system tried to join a drive to a directory on a joined drive."Eventually I realised what it was - I had enabled RDP protection on the device (STM32C5) so of course it could not connect.May I suggest that a more appropriate error message is given in such circumstances? (this is with stlink gdb debugger, latest version.)
Hello group,I'm a humble hardware guy integrating the LSM6DSV16X into a robotic application.We are going to use it in control loops, between 3kHz and 5kHz sampling.Between the main mode and the OIS mode, there are tons of ODR to choose from.However, is there a way to make the ADC sample at EXACTLY 5kHz?? Like a triggered or synced ODR?Or do I have to set the ODR at 7.68kHz and read the latest value from the FIFO and deal with the small discontinuities?I see the Triggered-ODR section 6.6 in the datasheet. Does it means enabling this will sync the ADC with an external INT2 pulses? Does the new values appears in the FIFO after a defined short delay?Thanks!
STM32CubeIDE 2.1.1: My program works if I choose the GCC compiler “none” optimization and it doesn’w work if I select any other optimization; anyone may help me ? Thank you
Hi! I use LL drivers to work with UART as follows: LL_USART_SetRxTimeout(USART1, 3 * 11); LL_USART_EnableRxTimeout(USART1); LL_USART_ClearFlag_RTO(USART1); LL_USART_EnableIT_RTO(USART1); LL_USART_EnableIT_RXNE(USART1);and it works fine until I switch the MK to STOP1 mode HAL_SuspendTick(); HAL_PWR_EnterSTOPMode(PWR_LOWPOWERREGULATOR_ON, PWR_STOPENTRY_WFI); // STOP1 HAL_ResumeTick();What do I need to do to get this to work in STOP1 mode?
Hi, Can I use DAC of STM32L476RCTX for audio application. I have to give output of DAC to MAX97220(Audio amplifier IC). Frequency range of audio is 10Hz to 20kHz. Can you please suggest any application note for this. Audio files will be fetched from SD card with SPI interface.Can you please suggest any code example or library that is already available for this type of example. Regards,Anurag
I have added a wolfSSH ICube repo to my project. It does not compile, showing: Cube/Middlewares/Third_Party/wolfSSL_wolfSSH_wolfSSH/wolfssh/src/internal.c: In function 'GenerateKey':Cube/Middlewares/Third_Party/wolfSSL_wolfSSH_wolfSSH/wolfssh/src/internal.c:2215:15: error: implicit declaration of function 'wc_SSH_KDF'; did you mean 'wc_HKDF'? [-Wimplicit-function-declaration] 2215 | ret = wc_SSH_KDF(hashId, keyId, key, keySz,I checked the configwolfSSL.I-CUBE-wolfSSL_conf.hand it seems to be missing the wolf repo has:/* Enable wolfSSL features needed for wolfSSH */#define WOLFSSL_WOLFSSH /* Enable wc_SSH_KDF function */ Do I have to manually add it? Am I missing some other config that enables it?wolfSSH example referencewolfip/src/port/stm32h563/user_settings.h at master · wolfSSL/wolfip
Hi,I modified the BLE_HeartRate example for Nucleo-WBA25CE1 by adding another channel - IN8 - to read the voltage of a solar panel. The input is between 0V and 3V because i use the divider. In CubeMX I added an additional channel IN8 and generated the code. In the code I define the handle for ADCCTRL:ADCCTRL_Handle_t LLVoltageRequest_Handle ={ .Uid = 0x00, .State = ADCCTRL_HANDLE_NOT_REG, .InitConf = { .ConvParams = { .TriggerFrequencyMode = LL_ADC_TRIGGER_FREQ_LOW, .Resolution = LL_ADC_RESOLUTION_12B, .DataAlign = LL_ADC_DATA_ALIGN_RIGHT, .TriggerStart = LL_ADC_REG_TRIG_SOFTWARE, .TriggerEdge = LL_ADC_REG_TRIG_EXT_RISING, .ConversionMode = LL_ADC_REG_CONV_SINGLE, .DmaTransfer = LL_ADC_REG_DMA_TRANSFER_NONE, .Overrun = LL_ADC_REG_OVR_DATA_OVERWRITTEN, .SamplingTimeCommon1 = LL_ADC_SAMPLINGTIME_814CYCLES_5, .SamplingTimeCommon2 = LL_ADC_SAMPLINGTIME_1CYCLE_5 }, .SeqParams = { .Setup = LL_ADC_REG_SEQ_CONFIGURABLE,
Hello,I am evaluating IIS3DWBG1/IIS3DWBG1TR and AIS25BA/AIS25BATR for a data acquisition system where sensor data timestamps need to be aligned with GNSS time.I would like to ask whether these devices support any GNSS-related time synchronization interface or equivalent mechanism, such as GNSS/GPS 1PPS or PPS input, UTC/NMEA time reference input, PTP/IEEE1588 synchronization, external sync input, external reference clock input, FSYNC/CLKIN/EXTCLK, or any pin/register mechanism that can reset, latch, align, or discipline the internal timestamp counter using an external timing signal.Based on my review of the publicly available ST documentation and product pages, IIS3DWBG1/IIS3DWBG1TR appear to provide an internal timestamp counter and FIFO timestamp function, but I have not found any clearly documented pin, register, or configuration mechanism to align this timestamp to GNSS 1PPS/PPS or UTC time.For AIS25BA/AIS25BATR, the publicly available documentation shows TDM interface signals such
I am working on STM32H745BIT6 (dual-core: Cortex-M7 + Cortex-M4).Issue:DMA is functioning correctly when used from the CM7 core The same DMA configuration does NOT work when executed from the CM4 core
Hello, I'm trying to convert a project to vscode the first error I incurred to was this one: I'm trying to convert to cmake using the extension a project for the STM32U585OIYXQ, when I load the source folder and set the output folder then i push on convert and this is the output that I get : [Error] [ide-project-convert]:Generating project... [Error] [ide-project-convert]:The specified 'STM32U585OIYxQ' device is unknown [Error] [ide-project-convert]: Project conversion failed with exit code: 35. Which has been solved with this work around: "you can enable the stm32cube-ide-project-manager.conversion.ignoreMissingDevice VS Code setting".That went through and I have the following new error: [Info] [project-manager] STM32CubeIDE project manager activation.... [Info] [ide-project-convert] Starting project conversion... [Info] [ide-project-convert] cube wrapper version: 0.10.2 [Info] [ide-project-convert] Invoking STM32CubeIDE Eclipse exporter... [Info] [ide-proje
I am using a stm32h562agi6 and configured fdcan2. It works!But then I wanted to create a zephyr os project and saw that there the fdcan2 is not available for stm32h562xx in general. I did some investigations and also the datasheet actually states that fdcan2 is not available (features and peripheral counts). I basically read everywhere that it has only one fdcan peripheral. I use PB5 and PB6 which are only listed for FDCAN2. So what is true now? Is it because it’s a UFBGA169?
Hi everyone I have a bit trouble initializing the JPEG peripheral on the N6. See the stack trace: I feel like this has something to do with the RIF? I don’t know, this chip is very new to me. If anyone can help me, it’d be greatly appreciated. Best regards
Hello, In the STM32CubeMX2 v1.0.1, I've noticed an issue with the ETH1 peripheral configuration in RMII mode. The application forces the PA_10 pin to be used as ETH_CLK, even though I want to use the clock generated by the PHY and supply it to the PA_1 pin (ETH_REF_CLK). In my project, the PA_10 pin is already used.The question is, is the ETH_CLK signal on the PA_10 pin necessary in RMII configuration and should I redesign the project, or is this the STM32CubeMX2 issue ? Best regards
Device A is an Ethernet implementation based on the STM32F107VCT6 microcontroller and the LAN9303 Ethernet transceiver. It connects to a host computer via a Layer 3 switch, with Device A and the host computer assigned IP addresses in different network segments.Two batches of STM32F107VCT6 microcontrollers are currently deployed. With the Layer 3 switch properly configured, the following test results are observed:For the older batch of STM32F107VCT6 devices, the host computer can successfully ping Device A, regardless of whether the Layer 3 switch is a Huawei or TP-LINK model. For the newer batch of STM32F107VCT6 devices, the host computer cannot ping Device A when using a Huawei Layer 3 switch; however, ping communication is successful when using a TP-LINK Layer 3 switch.The above observations indicate a batch-specific anomaly in the network functionality of the STM32F107VCT6. What is the specific root cause of this issue?Upon verification, the defective STM32F107VCT6 units have lot co
Hi,I am working with an STM32H7 microcontroller and the EVB-LAN9252-SPI board from Microchip Technology.I would like to establish communication between the STM32H7 MCU and the LAN9252 over the SPI interface. Could you please provide guidance on the hardware interfacing, software setup, and initialization procedure required to bring up the communication?Additionally, please let me know the software packages, drivers, middleware, or example projects that would be needed for this implementation.
I'm using an STM32H7S78-DK board and I have a part of the firmware that, from the boot, updates the FLASH from a .bin inside an SD cardThe code is pretty simple as I loop the FLASH comparing every sector with the one in the SD card and, if different I erase the internal flash sector and write the new one.Everything was working correctly until a update the code via CubeMXThe read seems to still workingif (EXTMEM_Read(0, fw_offset, flash_buf, br) != 0)but as soon as I do theif (EXTMEM_EraseSector(0, fw_offset, FLASH_SECTOR_SIZE) != 0)I got an errorThe crash happens in if (EXTMEM_DRIVER_NOR_SFDP_OK != EXTMEM_DRIVER_NOR_SFDP_SectorErase(&extmem_list_config[MemId].NorSfdpObject, local_address, sector_type)) { retr = EXTMEM_ERROR_DRIVER; }I've rolled back just the driver in the STM32_ExtMem_Manager, and everything started working againI've noticed that quite a few files have been changed, including the addition of #define EXTMEM_DRIVER_CUSTOM 0In the conf_temp
ST Community highlights – April to June 2026
Already have an account? Login
No account yet? Create an account
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.