Forum Posts
STM32 F4 USB FS Host: CDC device plugged before device start
Posted on July 27, 2017 at 15:27Hello,we are using the USB Full Speed host port on an STM32F4 with FreeRTOS.We use the most recent libraries:- stm32f4xx_hal_hcd.c stm32f4xx_hal_hcd.c and stm32f4xx_ll_usb.c version 1.7.0- CubdF4 niddleware STM32_USB_...
I2S Data stored in .wav file not playing correctly!
Hi I have ADAU1978 which is a quad ADC that gives I2S data which im trying to store in a SD card under .wav extension. When i do this i get a .wav file of size 8kB. When i try to play it with windows media player, it doesnt throw any error,but doesnt...
Resolved! I2C clock timing generation
Hi,I've read that for some STM families (F0, F3, L0, L4, etc.) the I2C clock timing must be calculated with an excel file or with the STMCubeMX software.The calculus is "closed source"? Can I reproduce it in my own code?I'm writing an interface for a...
STM32F411/STM32F413: Enabling i-cache results in SPI read getting blocked
I am working with STM32F411/13 controllers from ST. And i observe an issue with SPI reads if i-cache is enabled. More details as below:I do have the FLASH PRE-FETCH enable set. And Flash wait states properly configured based on the System clock.And a...
Resolved! Do we have example codes on how to use fire wall to protect function on Flash and data on SRAM for STM32L073RZTx micro controller ? please share the link
I am trying to protect code(in flash) and data(sram) using fire wall feature But board is resetting when exucute the function. Following is the code to initiate and enable fire wall. void firewall_init(void){ FIREWALL_InitTypeDef firewall1; firewall1...
MEM-to-MEM transfer using DMA (SRAM to FSMC/FMC)
Hi,As far as I remember, I've read something about that a while back. I was wondering if I can send data to a memory-mapped device (FSMC/FMC) in a continuous loop a byte per iteration using the DMA peripheral. Thanks
STM32F10x entering standby mode fails occasionally
Posted on October 28, 2016 at 02:11We use PWR_EnterSTANDBYMode library function to enter the standby mode. I have added line to enable WKUP pin. The STM32 enters standby mode most of times. But, sometimes(once in 25 or so times), it just reaches the...
can I use one timer to interrupt another timer (start and stop)
I want to generate 1 Mhz with one timer but I want to stop it for 1 ms and then generate for 5 ms.I see that there is instruction HAL_TIM_Base_Start_IT looks like I can start and stop one timer with anther, I am using Cube MX and keil.
STM32L486 mcu used as Master SPI, Zigbee device as slave. What configuration of SSM and SSI should i be using?
I am going through an existing implementation, where my MCU's(STM32L486) SPI1 (PA4(NSS), PA5(SCK), PA6(MISO), PA7(MOSI) is used as master, the slave device is a zigbee stack.Currently the master's SSL is configured as Software managed, (SSM=1, SSI= ...