Developer support experience survey - We value your feedback
Ask questions and find answers on STM32Cube packages, including HAL, LL and middleware, and expansion software.
Most recent activity
Hello,We are interested in the B-L462E-CELL1 module but cannot find any information on the average power consumption and upload speed of this module.Does anyone have experience with the B-L462-E CELL1 module and can give us the these information?Thanks in advance and best regards!
Hello everyone, I have been working with stm32h747xih6 MCU for a while now. I'm trying to establish ethernet communication with the MCU. if (netif_is_link_up(&gnetif)) { /* When the netif is fully configured this function must be called */ netif_set_up(&gnetif); } else { /* When the netif link is down this function must be called */ netif_set_down(&gnetif); }My code always goes to the else condition in the above snippet of the code.I have attached my .IOC file below for reference.At times when i do arp -a from command terminal my device IP comes on the command prompt but when I try to ping the connection is lost.Kindly help me out with this issue
I am looking for an example for USB audio device class UAC1 for NUCLEO-H723ZG.The aim is to stream audio data from STM32 onto an android device (and there to a spectrum app). Many thanks to any hints.
Hi ST Community,Trying to get lwIP HTTP server working on STM32F407 with Cube V1.27.1. I am able to ping, however on the first HTTP request I get DMASR FBES (Fatal bus error) and after that, neither pings nor TCP packets get any response. Looking through the stm32f4xx_hal_eth.c, I see that FBES gets detected in HAL_ETH_Transmit and on the next HAL_ETH_Transmit call, the ETH_Prepare_Tx_Descriptors fails due to descriptor DESC0 showing that is owned (ETH_DMATXDESC_OWN) by DMA. I believe this issue is caused by DMA attempting to access HTTP buffer in memory, but I am not 100% sure. I am using Waveshare EVK407I dev board, which does come with a working example with old Cube V1.6.0. The example code can be found on their wiki. Therefore I am convinced that the hardware works, the issue has to be with the new stm32f4xx_hal_eth.c or lwIP. Worth to mention, I do not get any issues on Cube V1.27.1 on STM32F429 with LAN8742 (Nucleo).Below is my code. Thank you.
Hi,I have allocated memory pool for my doubly linked list using osMemoryPoolNewI want to be able to insert and delete nodes to the doubly linked list. My question is , When I am deleting the node I am unsure if I have to using osMemoryPoolDelete or osMemoryPoolFree. I know I should be using FREERTOS vPortFree . But I am unsure in CMSIS context. Can anyone please clarify this .Thanks
I have troubles writing succesfully to flash on a STM32G07 chip.The application is similar to this:uint64_t data;HAL_FLASH_Unlock();HAL_FLASH_Program(FLASH_TYPEPROGRAM_DOUBLEWORD, addr, data);HAL_FLASH_Lock();I started getting hardfault in lock because of error in programming. I found out that this was related to timeout on the wait for operation to finish inside program function. So I added a check that program returning HAL_OK before calling lock . But this just moved the problem.The behavious is very strange.I can see that PGAERR and PGSERR in the FLASH SR register are being set.My data is aligned at a 64-bit boundry I have added check that both data and the address i program to will have addr & 0x07 == 0.I suspect some other interrupt could interefere in some way. But adding __disable_irq(); does not help.Data is programmed like 25-50% of the times rest I simply get no data programmed.
https://github.com/STMicroelectronics/x-cube-azrtos-h7/tree/main/Middlewares/ST/usbx/common/usbx_host_classes/src
Hi!My problem is, that i use a H743 with Eth and USB configured.Ethernet works fine, till i set up the usb. When i turn on the usb, than the ethernet stops working, because it didn't recognises the messages from eth. The usb is configured in usb_device mode with HID. I tried to debug the code, the ethernet works, if i leave the initialization code of the stm32cubeide generator in and comment out the device descriptor initialization. I think it is some memory issue. Somebody knows or can guess what the problem is?Thanks
..
Just received this and it doesn't connect. I contacted Truphone and they were not much help. They did mention to make sure the apn is iot.truphone.com.I know almost nothing about this device and the instructions are sparse but I did find a menu item for Cellular Service. It did not have anything in the apn field. I set the menu as follows:Sim Slot 0: 1 (MODEM EMBEDDED SIM)APN: iot.truphone.comCID: 1username: password: modem target_state: 2attachment timeout: 180000 msNetwork register mode: 0 = AutoOperator name format: 9 = Not presentOperator name: 00101Access techno present: Not presentNetwork register mode: 7 = CatM1Low power inactivity timeout: 1000 msNFMC activation : 0It still does not connect. Are these values ok?Also it seems the my.murata.com website is not accepting new logins. So how can I get further information about this board?
Hello, there is a bullet in the STM32L0 HAL that escape me. On page 38 of UM1749 it is said:"When a status bit or a flag is read from registers, it is composed of shifted values depending on the number of read values and of their size. In this case, the returned status width is 32 bits. Example : STATUS = XX | (YY << 16) or STATUS = XX | (YY << 8) | (YY << 16) | (YY << 24)".Can someone give me a function/macro that implements it so I can look at its implementation?Does anyone know what case "In this case" refers to?Does anyone know what XX and YY refer to?If someone can give me a concrete example, I would greatly appreciate it.
In STM32F030CCT6TR Cortex M0 microcontroller I am getting hard fault error when I enable interrupt after switching from bootloader to application.
HelloI am building an USB PD application.- MCU: STM32G071RB- Tool: STM32CubeIDE (Firmware version 1.6.1)I am using 2 USB PD ports (UCPD1 and UCPD2).The power role of UCPD1 is DRP, and UCPD2 is Sink.And I am reading debug messages through STM32CubeMonitor-UCPD.In my application, 2 UCPDs on the STM32 run at the same time once both ports are connected.Sometimes, on the Sink port, I see the "REQUEST_DISCARDED" message (Type: NOTIF).The timing I see the message is after "REQUEST" sent, "GOODCRC" received, "ACCEPT" received, and "GOODCRC" sent.Message exchanges are normal, but PE reports "REQUEST_DISCARDED" even though message exchanges are successful.And then, the Sink sends a "SOFT_RESET" message, and sends "HARD_RESET" eventually.Since it is invisible to me where the "REQUEST_DISCARDED" message comes from (probably it happens in the STM32 static library), I have no idea what is happening inside.Would it be a timing issue because 2 PEs are running at the same time or a control register hav
Hello, I would like to know if configuring the STM32 as a USB host will I be able to connect another device that has a TTL to USB serial converter? Or do I need to install some kind of drivers to detect it?
I'm trying to create and write a file in a USB stick as a USB MSC Host + FatFs using FreeRTOS my MCU is a STM32F413I'm using the code generated by STM32CubeMX and added the following functions:f_mount(&USBHFatFS, (TCHAR const*)USBHPath, 1));f_open(&USBHFile, "Test.TXT", FA_CREATE_ALWAYS | FA_WRITE | FA_READ);f_mount always returns FR_DISK_ERR, so the file is never created.However, the USB stick is correctly detected when plugged, and in the generated UserProcess function, the Appli_state variable is set to APPLICATION_STARTstatic void USBH_UserProcess (USBH_HandleTypeDef *phost, uint8_t id){ /* USER CODE BEGIN CALL_BACK_1 */ switch(id) { case HOST_USER_SELECT_CONFIGURATION: break; case HOST_USER_DISCONNECTION: Appli_state = APPLICATION_DISCONNECT; break; case HOST_USER_CLASS_ACTIVE: Appli_state = APPLICATION_READY; break; case HOST_USER_CONNECTION: Appli_state = APPLICATION_START; break; default:&nb
To perform firmware upgrade through UART, we had tried to put the MCU into bootloader mode by following sequencea) NRST pin set to LOW and BOOT0 pin to HIGH to select System memoryb) NRST pin set to HIGH to boot into bootloaderTo accomplish this, we have attempted in the following order and still were not successful:1) BOOT0 and NRST are signalled manually 2) BOOT0 NRST signalled using ESP32 controller3) Using the FTDI module, connect the BOOT0 pin to DTR and the NRST pin to RTS. Signalling using FTDI module itself.4) Added the additional pull ups in UART Tx,Rx as suggested in the data sheet Please let me know what went wrong with the signalling portion. Your assistance and backing are much appreciated. MCU used is STM32G030F6P6
Greetings !I could able to find reference applications for Webserver on STM32H. Here in the sample Webserver application the webcontents are loading from SD Card . But my STM32H743 there is no option for SD card and we are not having SD card option in our custom Development board as well.Can any one suggest me how can I use Webserver by loading Webcontents other than SD Card . Any reference links will be very helpful.Thanks in Advance
STM32H743i-EVAL, using 2.1.0 PACK, and H7_V1.11.0 firmware.The error occurred after adding NetXDuo > Addons Web Server. I found to satisfy the compile errors that I also had to check (include) Addons DHCP Client and go back to RTOS ThreadX and check PerformanceInfo since there is a routine deep in the app_netxduo.c that needs to use performance information. After this I am left with one error, a multiple definition for CHAR *pointer used in app_threadx.c to keep track of byte_pool allocations when creating threads for threadx and CHAR *pointer used in app_netxduo.c to keep track of byte_pool allocations there when creating the netx threads. Neither of the CHAR *pointers are declared as external nor is there any declarations made in the h files with respect to these variables that might cause a multiple reference.I guess I could go in and give them a unique name, but I thought each declaration should be local to the file it is declared and used in.
I have created an application using CubeMX inside CubeIDE and setting the ThreadX memory pool size in CubeMX sets the value generated in the app_azure_rtos_config.h. CubeMX also generates app_threadx.c and app_thread.h, but in app_threadx.h most examples show a #define APP_BYTE_POOL_SIZE inside the USER CODE BEGIN PD section.Should these values in two different places be the same?And should this be best accomplished by including app_azure_rtos_config.h in the app_threadx.h file and defining the APP_BYTE_POOL_SIZE as TX_APP_MEM_POOL_SIZE with a #define?
Evaluation Board STM32H743i-EVALExample from STM32H735G-DK - NetXDuo - Nx_WebServerAZRTOS-H7 V 2.1.0I am trying to build a Nx Webserver like the one referenced for the H743i. I have begun with trying to set up the memory as it is configured in the 735G example since the memory layout between the two processors is the same. I have not ported any other code yet. I set-up the CubeMX parameters for the same as the 735G .ioc. I have compared the code generated with the main.c code in the example and it is a match. It looks like this: void MPU_Config(void) { MPU_Region_InitTypeDef MPU_InitStruct = {0}; /* Disables the MPU */ HAL_MPU_Disable(); /** Initializes and configures the Region and the memory to be protected */ MPU_InitStruct.Enable = MPU_REGION_ENABLE; MPU_InitStruct.Number = MPU_REGION_NUMBER0; MPU_InitStruct.BaseAddress = 0x0; MPU_InitStruct.Size = MPU_REGION_SIZE_4GB; MPU_InitStruct.SubRegionDisable = 0x87; MPU_InitStruct.TypeExtField = MPU_TEX_LEVEL0; MP
Hi,is somebody operating the STM32H750 successfully with USB-HS (ULPI Interface)?I succeeded in running the USB device CDC example of the STM32H743 evaluation board on my STM32H743 test board (144 pin LQFP) - but when I try the same with a test board using the STM32H750 (100 pin LQFP), it does not work. I use the USB3300 chip for the interface.I changed 3 things on this board:other processor (STM32H750 100pin instead of STM32H743 144 pins)"Old-style" USB-B connector (instead of USB-B micro connector, which I used with the STM32H743 board)No Ground layer on the top layer (containing the USB lines to the connector, only about 2cm long) - but in both cases I use 4 layer multilayer, and full ground plane directly under the USB lines,, the USB line width and distance the same ... as typically recommended... .I now will try to use the STM32H743 LQFP 100pin version on the 750 test board ... I will know more tomorrow I hope... .(but if I look at all the datasheets, such a USB ULPI software run
Why am I seeing the warning:Invalid project path: Missing project folder or file: /STM32H743-EVAL-Utils/ThreadX for Source path.the source folder the warning is complaining about is not visible while browsing the project folder. It is not visible when trying to create the source folder using the new source folder tool. If I try to create a source folder named ThreadX, new source folder tool will not allow the new folder because it claims a folder by that name already exists. But using the browse feature within the new source folder tool to see all the current source folders does not show ThreadX. I went so far as to look for any references in the project properties and find nothing that references a folder ThreadX except the treadx subfolders in the Middleware source tree.the only reference I could find is in the .cproject file, where under the tag <sourceEntries> there is the entry:<entry flags="VALUE_WORKSPACE_PATH|RESOLVED" kind="sourcePath" name="ThreadX"/>Removing this
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.