stm32
SPI is reading data as zero in STM32F103ZE
I am using STM32F103ZE I am not getting SPI data correctly. Master is transmitting correctly. But always read as zero where a non zero value has been sent.[详细]
2023-03-25 01:48 分类:问答newlib sscanf() throw hardfault exception in stm32
i use gcc compile my project, use the function sscanf() in main, the stack size is 4k, i debug the program in gdb, show VPUSH instruction throw the exception.[详细]
2023-03-04 16:29 分类:问答Detecting open PC COM port from USB Virtual Com Port device
I am using an STM32F105 microcontroller with the STM32_USB-FS-Device_Lib_V3.2.1 USB library and have adapted the VCP example for our purposes (integration with RTOS and serial API).[详细]
2023-02-18 13:18 分类:问答how to program the STM32 flash using openOCD and gdb
I\'m using an Olimex ARM-USB-OCD dongle with openOCD and GDB to program and debug an stm32f103 micro. The IDE I\'m using came from the Olimex dev-kit CD and makes use of eclipse ganymede.[详细]
2023-02-04 12:34 分类:问答C programming on IAR
I am coding on the IAR platform and want to do the following. I have a typedef as follows struct timer {[详细]
2023-01-30 01:56 分类:问答STM32 printf and RTC
* UPDATE * Here is what I found. Whenever I had that function in there it wouldn\'t actually make the code lock up. It would actually make the read RTC I²C function very slow to execute, but the cod[详细]
2023-01-20 04:20 分类:问答How do I execute a function from RAM on a Cortex-M3 (STM32)?
I\'m trying to execute a function from RAM on a Cortex-M3 processor (STM32). The function erases the and rewrites the internal flash, so i definitely needs to be in RAM but how do I do that?[详细]
2023-01-03 17:28 分类:问答STM32 Nucleo-WL55JC1 UART reading wrong
I\'m trying to read my GNSS module using STM32 Nucleo-WL55JC1. Here\'s my main loop code first while (1)[详细]
2022-12-07 19:27 分类:问答Stm32 timer TIM1_CH1 output pulse counter or Freq measurement of TIM8 using TIM8_ETR input
I am using stm32h743i-eval for finding timer8 pwm frequency and duty cycle using TIM8_ETR input from timer1 PWM at 4MHz generating at TIM1_CH1 and measuring pwm Freq and duty cycle at TIM8 using TIM8_[详细]
2022-12-07 18:55 分类:问答