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
Good morning, I need to connect two h7a3zi-q board via uart (only one way required), but by only connecting tx1->rx2 the programs run but I get empty strings, and by also connecting the grounds of the two boards the tx program gives HardFault. I'm sure of the content of the msgs as I also send via uart3 to my pc and I have no problems. Any tips? Thx
Hello,while configuring the CSI interface for camera , on its enablement in the STM32CubeMX why I can’t see the GPIOs corresponding to it in the flip section? does it has any dependency on any other peripheral?or clock setting?under the configuration it says warning: this peripheral has no parameters to be configured.Unlike in any other peripheral like I2C or SPI where I can see the corresponding GPIO i am checking this on STM32N657X0HxQ .regards,
Using an STM32H7Rx or Sx, using I2C2 clocked by PLL3R at 10 MHz:If you set the I2C speed to 10 kHz with analog filter disabled, you get a timing value of 0x1010F1FF, with SCLH and SCLL values of 241 and 255. This seems reasonable.However, if you enable the analog filter, you get 0x400007BE. This does produce the correct frequency - but the SCLH and SCLL values are 7 and 190, which do not appear to be sensible.Is this a bug?(I've sent an IOC file to @Souhaib MAZHOUD ; you'll need to edit the I2C2 settings to see this happen.)
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. Please read this post: How to insert source code. Hi, I’m now trying to port the STEVAL-STWINBX1 firmware to my custom hardware whose MCU is STM32U575VGT6. I started by porting the data logging application: fp-sns-datalog2\STM32CubeFunctionPack_DATALOG2_V3.1.0\Projects\STM32U585AI-STWIN.box\Applications\DATALOG2During execution the following code gets stuck,and eventually returns HAL_ERROR. /* Wait for calibration completion */ while (LL_ADC_IsCalibrationOnGoing(hadc->Instance) != 0UL) { wait_loop_index++; if (wait_loop_index >= ADC_CALIBRATION_TIMEOUT) { /* Update ADC state machine to error */ ADC_STATE_CLR_SET(hadc->State, HAL_ADC_STATE_BUSY_INTERNAL, HAL_ADC_STATE_ERROR_INTERNAL); __HAL_UNLOCK(hadc); return HAL_ERROR; } I’ve verified that the hardware is fine with my own test program (DAC generates a sine wave, ADC sampl
Hello ST Community,I am currently working on a ZigBee communication project using the STM32WB55RG microcontroller. My goal is to establish ZigBee communication between the STM32WB55 (running ST ZigBee stack) and an external Digi ZigBee module (for example, ZigBee Series 3 ).Before proceeding, I would like to confirm the following points:Feasibility:Is it possible for the STM32WB55 ZigBee stack (ZigBee 3.0 based) to communicate directly with a Digi ZigBee module over-the-air, assuming both are configured on the same ZigBee channel, PAN ID, and security settings?Technical References:Are there any application notes or examples that describe interoperability between STM32WB ZigBee and third-party ZigBee devices (such as ZigBee )?What ZigBee profiles or device roles (Coordinator / Router / End Device) should be configured for best compatibility?Roadmap / Implementation Plan:My current plan is:Use STM32WB55 as a ZigBee Coordinator or Router (using ST ZigBee stack ).Use the Digi ZigBee module
The login via HELP->STM32Cube Updates->Connection to myST does not seem to be working properly. Trying to login I first get a small splash window with a button which I can press which opens a webview(?) which sometimes displays an "Accept Cookie" dialogue. That seems to go away by itself, but I am unfortunately unable to enter anything into the username and password fields, they are unresponsive.I'm using Wayland on Linux, but my colleague running on MacOS is experiencing the same issue.Browsing through the forum, the advice I find seems to be "try again tomorrow, there seem to be issues on ST's side of things". Is there currently maintenance going on? Is the CubeIDE backend particularly slow at the moment, or is this how things always work with Cube?
Split from "Range [0,-1) out of bounds for length 48" trying to open Debug Configuration - this is a new question.Hi,When I am testing the STM32N6570-DK_GettingStarted_ObjectDetection I have faced the same "Range [0,-1) out of bounds for length 48", that issue was solved after that I'm getting below issue as going to Hard_fault handler in from app_postprocessing.
Hello Everybody,Here are the software and boards in this case:1. MC workbench 6.4.12. STM32 FW V1.28.2I’m running the code generated by ST MCSDK and noticed that the waveforms on the microcontroller’s U-phase and V-phase channels (see pins Ch. U and Ch. V in picture 2) are not center-aligned—there is a slight offset (see picture 1: the center of the blue waveform is shifted a little to the left relative to the yellow one). How can I fix this? I suspect this mismatch is causing noticeable acoustic noise while the motor is running.How can I fix the problem? Thank you!
Hi, I am using ADC1 on stm32H563ZI nucleo board with trustzone enabled, I am not getting proper adc values (getting adc count of 822). When trust zone is disabled I am getting proper value of around 4095 with input of 3.3Volt .I am attaching the project.Please help with this issue.
Hello,I developing a board with ST25R3911B and STM32F103RFT6. Im trying to read Chip ID, but it always reads 255. On the scope i can see CS pin driven low, clock and MOSI line outputing signals, but no response on the MISO line. The solder joints look ok. Im attaching schematics, board project, soldering under the microscope and scope traces. The communication works in loopback (when i physically short MISO and MOSI). SCKMOSICS for(;;) { HAL_GPIO_WritePin(SPI1_CS_GPIO_Port, SPI1_CS_Pin, GPIO_PIN_SET); HAL_GPIO_WritePin(SPI1_CS_GPIO_Port, SPI1_CS_Pin, GPIO_PIN_RESET); HAL_SPI_TransmitReceive(&hspi1, txData, rxData, 2, 1000); if (rxData[1] == 255) { HAL_GPIO_TogglePin(LED_STATUS1_GPIO_Port, LED_STATUS1_Pin); HAL_GPIO_TogglePin(LED_STATUS2_GPIO_Port, LED_STATUS2_Pin); } else { HAL_GPIO_TogglePin(LED_WARNING_GPIO_Port, LED_WARNING_Pin); HAL_GPIO_TogglePin(LED_ERROR_GPIO_Port, LED_ERROR_Pin); } HAL_GPIO_WritePin(SPI1_CS_GPIO_Port, SPI1_CS_Pin, GPI
Hello, I'm using an RC car BLDC motor with an EVLSERVO1 evaluation board and can't complete the Motor Profiler process. My application has a large mass on the motor, so I need the mechanical model to get better control loop parameters. I have manually measured the electrical model and have successfully done the following:Run the motor open loop in voltage modeRun the motor open loop in current modeManually determined a start-up ramp profile in open loopStarted up with speed control with my start-up ramp.Used the same MCSDK project with open loop disabled and motor profile enabled to generate a motor profile project with known good motor electrical model and start-up ramp.Despite this, I see no change in behavior during the motor profile process when compared to the default project. I have used the startup speed as my max speed, lower, and higher. I have changed the max current to the same as my start-up profile and to the max the board can handle. No luck.
Hi,I'm going to use four different OpAmps in the STM32G474, namely OPAMP3, OPAMP4, OPAMP5, and OPAMP6.At this moment I try to initialize all four OpAmps. The first three work perfectly well, the initialization of OPAMP6 results in a problem. The State of OPAMP6 is HAL_OPAMP_STATE_CALIBBUSY. And, therefore result in an error.For the first three the State is '28', and initialize perfectly well.How can I fix this? What is causing this behavior?With kind regards,ErX
Hello ST Community team,On the DS11532: The title of the Figure 20 should be changed to avoid any confusion between figure 20 and figure 21.Also, the note under figure1 is not really clear since the STM32F767 TFBGA216 for example is not compatible pin to pin with the STM32F469 TFBGA216. So, I think the note should be clearer. It can even point to the application note AN4660 for details.Could you please have a look.Best Regards.II
Hi, I do not have a lot of experience with the STM32. I used other processors in the past like the LCP1768. We developed a custom bootloader to be able the load a new firmware into the uProcessor. In our current case, the STM32G474 is connected by USB to our PC software. Is it possible to give the processor a command to reboot in bootloader-mode. Because the boot-pin is already in use by the I2C-bus. Is this possible with the normal bootloader or do we need to develop our own bootloader to do this? Where can I find information to do this? Thanks in advance. With kind regards, ErX
Hi Pascal, Any updates on our previous thread? When testing the same firmware with the EN pin pulled up, we are facing some issues during operation. After about 5–6 operation cycles, the system stops working until the MCU is reset. The issue still persists — could you please suggest what board-level changes might be needed to resolve this? Additionally, we are facing another issue on the CubeMX side: USB PD works well separately,TouchGFX works fine separately. But in our application, we need both to run together. If I disable TouchGFX, USB PD starts working. However, when I try to enable both TouchGFX and USB PD in the IOC file, CubeMX shows an error saying only one can be used at a time. Could you please advise how we can resolve this? Thanks & Regards,Rajkumar edit: related thread Solved: USB PD Part selection - STMicroelectronics Community
Hi team.I am using STM32U575RIT6 how set the internal and external clock configuration , i have bit confusion can u gide me to resolve this .thnaks.
Hello,I designed a custom PCB using the STM32H745IIT6 (LQFP176) and I cannot connect to the MCU using SWD with an ST-LINK V2. I always get “Error in final launch sequence / No device found on target”. Hardware summary: VDD, VDDA, VREF+ → 3.3V VCAP1/2/3 → 2.2 µF VDDLDO → not connected BOOT0 → GND NRST → 10k pull-up + 100nF Board current consumption: 8.5 mA SWD wiring: SWCLK → PA14 SWDIO → PA13 NRST → NRST GND → GND 3.3V → board 3.3V rail (sense) SWO not connected 10k resistors on SWCLK/SWDIO were removed for testing. Observations: PA13 measures ~0.38–0.42 V when ST-LINK is not connected (floating) ST-LINK LED stays red (never turns green) CubeIDE: SWD, “Connect under reset”, 1000 kHz CubeMX power mode: PWR_DIRECT_SMPS_SUPPLY. Question: What could cause SWD to fail with this configuration?
Hi, I am creating a DynamicBitmapCreateExternal() for RGB565, but the image shows up faded. Is there any fix for this? I made sure to set cache for it. I also tried for L8 and it didn't show.
Hi, I need help on how to find out the date code for MJE350. Do I understand correctly that 00 is the year 2000, 27 is the week?Thx
Hi,I am trying to copy the screen from one Touch GFX designer project to another, but i am unable to do so.Is it really possible to do it, because creating the same screen which is already available in another project is tiresome work.Can you please suggest?ThanksNagaraj
Hello everyone, this is my first post on the forum. I'm starting to learn STM and have created a custom board using the STM32F405RGT6. This is the first board I've created, and I wanted to check for any errors before sending it to production. So I've uploaded a PDF of the connection diagram. I'd be very grateful if you could review it and let me know if there are any mistakes.
Hello,I'm looking to measure the power consumption of the STM32WL5MOC component on a B-WL5M-SUBG1 development board.I'm looking for the power consumption announced by the Sleep Mode datacheet (140nA - 810nA).I connected directly to JP2 to use only STM and I supply 3.6V and I measure the consumption with Otii software and an Otii Arc Pro.I measured a cosomation of 112uA, far from what I should have.Do you have a method for measuring sleep mode power consumption?Thanks for your help.
Hi team, Please provide the below thermal details for the following ICs M24M02-DWMN3TP/K 1.Resistance THETA JA,THETA JB,THETA JC ,Junction and Ambient temperature of device Thanks & RegardsJayakeerthana P
in default situation, you could not call c++ function in C file. So the main.c is not suitable file in C++ project. if user choose C++ project,the generated main.c ,stm32h7xx_it.c should sufixed with .cpp.
I'm using the STM32H562. I'm trying to start an ADC conversion using output compare on a specified channel during the middle of an up-down count of a timer.Timer used: TIM8 running at 250 MHz, generating a 20 kHz periodChannel: 4Timing: At the peak of the up-down countPeripheral configuration:In TIM8_CCMR2, OC3M is set to 0001 to activate the signal when the counter matches the compare value.In TIM8_CR2, both MMS and MMS2 are set to 0111 to use Channel 4 as the trigger output.For ADC1 and ADC2, the trigger source is set to TIM8 TRG2.Although TIM8 has been started, the HAL status of the ADC conversion remains at 0xFF.I would like to know if there is any configuration I might have overlooked, or if there is a way to detect the start of ADC conversion for debugging purposes, such as using an interrupt. Here are the initialization procedures for TIM and ADC:/** * @brief TIM8 Initialization Function * @PAram None * @retval None */ static void MX_TIM8_Init(void) { /* USER CODE BEG
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.