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
I have a NUCLEO-071RB development board.Is there a ready to run example for this board somewhere?I tried to generate a bare bone example with CubeMX.The code loads and runs but hangs in here:MX_ThreadX_Init => tx_kernel_enter => tx_initiali ze_kernel_enter =>tx_application_defineThe code enters infinite loop here, with the status==255memory_ptr = (VOID *)&ux_device_app_byte_pool;status = MX_USBX_Device_Init(memory_ptr);if (status != UX_SUCCESS){/* USER CODE BEGIN MX_USBX_Device_Init_Error */while(1){}/* USER CODE END MX_USBX_Device_Init_Error */}I can of course debug that further but rather than going down that rabbit hole the first thing with this processors I would be prefer and example code that compiles, loads, runs, initialises and enumerates correctly as HID as a starting point.
Hello There i am using https://github.com/STMicroelectronics/STM32CubeWL/tree/main/Projects/NUCLEO-WL55JC/Applications/LoRaWAN/LoRaWAN_End_Node_FreeRTOS this example ,in that there is timer used for sent the data , i want RTC for send data for particular time and all how can i do ???
Hi Community,I am facing an issue with my custom bootloader not jumping to my main application after firmware upgrade. However, i am able to jump to application during a normal power cycle. The firmware transfer is done through USB CDC using a serial utility.exe and the data is stored in bank 2 of the flash. After this my application sets a value(flag) to a memory location for my bootloader to know firmware copy to be done. My application now jumps to bootloader to do the copy of firmware, clear the flag and jump to updated application. I am sending a response to serial utility before jump. I notice that sometimes the usb state is not ready and it doesn't send the response. But sometimes it is ready and send response, but bootloader sometimes fail to jump to application properly. Please help me out. Thankswhile (1) { /* USER CODE END WHILE */ /* USER CODE BEGIN 3 */ USBPoll(); if(upgradeStatusFlag == FLAG_SET) { if(copyFirmwareToAppAddress()!= SUCCESS) { Error_Handl
Hi,at this moment I have two projects (BootLoader and Application), but I have some shared files.What is the best solution to share those files? Is it possible to create an 'empty' project, with only those shared files, and make the two projects depending on it?Or is it possible to add a directory, which can be handled by both projects?Thanks in advance.Greetings,ErX
Hello ST Community,I am currently working on my Final Year Project (PFE) and would appreciate your guidance regarding hardware and system design choices.Project Context (PFE)Objective:Develop a portable Edge AI–based system to detect worker fatigue in an industrial maintenance environment.Planned Technical Stack:STM32MP1 (Cortex-A7 + Cortex-M4)OpenSTLinux / YoctoTensorFlow LitePhysiological sensors: ECG / PPG, IMU, skin temperatureSpecific Questions1. STM32MP1 Board SelectionBetween STM32MP157F-DK2 (~120€) and STM32MP157A-DK1 (~90€), which board would you recommend for this application?Is the price difference justified for the F-DK2 in the context of a student project?Do you have any feedback regarding the stability and reliability of the onboard Wi-Fi/BLE?2. ST-Recommended SensorsAre there STMicroelectronics sensors compatible with the following needs?Heart rate sensor (PPG – ST equivalent to MAX30102?)6-axis IMU (accelerometer + gyroscope)Accurate skin temperature sensorAvailability
I like my digits to be monospaced so they don't dance, but I want letters to be proportional. I want to use 1 font for this. There are fonts that support this. These are called tabular fonts. They have monospaced digits and support figure space (0x2007) for alignment.There are fonts that support this that are also available in TouchGFX Designer:Segoe UIcalibriTahomaThis works. I wrote some code that replaces leading spaces before digits with digit spaces if the font supports it. This works really well and numbers no longer dance. Alternatively you can right-align a text field. But then you cannot have any text before it or you have to split the text in parts (so printf is not possible anymore and you might as well use two different fonts).Another way is to modify a font (make digits same width and remove kerning for digits, and add figure space). I've done this, but this is a lot of work. And this is not allowed for many fonts (our customer allowed us to do this).There are other fonts
Moved from this post . Hi @mƎALLEm ,Is VREFINT and VREFBUF output same?In documents I have seen VREFBUF can be set as 2.048, 2.5, 2.9, is that same VREFINT?
Hi,I’m using the STM32G491RET6 MCU and currently working on the ADC.I have three analog inputs:Two connected to ADC1One connected to ADC2At the moment, the ADCs are configured to use an external VREF+.I would like to switch to the internal reference instead:How do I configure the ADC to use the internal reference?How do I enable and configure VREFBUF?Does changing the VREFBUF voltage scaling affect the VREFINT value used by the ADC?If I use the internal reference, can the external VREF+ pin be left unconnected or removed?Any guidance or example configuration would be appreciated.
If this is configured incorrectly, will it trigger overcurrent protection?
Hello!i'm developing a firmware that use an SD card connected to USBX MSC, and i have a couple of question i want to understand better the ULONG *media_status value returned in the function :UINT USBD_STORAGE_Status(VOID *storage_instance, ULONG lun, ULONG media_id,ULONG *media_status) UINT USBD_STORAGE_Flush(VOID *storage_instance, ULONG lun, ULONG number_blocks, ULONG lba, ULONG *media_status) UINT USBD_STORAGE_Write(VOID *storage_instance, ULONG lun, UCHAR *data_pointer, ULONG number_blocks, ULONG lba, ULONG *media_status) UINT USBD_STORAGE_Read(VOID *storage_instance, ULONG lun, UCHAR *data_pointer, ULONG number_blocks, ULONG lba, ULONG *media_status) i'm hoping that value is related to the SCSI code value that windows need from a USB MSCis it true? beyond UX_SUCCESS which value can i use? for example to indicate the media as changed or is readonly?how can the functions ULONG USBD_STORAGE_GetMediaLastLba(VOID) and ULONG USBD_STORAGE_GetMedi
Eclipse and hence CubeIDE has this problem described here (and in the title):https://github.com/eclipse-platform/eclipse.platform/issues/2244#issuecomment-3533012572For Eclipse there is a patched version out there.Is there a timetable to get this fix out for CubeMX?Or instructions how patch CubeMX?
Hi Team,i am working in the daisy chaining bmscctx and bmscc using a Pi MCU. I was able to get the values using only bmscctx.now i am having issue when i connect the bmscc also.the problem i find is in the user manual3185, the figure for daisy chain is given as:and it says to connect ISO Hp to ISO Lm of the next node (that is opposite polarity).but when i looked in the L9963E datasheet, it is given as :Here ISO HP is connected to ISO LP (that is same polarity)so my doutb is which among the above should i follow. And due to this i think my values after daisy chain is not displayed.My second node is not assigning as my daisy chain is not configured correctly.( i am using mcu as pi btw)Thank You.
Hi all, I'm trying to get some knowledge about the use of OEMiRoT using the NUCLEO-H563ZI board following the ST Tutorial How to start with OEMiRoT on STM32H573 and 563–Arm® TrustZone® enabled - stm32mcu. Once the certificate chain has been created, I'm facing some problems with the Debug Authentication procedure: indeed, after setting the root key and root certificate in the Debug Authentication page of STM32CubeProgrammer, and selecting "Level 3 Intrusive Debug" as stated in section 3.2.1 of the tutorial, I receive both a "Debug Authentication Success" and a "Error: ST-LINK error (DEV_CONNECT_ERR)"; after this, I'm not able to read any of the data stored in the chip flash, neither with STM32CubeProgrammer or STM32CubeIde.This problem adds to those already mentioned in topic STM32H563: CubeProgrammer UART connect fails in PRODUCT_STATE = iROTProvisionedAm I missing something? All other levels of authentication, either secure or non-secure, are returning me the same error wit
I am using a Nucelo-429zi board for development and my custom PCB schematic is based on this board. I am experiencing a problem where about 10% - 20% of the time after a hardware reset the PHY will fail auto-negotiation. The green led does not come on and the amber led blinks. This happens even when on the debugger and the MCU is not allowed to run. I only have one Nucleo board so I cannot try another to see if the problem is unique to this board.Is this a known problem? seen before?What could it be? Possibly the clock circuit?
Hello, I have a pair of these boards on my hand, there is no information regarding WM-SG-SM-42_Shield_v1.0 board its jumpers pinout etc. Could you please provide a schematic or more detailed guide whats available? I've seen on early posts some got the reference design via mail. Could you please provide for me also? Thanks!
I am using STM32U575 (MCLK = 160 MHz) with ADC1 in scan mode (4 channels).ADC conversions are triggered by TIM3 TRGO and results are transferred by DMA in circular mode.Continuous conversion is disabled.TIM3 is configured to trigger ADC every 100 us (10 samples per ms).ADC results are copied to a snapshot buffer in HAL_ADC_ConvCpltCallback().In the application task, ADC values are read from this snapshot buffer every 100 us.However, I observe repeated ADC values (e.g. A, A, B, B…) instead of updated data at each 100 us read.Reducing the application read rate decreases the number of repeated samples. Is this behavior expected when using ADC scan mode + DMA circular?What is the recommended way to ensure ADC data is updated strictly at 100 us intervals(1 ms / 10 samples) without repeated values?Should ADC data be processed only in the DMA transfer complete callback,or is there a better synchronization method? Related code: //task for (uint8_t i = 0; i < POINTS_PER_MS
Do you consider this as aDo you consider this a crack?
Hi there,I'm attempting to use an STM32 U5 device to interface with another device over SPI, and am trying to do it using 48 bit SPI frames supported by this device.An illustration of what I'm trying to accomplish is below, the key is to be able to transmit and receive 48 bits of SPI data, and then cycle the CS (aka NSS) line between frames. I've successfully accomplished this by putting the SPI driver into 16 bit mode, and using the HAL to send 3 16 bit frames at a time, but this is proving to be pretty slow in terms of how fast the U5 can execute the 10 or so frames required. I do know the content of all the MOSI data at compile time, so I was wondering if there's a good way to use DMA (possibly with the linked list setup) to do this and move some of the load off the CPU, but so far I can't find a solution that allows the transmission of the 10 48-bit frames while also cycling the CS line between frames.Does anyone have any recommendations?
Hello all, I've come here for a issue I failed to debug. My setup is as follows: I have a NUCLEO-F767Z development board and im debugging/programming it through the onboard STLINKV2 with SWO enabled. I am simply just trying to get a USB device to enumerate. I have configured the USB_FS host to the drive VBUS through pin PG6 where the USB power switcher is on the nucleo. My clock configuration is shown in the attached image. When plugging in a USB mouse (that works on my PC) through a USB A Female to USB Micro Male adapter, the SWV console prints forever: USB Device Connected USB Device Reset Completed ERROR: Control error: Device not responding USB Device Connected USB Device disconnected USB Device Connected USB Device disconnected USB Device Connected USB Device disconnected USB Device Connected USB Device disconnected USB Device Connected USB Device disconnected USB Device Connected USB Device disconnected USB Device Connected USB Device disconnected USB Device Connected USB D
@Didier HERROUIN We currently use the WLC38, but wish to use the WLC89. Our sales rep already provided us with the full datasheet and schematic. He also has samples of the STWLC89 on order for us. However, there are no more evaluation kits available.We have the firmware for the WLC38, but there is nothing in the repository for the WLC89.We can probably figure out most things from the datasheet (includes reference schematic with BOM) as we have developed with the WLC38, but it would be a lot less effort with some reference information.Can any of the following for the STEVAL-WLC89TRX kit (rev 2.5) be provided?eval board reference design files gerber filesC-code, headers/firmwareThank you!
Problem description:We are seeing a hard I2C bus lockup involving an ISM330 IMU and an IIS2MDC magnetometer on the same bus. The failure mode is that SDA is driven low permanently, and the bus cannot be recovered by standard I2C recovery procedures (9–20 SCL pulses with SDA released). This occurs both immediately after MCU firmware is flashed and during nominal runtime, seemingly at random. Once the condition occurs, a full MCU reset does not recover the bus. On a bench setup we confirmed by probing that SDA is physically held low. Hardware configuration:MCU: STM32 acting as I2C masterDevices on bus:ISM330 (IMU)IIS2MDC (magnetometer)These are the only slaves on the bus.Standard I2C pull-ups are used, with no level shifting. I've done additional testing to try to find the problematic device by removing devices and reconfiguring connections (auxiliary I2C), see results below. Observed behavior by configuration:ISM330 only on I2C: no issuesISM330 and IIS2MDC
Hello all,I am planning to purchase the EVLSERVO1 to control an industrial three-phase PMSM servo motor (rated 220V AC) for a hobby project. I will be running it at a lower voltage and accept the speed loss.The motor has a 17-bit absolute encoder using RS485 physical layer (protocol is currently unknown, likely proprietary, which I plan to reverse engineer).The EVLSERVO1 manual states: "The 120 Ohm termination resistors R84/R85 must be removed if termination is embedded at encoder side." My encoder has a built-in 100 Ohm termination resistor.While I understand the manual's instruction to prevent double termination, I would prefer not to modify a new board if possible.If I leave the resistors on the board, the parallel combination results in a ~54.5 Ohm load. Given that I plan to use a short cable (< 1 meter), is the EVLSERVO1's transceiver robust enough to drive this lower impedance without signal collapse? Or is the "must remove" warning critical because the board uses 3.3V logic a
Doing the set up in MXI have four ADC channels on APB2 with PCLK2 at 84 MHz sampling 4 microphones.The recommended audio sampling rate stretch from 44.1 kHz up to 96 kHz, so initially I'm happy anywhere in that range for now. I have set the clock pre-scaler to divide PCLK2 / 4 so the ADC clock is at 21 MHzI have 12 bit resolution which takes 15 ADC cycles but then in the "rank" section of the parameter settings there is a pull down for sampling time for each channel. I'm guessing that the value I pass in the "rank" section is what I would use to get the final sampling rate.e.g. if I chose 84 cycles for each channel then I would have a sample rate of 250 kHz per channel giving a sample rate for all conversions of 62.5 kHz?Or do I add the sample time to the resolution time e.g. 84+15 giving a sample rate of ~212 kHz per channel?
I am using a UX_Device_Audio2.0-based project on H7. When I play a stereo file (actually dual mono), the right channel plays correctly, but the left channel contains a mix of left + right.When I play mono file, the right channel is much louder while the left is extremely quiet.Could this be a codec configuration issue (mixer/settings), a USB audio packet scheduling problem, or something else? I can't seem to find a fix yet.
I am trying to complete one – just one – ADC conversion without using DMA. This is sort of a one-off sampling after power-on, and subsquently the regular sequence conversion with DMA is to take over. But I don't get that far.I'm trying to sample ADC1 channel 15, but never get a high EOC flag. To be absolutely certain about how the ADC is set up, I've read these register values via STM32CubeProgrammer:ADC1_CFGR = 0x80000000In short: Injected queue disabled; contiuous and discontinuous modes off; hardware trigger disabled; DMA disabled.ADC1_CFGR2 = 0In short: BULB disabled; gain compensation disabled; oversampling disabled.ADC1_SMPR2 = 0x0003E000In short: Channel 15 sampling time 640.5 clock cycles; channel 14 sampling time 247.5 clock cycles.ADC1_SQR1 = 0x081C23C0In short: First conversion channel is 15. Number of conversions is 1. All other bits should be irrelevant.ADC1_CR = 0x10000005In short: ADC voltage regulator is enabled; ADC is enabled: ADC is converting (apparently)ADC1_ISR =
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.