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
There is no USBX or other middleware in my cubemx2, but the connection introduction indicates that it is available. How to access middleware & utilities - STM32CubeMX2 1.0.0 documentation
I am looking for the documents of below.How to look top marking of M24M02-DRMN6TP.How to look the label and Tape & Reel specification.
Several links on page about CRA are broken:https://wiki.st.com/stm32mcu/wiki/Security:Q%26A_for_CRA https://wiki.st.com/stm32mcu/wiki/Security:Deep_dive_on_CRAFor this item, and in addition to solutions explained in (e), ST proposes several solutions of Secure storage.
Hi ,Recently I got a NUCLEO-C051C8 board and tried to connect it to windows and program it using STm32CubeIDE but it does not show that st-link is connected , ST-link on board blinks RED continuously. Cant install it ( installation goes through , but cant see it in device manager ) using stsw-link009( https://www.st.com/en/development-tools/stsw-link009.html?dl=redirect ) Cant connect using STM32CubeProgrammer. Tried 2 USb cables , various ports of pc but in vain. Can someone please help ?
Hi For some of my project, I need to measure the power consumption of the STM32N6570-DK while running a model on the CPU only versus an NPU + CPU accelerated workload. I am following the guide 1. How to measure power on the STM32N6 - STMicroelectronics Community 2. STMicroelectronics/x-cube-n6-ai-power-measurement: An AI software application package implementing low-power optimizations and enabling power measurement on STM32N6 DK board. Based on these documents, I plan to measure the current via CN2 pins 3 and 4 while powering the board through CN6 (USB-C). My Question:Does measuring current at this point (CN2 pins 3 & 4) isolate the consumption of the NPU and CPU (VDDCore)? Specifically, I want to know if this measurement will include the power draw from the camera module and LCD display if they are active in the same project. Any guidance on isolating th
안녕하세요 STM32N6570-DK의 사용하기 위한 cubemx 설정이 필요합니다. 카메라, lcd, sd카드, usb, eth 등 기능을 다 살린 cubemx 설정 또는 ioc 파일을 받고 싶습니다. 확인 부탁 드립니다. Hello, I need a cubemx setting for use of STM32N6570-DK. I would like to receive a cubemx setting or an ioc file that utilizes all the functions such as camera, lcd, sd card, usb, eth, etc. Please check it.
Hello all,I've been using this U5 chip for a couple of years but I am just now trying to update all of the packages to start working on the project again. I have the U5 firmware at 1.8.0, AZRTOS-H7 at 3.5.0 (I'll explain why I mention that), FileX is 6.4.0 and the CubeIDE is 2.0.0.When I started this project, I was using an H7 chip and that is where the Azure implementation started. Now things seem integrated and those choices in the software packs selection in CubeMX don't seem to matter...I assume. The H7 package is the one still loaded to my hard drive. I've tried creating a new project and setting everything up again but nothing has changed from my original project. I tried to apply some U5 patch with version 2.2.0 or something like that. MX took it and made it disappear into the void. Again, maybe I don't need to care about manual package setup anymore.ThreadOS works great and everything has been working great for me. I added USBX, F
Hello i use STM32G070CBT6 with PD0 and others pins.PD0 as input pin with no internal pull-up/down with extrenal 10k pullup gives only 0.7V, when i set the pin to output and set state to high there is 3.3V.Where is the problem?
Dear ST Community,I am currently migrating my Firmware from STM32H723VG to STM32H563VI. I have problem with Internal Temp Sensor. Based on Reference Manual on both MCU reading temperature is the same, but it doesn't work as it should.When on STM32H7 I got about 750 (24 degree Celsius) on reading ADC from TEMP Sens, on STM32H5 I have around 100.I tried both with and without cache (ICache and DCache), with Bare Metal and Zephyr RTOS code. In every configuration it is not working. I tried also on different MCUs, so it shouldn't be part itself.It worked with Nucleo H563ZI, but doesn't with H563VI.What else can I do?
According to Page 1354 of rm0394, setting LDMA_TX bit must occur only when SPE=0.However, from my reading of the function HAL_SPI_Transmit_DMA, this bit may be set or cleared when the DataSize <= 8bit and MemDataAlignment == HALFWORD, even if SPE=1.This looks like a bug.Am I correct?STM32Cube MCU Package for STM32F4 STM32L4, version 1.28.3
Hi,among probably many other registers, the ITM registers like TCR and Stimulus Port Registers described in the ITM programmers model in ARM Cortex-M7 Processor TRM are missing. Which means I either have to adapt the svd file or go to memory view and translate and modify the registers manually. Is this on purpose and or are there plans to fix this? If you have a repository somewhere I can maybe fix that on my own and start PR.Ty in advance
I am setting up my STM32F303RET6 for four differential inputs to be sampled simultaneously. As seen in the screenshot attached. there is no option for differential inputs on CubeMX. Am I missing something here? I have reset whole project to ensure no pins are assigned elsewhere.
Hi I have a USB-C Connector that will be used for Power Delivery Sink for charging and USB Full Speed Mode(12Mbps) for communicating with onboard STM32F767ZIT6. But only one thing will happen at a time. As seen in the attached schematics, I have used STUSB4500 as PD Sink controller. I will communicate with it via I2C using STM32. I understand that this STUSB4500 will negotiate 20V(60W which i want for charging) with the source(which in this case is AC-DC Wall adapter) in Power Delivery Mode. But my question is during USB Full Speed Mode Communication with STM32, when that USB-C Receptable is connected to a PC instead of Wall Adapter. As during charging mode, USB_VBus is 20V and in Full Speed mode, it is 5V and my STM32 is Self-Powered and VBus sensing is mandatory. But due to USB VBus varying between 5V and 20V, I cant connect it to for example PA9 VBus sensing pin of STM32 using a voltage divider. So, i was thinking maybe there is another option to sense
Hello Everyone,I’m still getting up to speed with the STM32N6 series, so apologies if my question seems off, but I’d really appreciate your help!I’m working on implementing object tracking using the STM32N6570-DK board with the MB1854B camera. I'm wondering if it’s possible to deploy OpenCV on this platform to support the tracking logic.If anyone has experience with this or knows of any courses, guides, or resources that could help me deploy OpenCV (or similar tracking frameworks) to the board, I’d be incredibly grateful.Also, if you have relevant experience and are open to offering support or consultancy, I’m more than happy to discuss compensation. Please feel free to reach out!Thanks in advance for your time and help!
Dear ST,I am searching for LTE module , basic data transfer is to send 2Kb of data using mqtt and perform http opeartion. I have got to know about ST87M01 LTE module, for getting started i got the evaluation board EVKITST87M01-2 i have few doubts before getting it 1) Can i use Vi, Jio or Airtel sim card with it.2) In some series it is showing esim, so does it have built-in esim or need to add it in design externally.3) can i interface ST4SI2M0020TPIFW esim with it.4) If i done with prototype with it, can i get the design and component availability for large.5) Documents for gettign started with ST87M01 and ST4SI2M0020TPIFW esim. Regards,Shubham
Hello,I want to change for boot to use XSPI1 interface, but I am not sure about OTP bits, there in description some bits is not very clear, what OTP bits to set to switch if it's possible ?Additionally if I will use SD card for boot I can set OTP11 value to 0x00000020 (bit5 = 1 = sdcard), write FW to sd and use sd for boot source ?Thanks.
Hello, I tried to program a MSD on an STM32C071. My computer "sees" the USB device but didn't recognized it as a storage device. I use the NUCLEO-C071 and have setup the following: RCC:High Speed Clock(HSE): Crystal/Ceramic Resonator Clock Configuration:Input frequency: 8HCLK: 48ToUSB(Mhz) HSIUSB48: 48 CubeMX USB:Mode: Device_Only,USB interrupt enabled CubeMX USBX:UXDevice memory pool size: 1024*5USBX Device Generate Core Init code: yesUSBX Device System Stack Size: 1024*5 In CubeIDE:main.c: /* USER CODE BEGIN 2 */ MX_USB_PCD_Init(); // Line 94 /* USER CODE END 2 */ /* USER CODE BEGIN USB_Init 2 */ HAL_PCDEx_PMAConfig(&hpcd_USB_DRD_FS, 0x00 , PCD_SNG_BUF, 0x20); // Line 180 HAL_PCDEx_PMAConfig(&hpcd_USB_DRD_FS, 0x80 , PCD_SNG_BUF, 0x60); HAL_PCDEx_PMAConfig(&hpcd_USB_DRD_FS, 0x81 , PCD_SNG_BUF, 0xA0); ux_dcd_stm32_initialize((ULONG)NULL, (ULONG)&hpcd_USB_DRD_FS); HAL_PCD_Start(&hpcd_USB_DRD_FS); /* USER CODE END USB_Init 2 */ In ux_device_msc.c /* USER CODE BEGIN P
Hello all,I am developing a vibration measurement device using LSM6DS3TR-C. Most of the time the data were in good shape (99%). However, I noticed some spike in my vibration intensity reading randomly. After checking the raw data I saw some step change at the same time point, indicating the data reading of the three axis are confounding.My configuration only requires the accelometer readings to be cached in FIFO:1. enable block update 2. set fifo accelometer decimation register to 1 (no decimation) 3. set fifo accelometer data rate to 3333Hz 4. set accelometer data rate to 3333Hz, bandwidth 1.5khz, LPF_BW_SEL to 1 5. set FIFO mode to bypass, then set to FIFO mode (clear and restart FIFO) 6. polling FIFO_STATUS2(0x3B) register for FIFO_FULL_SMART. 7. I2C bulk read the FIFO for 682(sample count) * 3(axis) * 2(16bit-axes) = 4092 bytes from buffer 8. repeat from 5.To identify the issue, I changed step 7 to the following: For i-th reading 7.1 Read the FIFO patte
Say I am operating as master with CPOL=1. Because the NSS pin seems to lag the enable bit (SPE) slightly, my logic analyzer always barfs on the first SPI packet because the clock is in the wrong state.So, I set the GPIO to have a pullup on the clock in CubeMX and the problem goes away - as soon as the init functions run, the clock goes high and stays that way until the first SPI transmit. Also, the clock stays high after the end of the transfer if the SPI is disabled in the callback function.My only concern is for power consumption: It is obvious that the pullup gets applied when the SPI is disabled but I don't know is if the pullup applied all the time even when the alternate mode of the GPIO is set, i.e. is the pullup still applied at the pin when the SPI is enabled? Do clock pulses during an SPI transaction work against the pullup?
Hello,after updating MEMS Studio to version 2.3.1 I am experiencing an issue when working with FSM configurations.Previously everything was working correctly, but now I cannot reload FSM configurations saved as JSON files.Steps to reproduce the issue:Create a new FSM in MEMS Studio.Save the configuration as a JSON file.Try to reopen the same JSON file.The file loads without any error message, but the FSM editor remains empty and the FSM configuration is not shown.However, individual FSM examples included in MEMS Studio open correctly without any issues.This happens both with:JSON files generated previously with an older version of MEMS StudioJSON files generated directly from example FSM projects in the current versionSo the issue does not seem to be related to the JSON content itself.My setup:MEMS Studio version: 2.3.1Sensor: LSM6DSOXQuestions:Has the FSM JSON handling changed in MEMS Studio 2.3.1?Is there a specific way to reopen a saved FSM configuration JSON?Is this a known issue o
I'm working on a design with an STM32L072CZT6TR, where I want to calibrate my main timebase. That main timebase is TIM6, which counts 16,000. The HSE is 16MHz, so there's an interrupt evey 1ms. Calibration is done by counting the number of HSE cycles between two consecutive PPS pulses from a GPS receiver. The PPS triggers an EXTI interrupt, which starts TIM21 and TIM22 at 0 on the first pulse, and reads the timer values on the second.TIM21 is set to count 16,000 pulses and TIM22 is slaved to TIM21. This way, I can conveniently determine whether the HSE is slow (TIM22 == 999) or fast (TIM22 == 1000), and calculate a correction based on TIM21.This logic is copied straight from an older design with an STM8, where it works like a charm. However, the cascading does not work. No matter what, TIM22 is always 0 on the second PPS. I have used CubeMX to set the timers up, and, going over the code with the reference manual as my guide, I can see no errors. Being a hardware engineer
Hello everyone, I'm using a host (STM32F7) communication with ST67W611 BLE WIFI via SPI.So far, I can configure application P2P Client, T01 architecture, gen code and build pass.The issue what I'm facing is I can't init SPI communicaiton with ST67W611. so Could you help me answer some question to debug what issue is?1. I bought ST64W611, so Could I need to re-flash firmawre for this module?2. the W6X_Init(0 function init failed, I checked the pin SPI_RDY alreay has level low (= 0).so I hope if there is someone has worked with ST67W611 via SPI with a host STM32, please share me the experience? Thank you very much!
I'm using eFuse STEF05D, found 2 version of the datasheet below which show the different formulas:STEF05_en.DM00034383,pdf: R-Limit = 65/IshortSTEF05D.pdf: R-Limit = 42/IshortCan someone help clarify which formula is correct?
Hello,I’ve recently started using ST products and the IDE with CubeMX, which is why I’m asking for your help. I’ve just begun developing a communication system using a Nucleo H743ZI2; my goal is to set up a UART and a CAN bus.The UART is done; I used DMA access to optimize it. However, when I try to enable the CAN bus in Cube MX, I run into a problem with the clock configuration related to the bus.When I use the “Resolve Clock Issues” function, I get the error: “Cannot find a solution for some constraints.” Does anyone have any ideas to help me solve this problem? Thank you in advance, and have a great day,
Hi Guys,Based on some tutorials, I am trying to execute ADC module of STM8S105 and display the ADC result in 16x2 LCD display. The problem is : thousandth digit place is showing alphabetic character right from "A" when I increase voltage on ADC channel from 0. Please see my code as well as adc.h file. I am eagerly awaiting someone to suggest where I have made the mistake. #define LCD_RS GPIOD, GPIO_PIN_2 #define LCD_EN GPIOD, GPIO_PIN_3 #define LCD_DB4 GPIOD, GPIO_PIN_4 #define LCD_DB5 GPIOD, GPIO_PIN_5 #define LCD_DB6 GPIOD, GPIO_PIN_6 #define LCD_DB7 GPIOD, GPIO_PIN_7 #include "STM8S.h" #include "lcd.h" #include "adc1.h" main() { //Variable declarations unsigned int test_var ; char d4,d3,d2,d1; gpio_adc_init(); adc_init(); Lcd_Begin(); Lcd_Clear(); Lcd_Set_Cursor(1,1); Lcd_Print_String("STM8S103F3P3 LCD"); delay_ms(5000); Lcd_Clear(); Lcd_Set_Cursor(1,1); Lcd_Print_String("Circuit Digest"); Lcd_Set_Cursor(2,1); Lcd_Print_String("Test: "); while (1) { test_var
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.