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
Hi, I have been trying to deploy the 66GYMAI1 Camera on the STM32 N657X0Q Nucleo board with the Load and Run mode. However, there is a problem that I could not solve, which is that the project can not jump from FSBL to APPLI. Because I am trying to jump from FSBL to APPLI to print something by USART, but it doesn't work.I would be grateful if someone could check it.
Dear allI have built up the circuit of STEVAL-ISV019V1. I want to conserve power over one night in a supercap connected to VSTORE. With the 3V3 LDO enabled but no load present, the SPV1050 seems to draw about 7-8uA.Is it possible to bring it down to less than 1uA or do I need to disconnect the SPV1050?Kind regardsChristian
Hello. I got my hands on a wba55cg nucleo board and i'm currently studying about ble.I want to create a BLE Beacon that changes its adv_data whenever a user presses one of the button. From messing around using the p2p_server and beacon st examples, i implemented the following steps:1) Create a task that updates the adv_data and register it to the ble back ground sequencer. Added the following line in app_conf.h CFG_TASK_ADV_DATA_UPDATE, 2)Set my device as eddystone uuid. Again added the following line in app_conf.h #define CFG_BEACON_TYPE (CFG_EDDYSTONE_UID_BEACON_TYPE ) 3)On app_ble_init in app_ble.c registered a function to handle my task UTIL_SEQ_RegTask(1U << CFG_TASK_ADV_DATA_UPDATE, UTIL_SEQ_RFU,Ble_adv_data_update); 4) Implemented the adv_data_update_function inside app_ble.c static void Ble_adv_data_update(void) { const char str1[] = "ESS"; const char str2[] = "TODAY IS 11"; uint8_t adv_data[31]; uint8_t len =
I am using Nucleo L476RG for controlling BLDC motor. In the FOC control, i need to change the motor ID in the code. What is the procedure to change motor ID??
I am just curious about information in the flash. #ifndef DEVICE_VERSIONING_INFORMATION_H #define DEVICE_VERSIONING_INFORMATION_H typedef struct { uint32_t magic; // 0x46575652 = 'FWVR' uint8_t major; uint8_t minor; uint8_t patch; uint8_t build; } fw_version_t; __attribute__((used, section(".fw_version"))) const fw_version_t fw_version = { .magic = 0x46575652, .major = 1, .minor = 3, .patch = 2, .build = 7, }; #endif // DEVICE_VERSIONING_INFORMATION_H I wrote in the linked script file (.ld) some versioning information. I guess it is the best way to store the device versioning information because that way allows the swd to get directly from the flash the version, although, I can get it too by request and response by uart. However, why there is more data after the version information in the flash memory?Is this normal? Should the user defined constants in the flash be followed by other information?/* ******************************************************
Has anyone been able to get DAC2 Channel 1 on the NUCLEO-H7A3ZI-Q board to work at all? For anything? With DMA?
Hello Expert, Could you please provide guidance on the issue below? We are using the following setup:- MCU: STM32G0B1CCTx- Software: X-CUBE-TCPP 4.2.0 with USBPD Application 4.2.0 Dual Role- Board Part: TCPP0203 v1.2.3 We are developing a USB PD board.When we plug in an Android smartphone (USB Type-C port), the phone does not detect the connection.Attached is the log showing three plug-in/plug-out attempts.(we plug in and out 3 times)From the log, it appears that after attachment, the connection detaches immediately, then the roles switch, followed by another detachment.We have already tried increasing the CAD source/sink toggle time from 100 ms to 144 ms, but the issue persists.Could you advise on possible causes or solutions? Thanks. DEBUG 86569 0 -- BSP_USBPD_PWR_SetRole : SNK -- 96DEBUG 86609 0 -- BSP_USBPD_PWR_SetRole : SRC -- 97DEBUG 86653 0 -- BSP_USBPD_PWR_SetRole : SNK -- 98DEBUG 86693 0 -- BSP_USBPD_PWR_SetRole : SRC -- 99DEBUG 86705 0 -- BSP_USBPD_P
Hello All,We are developing 2 MCU (STM32U5 and STM32N6) based solution which has a Wi-Fi module. There is a need that should allow either STM32U5 or STM32N6 to communicate with ST67W611M1A6BTR Wi-Fi module at any given time. The FW is under our control, and we know that at any given time only one MCU will interact with Wi-Fi module. Do I need to use a multiplexer to decide which MCU to communicate or is it possible with the help of FW. Please suggest what needs to be done on schematic and FW. Regards,Sakshi
Hello,I created a custom board using the TCPP03-M20, based mostly on the NUCLEO H7S3 schematic.The only differences are:* My uC is using 1.8V, so the EN pin only gets 1.8V* VCC_VCONN is supplied with 5V instead of 3.3V* I use a single power path (using Schottky diodes according to the datasheet) When I measured the Vgs voltage supplied by the TCPP03 to the MOSFET, it is only 3V on my board compared to the 5V on the Nucleo board. According to the datasheet this voltage should always be between 4.5 and 5.5V, correct?Is there anything wrong with my schematic? I would like to get a Vgs of at least 4.5V, as the MOSFET I'm using is designed for that, not for 3V.
the STM32L431 can trigger per 0.102S by WDI, but WDO always have a reset signal, why ?
Hi everyone,I am working on a project with the NUCLEO-H7S3L8 and trying to read 2 ADCs simultaneously in Continuous Conversion mode using HPDMA.The Goal:ADC1 & ADC2: Reading 7 channels each (14 channels total).Mode: Continuous Conversion, Circular Mode.Transfer: HPDMA to SRAM (AHB SRAM).The Problem: I am receiving data, but the values are extremely unstable/fluctuating.When running a smaller example from a ST-Employee, values were stable (around 400).With the full 7-channel scan, the data fluctuates significantly, at a level where data should be wrong.Can someone take a look at it? They both use the same bootloader. I honestly cant see any issues with my custom config.Thanks in advance. This is also my linker if relevant:/* ****************************************************************************** ** ** @file : LinkerScript.ld ** ** @author : STM32CubeIDE ** ** Abstract : Linker script for STM32H7Sxx Device ** 128KBytes FLASH ** 456KBytes RAM ** ** Set heap size, sta
I have a new STM32N6570-DK MCU, I am running a simple program configuring ADC1 with the help of STMcubeIDE, selecting application mode, in secure mode, I have connected one sensor who is biased at 1.5V to A2 of MCU as well as ground of sensor and MCU are connected, code has been generated with some basic settings, It is not getting Debug properly, sometimes code is crashing before entering in main, sometimes board is not responding at all, before that I tried blink LED that worked Kindly tell me the proper steps to make this code run Is there any proper step to initialize the MCU when using for first time? Is application mode in secure version is okay for data extraction from analog sensors with the help of ADC I am attaching the related files, kindly reply
I have a working project in STM32CubeIDE v1.19 for my STM32WB55RG board. Pretty simple as it reads some sensor data, does an FFT and sends a couple results over Bluetooth. It is working well and I'm happy with the performance. I am on macos Tahoe and the highlighting of text in the editor is not working so I thought I'd upgrade to v2.0 to try to fix that problem.....what could possibly go wrong right?STM32CubeIDE v2.0 and standalone STM32CubeMX v6.16.1 install fine and I import the project into a new workspace and if I compile immediately after importing, it compiles fine....no errors. I open the existing .ioc file in CubeMX and everything seems to load fine. I make no changes and hit "Generate Code" just to make sure the new workflow is working properly. No changes made but it apparently overwrites the existing app_ble.c file as a compile after refreshing the work done by CubeMX yields the following errors (snippets of output shown for brevity):&nbs
hello:@mƎALLEm I'm currently working with the STM32U585 and ran into a problem abort CAN auto Retransmission.Context:There are three devices on the CAN bus: stm32u5, A and Bstm32u5 enable auto Retransmissionstm32u5 need to keep sending them messages, regardless of whether they are connected or notdevice A and device B have hardware message filtering, So if A or B receives a message that is not intended for it, no ack will be sent(Is this correct?) I want to know:If A is online and B is offline, how many times will the message sent to B be resentIf it will be resent many times or never stops, how do I delete the failed resend messages after tx fifo is full
Hello, We are using the RTC wakeup timer and I have noticed that sometimes the WUTIE and WUTE bits are not being set. We are using HAL_RTCEx_SetWakeUpTimer_IT() HAL function to enable the timer. In stepping through the HAL code, it sets the RTC_CR_WUTIE and RTC_CR_WUTE bits but does not check they are actually set, so I assume it is expected to set the bits. I have read through the reference manual (RM0456) and existing errata. There is no existing errata w.r.t the RTC unit that applies to this situation. Any insight would be appreciated. Thanks, Aidan
Is there an official docker image for stm32cubeide - we are building our firmware in an azure devops pipeline, and downloading the latest stm32cubeide deb package and installing it is time-consuming for the build. Looking on docker hub there are a number of stm32cubeide images, but none seem to be official from ST?(we have the headless build command working etc)
I am using LPTIM for pulse counting in ultra low power (stop 2) mode for STM32wl55jc. Now, the problem is on the pin if I connect any pull up/ pull down with 10k-50k range, it draws significant amount of current. Can anyone please suggest a circuit to use for the pin input such that power consumption stays minimal in stop 2 mode? Should I use pull up with higher values? What about EMI/EMC issues?
Hi experts:I'm working on STM32U575 evk, using ADC1 including two channels enabe interrupt, attached file is my test project, only one interrupt in the callback function, I don't know why, if I changed the end of conversion selection to end of sequence of conversion, no interrupt triggered, please help to check if anything missing in my project, thanks.Bill
My goal is to use the STM32_Programmer_CLI.exe from an application, but, for the moment, I just write down command lines in the Command Prompt (cmd.exe).However, the commands of writting the flash ( -w yourbinfile.bin )and erasing it completely (-e all) does not return any kinf of results. I just delivers a "STM32CubeProgrammer v2.21.0" response. Why?
Hi,I'm probably doing wrong as a newbie in STM32 programmation:I try to generate this configuration code for dma but I can't see any dma.c file in the project folder.(I did refresh the project after generating the code)Thanks for help
Hello,converting a runnig project from IDE to VisualStudioCode, I have a strange problem:all global variables are not initialized...example:uint32_t TestTemp1=0x1234;When running after the main(), if i check the TestTemp1 value I don't found the expected value (0x1234), but a random value.... After checking I Found that the problem was in linker file:This NOT INITIALIZE !/* Specify the memory areas */ MEMORY { FLASH (rx) : ORIGIN = 0x08000000, LENGTH = 2048K DTCMRAM (xrw) : ORIGIN = 0x20000000, LENGTH = 128K RAM_D1 (xrw) : ORIGIN = 0x24000000, LENGTH = 512K RAM_D2 (xrw) : ORIGIN = 0x30000000, LENGTH = 288K RAM_D3 (xrw) : ORIGIN = 0x38000000, LENGTH = 64K ITCMRAM (xrw) : ORIGIN = 0x00000000, LENGTH = 64K } /* Initialized data sections goes into RAM, load LMA copy after code */ .data : { . = ALIGN(4); _sdata = .; /* create a global symbol at data start */ *(.data) /* .data sections */ *(.data*) /* .data* sections */ *(.RamFunc) /* .RamFunc sections */ *(.RamFunc*) /
I have a project that I've been working on for some time, but I stopped using it for a month and when I turn it on, the display only shows pixels of various colors, and I can't load the gfx onto the board. Everything was working fine before.If I start a new project, I can load the image.What could it be?
Hello. I am currently attempting to execute a MatMul operation on an NPU. I have implemented a simple TFLite file with a MatMul operation, as shown in the image below.When converting the model using ST Edge AI, I observed that Matmul operator is mapped to the MCU instead of the NPU, and the operation is converted into a Convolution. Furthermore, checking the network.c file reveals that it is being converted into a convolution layer with an extremely large stride. https://stm32ai-cs.st.com/assets/embedded-docs/stneuralart_operator_support.html states that the matmul(batch matmul) operator is supported on the ST Neural art Accelerator.How can I resolve this issue? Thank you.
Pls cross TI part number TMP75AIDGKR (Temperature Sensor With I2C and SMBus Interface) Previously there's a Cross Reference tool in ST website but it's gone. I use it regularly. I hope it can be reinstated.
Hi there!I start to work with this sensor and i want use this functionHAL_I2C_Mem_Write_IT(I2C_HandleTypeDef *hi2c, uint16_t DevAddress, uint16_t MemAddress,uint16_t MemAddSize, uint8_t *pData, uint16_t Size)so the pointer address register of the sensor is 8 bit but the data are 16bit is correct if i do that example: data[0] = MSB; data[1]=LSB; HAL_I2C_Mem_Write_IT(&hi2c1, INA226_Addr , 0x00, I2C_MEMADD_SIZE_8BIT, data, 2); and i do the same when i want read data from register.Sorry if i ask a silly question thank you Sergio
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.