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
HiMy board has, among other things, an STM32F401RBT6 and a full-size USB B (device) connector. System clock is an external 25MHz TCXO. I have verified that the hardware is working correctly, because I have already implemented a compound device class containing USB Audio device and Communications Device class and that all works perfectly. When I try to flash a project containing a very simple MSC Device class with a 16K RAM Disk, nothing happens. Specifically I followed this ST Video tutorial: https://www.youtube.com/watch?v=GjQqZd1keBo which is very clear and he literally only writes/changes 5 lines of code. Yet when I plug in the USB cable to the PC I see nothing at all on the PC. I have tried on Linux, nothing shows up, even on an lsusb command typed in a terminal. I have tried on the only Windows machine I have, which is a WinXP Laptop. Again, nothing... The video tutorial is written for a STM32F446 on a Nucleo board; the only changes I made compared to the video were:1) Reduce the
I have two boards Nucleo F429ZIT6 and STM32F429IIT6 . Both controller have same Data sheet , both have same USB FS pin. I write the code for stm32F429IIT6 and debug it in both of boards my nucleo board is working fine but my STM32F429iit6 board is not working with same code . I don't understand why its not working , If anyone know about it please help me with same. Thank You.
..
It may be the issue with include paths, not sure!
Once again.....trying to implement an Azure RTOS NX TCP Server application on the F7 Nucleo board (since H7 processors will not be available any time soon). I ran into a hard fault at the HAL_GetTick instruction below: /*-------------------------------- PLL Configuration -----------------------*/ /* Check the parameters */ assert_param(IS_RCC_PLL(RCC_OscInitStruct->PLL.PLLState)); if ((RCC_OscInitStruct->PLL.PLLState) != RCC_PLL_NONE) { /* Check if the PLL is used as system clock or not */ if(__HAL_RCC_GET_SYSCLK_SOURCE() != RCC_CFGR_SWS_PLL) { if((RCC_OscInitStruct->PLL.PLLState) == RCC_PLL_ON) { /* Check the parameters */ assert_param(IS_RCC_PLLSOURCE(RCC_OscInitStruct->PLL.PLLSource)); assert_param(IS_RCC_PLLM_VALUE(RCC_OscInitStruct->PLL.PLLM)); assert_param(IS_RCC_PLLN_VALUE(RCC_OscInitStruct->PLL.PLLN)); assert_param(IS_RCC_PLLP_VALUE(RCC_OscInitStruct->PLL.PLLP)); assert_param(IS_RCC_PLLQ_VALUE(RCC_OscInitStruct->PLL.PLLQ)); /* Disa
Hi Team,there is requirement that my board has to receive 256 bytes of data. but according to USB spec there is limit of 64 bytes, I am looking for solution/example how to handle more than 64 bytes through USB.
I am attempting to use TraceX in my NetXDuo application. But when I enable TraceX in the Software Packs of CubeIDE (TX_ENABLE_EVENT_TRACE) I get compiler errors in all of the calls to save a tracex event. The macros that defines the calls to tracex services appear in nx_api.h, but are not defined, and hence the _nx_trace_event_ service is never defined. I saw a discussion of this same issue over in the Renesis community where a workaound fixed the compiler issue. https://community.renesas.com/mcu-mpu/embedded-system-platform/f/forum/10314/undefined-reference-to-nx_trace_in_line_insert-when-arp-probeBut t his workaround did not fix the STM code.Can anyone suggest something that may help?Thanks,MikeH
Hi.I am using a STM32H747BIT MCU with Nor Flash (MT25QL512)Reading and writing Nor flash by setting in the IOC file was successful.I want to set up a file system(FATFS) on Nor flash.There is a library of FATFS in IOC.So I want to use this.Is there a site that explains how to set it up easily and in detail?Please Help me.
Hello,we use wizznet w5500 along with STM32F401RETx in one of our products.This microcontroller doesn’t have Ethernet MAC peripheral.We want to implement secure ssl server on this setup.I have done a research which took me few days, but still I’m bit confused about the way I should go to achive my goal (lwIP + mbedtls or maybe freeRTOS + mbedtls, or maybe just mbedtls with port bind to w5500)Can I make a TLS/SSL secure server using w5500 and STM32F401RETx? What is the best way to start
Dear ST HelloI am using timer 6 to calculate the time for timer interrupt triggering,I am using the example for the board from the cube BSP folder,\STM32Cube\Repository\STM32Cube_FW_F4_V1.27.1\Projects\STM32F429I-Discovery\Examples\BSP\SW4STM32\STM32F429I-DiscoveryIn this project, I disable some functions and want to add an interrupt using timer 6.I generated the code using another project for the interrupt and timer configuration and I integrated the hal timer and timer ex to build the project, I also defined the HAL_TIM_MODULE_ENABLED.here is the code: /* Configure USER Button */ //BSP_PB_Init(BUTTON_KEY, BUTTON_MODE_EXTI); MX_TIM6_Init(); /*##-1- Initialize the LCD #################################################*/ /* Initialize the LCD */ //BSP_LCD_Init(); /* Initialize the LCD Layers */ //BSP_LCD_LayerDefaultInit(1, LCD_FRAME_BUFFER); //Display_DemoDescription(); HAL_TIM_Base_Start_IT(&htim6); static void MX_TIM6_Init(void) { /* USE
I am looking for an interrupt based replacement for HAL_I2C_IsDeviceReady. I am implementing a EEPROM library for M24256 I2C Serial EEPROM in a FreeRTOS application. The call HAL_I2C_IsDeviceReady relies on polling for many milliseconds to perform this function. Is there a version written to use interrupts?
Hi,As per app note AN2606, STM32F070x6 bootloader supports USART1/2, I2C1 and USB peripherals. However for STM32F070F6P6 (TSSOP 20pins), only USART1 and USB are feasible but they are also mutually exclusive due to PA9/10 (USART1) and PA11/12 (USB) sharing same pin numbers 17/18. Now the question is for STM32F070F6P6 when bootloader detects HSE clock does it also remaps PA11/12 on pins 17/18 for USB DFU or USART1 is the only choice irrespective of HSE clock? Thanks.
Has the HAL library of STM32 been validated by the medical system,such as IEC 62304
We are working on Redesign activity of a PLC System; In that we have to Replace Micro controller. Could you please suggest a Low-cost and Sil2 Certified 8,32-bit Micro controller .Requirement:1.SIL2 Certified controller2.48 or More Pin's, SPI Interface - 01 + 01(Optional)3. SIL Related libraries should be support4.1K bytes of ram, 1K bytes of eeprom and 12k of on-chip rom(Minimum).5. Clock frequency >3 MHz6. Operating Temperature -40°C to +85°C7. Operating Voltage 3V to 5.5VPlease let me know if you have any questions.
Hi,I'm evaluating the WIFI/BLE module 1LV by Murata with a STM32H747-Dicovery board and Murata adapter as reported in the PDF file in https://github.com/Infineon/stm32-connectivity/tree/master/DocumentationThe connection works fine (wifi scan OK and connection OK) and now I'm trying to increase the communication performance; the first test, using LWIP stack as server on MCU and ipref client on windows/linux side gave me only 0.15-0.20MB/s (150kBps) that seems to me very VERY slow using SDIO interface (with 25MHz clock).Do anybody have any clues to increase this bitrate?What can I change from the test project (https://github.com/Infineon/stm32-connectivity/tree/master/Projects/STM32H747I-DISCO/Applications/wifi_scan) to increase WIFI performance?Do you also think that LWIP stack is the correct "library" to have good performance (at least 2.5-3.0MB/s)Thanks
I used the program here https://github.com/stm32-hotspot/STM32H7-LwIP-Examples.However, after I downloaded the program to the STM32H747-Disco development board, the network could not ping through and the target host could not be accessed.May I ask who can help me!!!
I have written a program for write a data in SD card and after that read it. but in my program F_open function returns Fr_DISK_ERROR error and jumps outside the loop and terminates the execution whereas i have declared and defined all the necessary things and files. My card is connected with SPI and i have declared it.Anyone tell me how can it works....
///////////////////////////////////////////////////// //Add 3 IAD class here // this one is for COM port 3 0x08, // bLength: Interface Descriptor size 0x0B, // bDescriptorType: IAD 0x04, // bFirstInterface 0x03, // bInterfaceCount 0x02, // bFunctionClass: CDC 0x02, // bFunctionSubClass 0x01, // bFunctionProtocol 0x02, // iFunction /*Interface Descriptor */ 0x09, /* bLength: Interface Descriptor size */ USB_DESC_TYPE_INTERFACE, /* bDescriptorType: Interface */ /* Interface descriptor type */ 0x00+4, /* bInterfaceNumber: Number of Interface */ 0x00, /* bAlternateSetting: Alternate setting */ 0x01, /* bNumEndpoints: One endpoints used */ 0x02, /* bInterfaceClass: Communication Interface Class */ 0x02, /* bInterfaceSubClass: Abstract Control Model */ 0x0
I have followed the "https://controllerstech.com/stm32-ethernet-6-http-webserver-simple/" tutorial and have set up some parts on https://github.com/stm32-hotspot/STM32H7-LwIP-Examples for STM32H750B-DK and it works once on WEB SERVER not used FREERTOS. But when I tried the same code It can no longer be used. why not work my project https://drive.google.com/file/d/193mxh5EKTZm_2ccCpIbmdfDcuvyt3WH5/view?usp=share_link The problem is1. It takes a long time to connect.2. Sometimes unable to connect when resettingI want to know the reason and solution.
We have interfaced CS5532 using SPI which is initialized in continuous conversion mode. We read the ADC count in a task being called every 160 ms. When I add following statements in the task, the ADC count read from CS5532 becomes constant.sprintf(Debug,",%ld,%f,%d\n\r",ADC_Sum,CurrentWt,StableFlag);uart0Puts(Debug);Removing above code solves the problem. I have also noticed that adding/removing similar debug messages in/from other parts of code also creates same problem. I commented similar statements from a function that is not getting called with current settings in EEPROM. This also caused same problem. The code works fine when no such debug message is used. I also checked the stack usage using ST Link debugger and found it to be within limits. Any kind insights on how to approach this problem would really be helpful. Thank you.
On our custom board, we have the SoC communicate with the HyperRam Cypress S27KL0641. We followed the example DLYB_OSPI_NOR_FastTuning and OSPI_HyperRAM_MemroyMapped. The device is working properly on the first initialization. But if we call Deinit and reinitialize the OSPI, the function LL_DLYB_GetClockPeriod() always return ERROR or timeout. However, if we reset the whole system, then the function LL_DLYB_GetClockPeriod works fine first time. What would've caused this issue ?
I would like to ask you guys how to use the stm32h747-disco development board to create a project, hoping to get advice
Already have an account? Login
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.