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
When using a STM32H757, with external QSPI, on an STM32H757I-EVAL, I am experiencing some programming issues when programming an .elf file with sections pointing to external QSPI. I am using the ST External Loader for MT25TL01G_STM32H747I-EVAL. Programming does work successfully, but on newer versions of cube programmer, there are warnings about 32 byte alignment, and then verification fails. The addresses mentioned are in AXI SRAM, and are .bss sections, which are marked NOLOAD, so it's confusing why that memory is trying to be programmed and this error is coming up in the first place. Manually setting the ALIGN markers in the linker file to be 32 instead of 4 does seem to get rid of the warning, and fix the issue. I've seen this issue on with versions 2.19 and 2.21 Is this a known issue? I haven't seen this issue with 2.17. Attached are logs files with the warnings and errors. Thanks for the help!
Controller: STM32F303ZEWritten a function to read ROM memory as belowvoid ServiceROMRead(tst_ServiceDataset* ptrService){// Variable holds ROM addressDWORD ROMAdd = DIAG_ZERO;// Flag represents JUP service trigger state.RFJupExeFlag = TRUE;// Address from where the data needs to be readROMAdd = ptrService->DataAddr;//Check for the EEPROM addressif((ROMAdd > ROM_ENDADD)) //ROM_ENDADD is 0x0807AFFF{// wrong addressptrService->State = WRONG_DATA;//Indicator for wrong address passed}else{ptrService->ptrData = (BYTE *) ptrService->DataAddr;}}When I pass ptrService->DataAddr as 0x8000020 or 0x8000080 to the above function ServiceROMRead from my application it is sometimes leads to a system resetApplication is placed at 0x08003000 to 0x0807AFFFBootloader is placed at 0x08000000 to 0x08002FFF1. Why is the controller resetting when I try to read ROM from address 0x8000020 or 0x8000080?2. Will trying to read data from address 0x8000020 or 0x8000080
Hi, I am using a STEVAL-WBC86TX Wireless Qi transmitter. I am going through a code and couldn't figure it out what is the meaning of the code(proprietary packet) received by the transmitter. Can any one help me to understand the meaning of this code.
HelloI have a STM32H7R3V8T6 and want to use a few peripherals and GPIOs. However, I don't manage to see an output with my analyzer. The peripherals themselves seem to work: An XSPI receive for example does receive some dummy bytes and takes exactly the required time for the transfer (measured with the cycle counter), but the pins do not show anything.I reduced my code and came up with this simple demonstration of how I initialize a GPIO:int main(void) { SystemCoreClockUpdate(); HAL_Init(); SystemClock_Config(); __HAL_RCC_GPIOB_CLK_ENABLE(); GPIO_InitTypeDef GPIO_InitStruct = {0}; GPIO_InitStruct.Pin = GPIO_PIN_12; GPIO_InitStruct.Mode = GPIO_MODE_OUTPUT_PP; GPIO_InitStruct.Pull = GPIO_NOPULL; GPIO_InitStruct.Speed = GPIO_SPEED_FREQ_LOW; HAL_GPIO_Init(GPIOB, &GPIO_InitStruct); while (1) { HAL_GPIO_TogglePin(GPIOB, 12); HAL_Delay(10); } }The debugger shows that I reach the loop. The registers of the peripheral seem to be correct, but the pin doesn't toggle. This als
I watched the recent webinar about ST25R3916 to ST25DV charging and saw prototype boards in use in the video demo. Is there a reference design available for these boards? I would like to make a custom version for testing. Thank you for any info or link you can provide.
I have created a UI in touchgfx designer, after I opened CubeMX and based .ioc file from touchgfx designer generate codes for stm32n6.Now I want to build these codes in Cube IDE but get this Error . Errors occurred during the build.Errors running builder 'CDT Builder' on project 'STM32N6570-DK-FreeRTOS_Appli'.Cannot invoke "com.st.stm32cube.common.mx.registry.IIdeHelper.getRootProject(org.eclipse.core.resources.IProject)" because the return value of "com.st.stm32cube.common.mx.registry.MxRegistry.getIdeHelper()" is null
HI, I am using STM32H745BIT6 ST controller in my custom board.Configured in Direct SMPS mode. When the board is powered on the VCAP voltage is 1.2V and settling at 1V as expected when we try to flash the program to controller the voltage is same, but when we are trying to enter into debug mode the voltage is dipping from 1V to 0.6V and after 5uS its coming back to 1.2V.( Image is attached for reference)Due to this issue, I am not able to enter to debug mode controller is getting disconnected and showing the pop-up as TARGET IS LOST. I have taken all the precautions mentioned in datasheet and reference manual.1) Shorting all three VCAP pins.2) Connected two 2.2uF capacitor near to the pins.3) Even tried with higher capacitor value.4) Checked the shorts in the pins and board with the help of multimeter.5) The PWR_CR3 register is also set to Direct SMPS mode and verified the last 4 bits as 0100.6) Verified in the IOC that it is configured to Direct SMPS
Hi ST Community,I try to write the OTP Memory on NUCLEO-H563ZI Board with STM_Programmer_CLI (Debian Linux).With STM32CubeProgrammer GUI application I can access OTP memory (beginning 0x08FF_F000).When I try to access the otp memory via CLI:./STM32_Programmer_CLI -c port=SWD mode=HOTPLUG -otp displI receive:Error: OTP programming commands are not supported with STLINK interfaces for this device. With lsusb I can see my STLINK-V3:Bus 001 Device 011: ID 0483:xxxx STMicroelectronics STLINK-V3 But also with the command (port=usb1 or usb0):./STM32_Programmer_CLI -c port=usb1 mode=HOTPLUG -otp displI receive:Error: Target device not found.Establishing connection with the device failed. Do you have any ideas/hints what I am mistaking here?Thanks in advance!
Hello Team,We are using SensorTile.box Pro, and the board has been successfully flashed with the DataLogExtended.bin firmware.However, we are unable to establish a BLE connection with the board, even after flashing the DataLogExtended firmware. The device does not connect via MEMS Studio / BLE application as expected.Could you please confirm if there are:Any known issues with BLE connectivity when using Data Log Extended on SensorTile.box ProSpecific firmware versions or configuration steps required to enable BLEAny additional setup or reset procedure needed after flashingKindly advise on how to resolve this issue.Thank you for your support.Best regards,Ahilesh
HiI'm trying to configure a camera chip (Nextchip nvp6324) that outputs mediaformat MEDIA_BUS_FMT_UYVY8_2X8.There are examples to setup IMX335 sensor to a CSI-2 interface, but how to configure this format ? BR Raimo
During debugging its showing pop_up notification like Failed to enable live expression, connection failed but when i am click ok, after that its start downloading. what could be the reason for that one.
Hi all,to evaluate LIV4F and MAX-M10S, I use Mikroe "GNSS 9" and "MAX" click boards with a passive antenna (Quectel YEGT001W1AM).While the MAX click board with the MAX-M10S gets a fix in less than one minute, the MAX 9 board with the LIV4F doesn't get a fix. Even when starting with an active antenna to get a fix and then switching to the passive antenna, the LIV4F stops operating. Sporadically, the GSV sentence shows then one or two weak (~20) signals while the MAX-M10S has >10 satellites with signals in the range 20..44.From my understanding of the data sheets, both the LIV4F and MAX-M10S should have similar performance without an external LNA, isn't it?Is there any known issue with the Mikroe GNSS 9 click board?Or a possible misconfiguration of the LIV4F I could fix?
HelloI'm developing on the NUCLEO-N657X0-Q board using the STM32N657X0H3Q.I'm trying to trigger the ADC when the CCR value on CH2 of TIM1 meets the up counter of TIM1. This triggers the ADC conversion. Once the ADC conversion is complete, a callback function is triggered to store the ADC value in a variable. To verify the callback function's operation, I'm trying to toggle the GPIO.When I debug and observe the waveforms, I see the waveforms on CH1 and CH2 of TIM as designed. However, the problem is that the GPIO toggles aren't observed. When I check the ADC values in debug mode, the g_adc_raw value is stuck around 1290 and the g_adc_mv value is stuck around 566. Connecting the ADC pin to GND doesn't return 0.The STM32n6 example, ADC_SingleConversion_TriggerTimer_DMA, works normally, so there seems to be nothing wrong with the board itself.I plan to control the DC-DC converter, so I need to read the value for each ADC conversion and run the controller, so I don't think DMA is necessar
Hi Team,I am working on a custom STM32MP255 board with OpenSTLinux (Yocto, kernel 6.6).I want to use USART6 only in Linux (no need in TF-A or U-Boot).Console is on USART2 (ttySTM0). USART6 is intended for RS232 communication.Device Tree Configuration (Linux)Aliases aliases {serial0 = &usart2;serial1 = &uart5;serial2 = &usart1;serial6 = &usart6;ethernet0 = &eth1;};Pinctrl configuration usart6_pins_mx: usart6_mx-0 {pins1 {pinmux = <STM32_PINMUX('F', 5, AF6)>; /* USART6_TX */bias-disable;drive-push-pull;slew-rate = <0>;};pins2 {pinmux = <STM32_PINMUX('F', 4, AF6)>; /* USART6_RX */bias-disable;drive-push-pull;};};usart6_idle_pins_mx: usart6_idle_mx-0 {pins1 {pinmux = <STM32_PINMUX('F', 5, ANALOG)>; /* USART6_TX */};pins2 {pinmux = <STM32_PINMUX('F', 4, AF6)>; /* USART6_RX */bias-disable;drive-push-pull;};};usart6_sleep_pins_mx: usart6_sleep_mx-0 {pins {pinmux = <STM32_PINMUX('F', 5, ANALOG)>,<STM32_PINMUX('F', 4, ANALOG)&
Hi, I'm developing a project generated with Cube AI Studio on a Nucleo STM32N6 board, where inference is done on audio data. Right now I'm only controlling whether NN inference and audio transmission can coexist at the same time. The neural network appearently works, but, even commenting the functions that initialize and run the model, I cannot hear audio (I'm using I2S1 in master half-receive mode and I2S3 in master half-transmit mode, both with DMA and circular buffers). Appearently is a problem that involves also other peripherals apart from I2S, since LPUART with DMA does not show messages when the code is inside while loop of main.c (or inside the code of e.g. app_x-cube-ai.c), but instead printf functions works (I don't know the reason).I don't know what could be done to solve the problem since, even giving privilege access in RIF to both I2S1 and I2S3, the situation does not change.I upload the code to inspect it.Update: appearently I2S transmits audio when I’m not tr
As the title suggests, I need to integrate manually my neural network C code generated for the first time with st edge ai core (version 3.0.0) into my STM32CubeIDE project .ioc based (versionj 2.0.0). I cannot use X-CUBE-AI neither Cube AI Studio because the first one has been made deprecated and the second one has plenty of bugs. In Cube AI studio, when I try to generate a CubeMX template, I don't why the project is duplicated and gets cancelled when I try to modify the project with CubeMX. I've tried to ask for help for the last problem, but nobody has answered for a solution.I don't know how to integrate my neural network C code for the first time in a STM32CubeIDE project .ioc based, because the documentation of ST edge AI core describes how to upgrade a model already integrated and generated with X-CUBE-AI, but everyone here says to not use X-CUBE-AI and I don't know what to do.I need to use the Neural ART Accelerator (so ll aton library is needed).I'm very dissatisfied for ST edg
Greetings, I am working with the STM32U585RI and a sensor that asserts an interrupt on the MISO line. I would like to know whether this setup is feasible, and if so, how best to implement it. One approach I have considered is to use a separate pin (LPGPIO) to monitor the interrupt condition and then trigger the SPI sequence. However, during ongoing SPI transactions, I would need to temporarily disable the interrupt feature and re‑enable it after each transaction. My question is, how can this be achieved using LPBAM? Is there a recommended way to configure LPBAM so that the interrupt handling and SPI transfers can coexist without conflict? Any suggestions or guidance would be greatly appreciated. Best regards, Rasool
Hi,Could you please provide more details about the Stop Detection Algorithm referenced in CDB-ID 200? The documentation we have contains very limited information about this feature.Specifically, we would like to understand:- What is the purpose of the Stop Detection Algorithm?- How does it work?- What are the configurable parameters and their recommended values?Thank you in advance for your support.
I am unable to successfully run zephyr samples/bluetooth/peripheral on nucleo_wb55rg. The software appears to enter a fault handler. The basic blinky project does work (samples/basic/blinky) Wireless stack stm32wb5x_BLE_HCILayer_fw.bin v1.24 is programmed and running (see attachments) I have also tried v1.23 without success. Is there a known good combination of software and hardware for stm32 BLE and zephyr?
I use DTM project,download to my board,but it is not running.I use my project it can running normal.How to solve it ,thanks
Hello, We want to use the STMH723ZG with the Motor Control SDK. To do this I cannot find the .json file support for the board in the motor control workbench. Could I use another .json file from one of the fully-supported boards like the H745? Also, we are using custom power electronics + motor setup so to my knowledge our board has sensors it outputs to the stm + it takes a pwm 3-phase input from the stm to spin the motors. What all info do I need and what process do I follow to get a project built for this setup with the motor control SDK.
hiii,Do you plan to support BLE TMAP on this module?
Вітаю. Створив DC-DC перетворювач на мікроконтролері G4 серії. У я кості регулятора використовую апаратний FMAC, current mode. Моє питання стосується перерегулювання рівня вихідної напруги при старті перетворювача. На борту маю апаратну кнопку вимкнення живлення, а саме фізичне від'єднання акумулятора від перетворювача, а також тактові перемикача для користувача, якими безпосередньо вмикається та вимикається процес перетворення, та налаштування користувачем деяких параметрів. М'який старт програмно не реалізовано. Ситуація наступна, перший пуск перетворювача після увімкнення кнопкою живлення проходить бех перерегулювання, що я можу підтвердити осцилограмами. А ось усі наступні пуски супроводжуються короткотривалим перерегулюванням рівня вихідної напруги. Будьласка, хто має бажання мені допомогти, відгукніться, за запитом надам усю необхідну інформацію. Осцилограми хочу скинути наступним постом.
I read UM3451 (STM32N6xx security guidance for SESIP level 3 certification) chapter 3.2.2 Secure installation and I wonder why aren't the FSBL signature public keys not written into OTP fuses? Only the 8 words (32 bytes) of hashes of all 8 public keys are written by the instructions.Chapter 2.1. Secure boot here in wiki explains that one of 8 active public key hashes in FSBL binary header is compared to the one in OTP and if they match, then "that" public key is trusted. But it doesn't explicitly say where does "that" public key come from.From UM3234 concept drawings (Figure 12-13.) I begin to understand that public key (in some changed form) is provided with the FSBL authentication extension header. So does it mean the MCU does not know the public key and it trusts the provided public key based on the hash table match only?Am I missing something here, but it appears to me that uniqueness of public keys have been heavily reduced. Since each public key hash is individuall
Hello,Is it possible to power this board with an external 3.3 volt supply while still having the st-link active for debugging purposes? If not, how else can I debug my firmware? I've looked through the UM2592 for the dev board, but can't seem to nail down my answer. Any advice is appreciated. Thank you.
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.