Ask questions, find answers, and share insights on STM32 products and their technical features.
Hi there,i wondered if it's possible to support more than two composite device classes. I am using stm32f407ig and in the reference it says there is a control endpoint 0 and it supports 3 IN/OUT Endpoints. So it must be possible to implement CDC+HID+...
I am trying to use Timer Output Compare on STM32F746NG with the following code:void TIM1_CC_IRQHandler(void) { volatile uint32_t a = TIM1->CNT; printf("DUMMY\r\n"); } void timer_start(void) { TIM_HandleTypeDef htim1; TIM_OC_InitTypeDef tim1...
Hello,I am using timer as stm32f401.However, the clock set in CubeMx is different from the actual clock. (I set it to 48Mhz, but I get 2Mhz when measuring with an oscilloscope.)I used the MCO pin to measure the PLLCLK clock, but my set clock does n...
I read that when entering shutdown and waking up through a wakeup pin, the program restarts. If I enter the shutdown in my main method, doesn't that mean that when my MCU wakeup it will restart and then enter the shutdown again in my main method?
Can you explain how to play wav file using internal DAC and how to set the frequency for wav file using timer.Since I am a beginner any help from you guys will be a great boon for me guys
Hi,RCC->APB1ENR |= RCC_APB1ENR_I2C2EN;immeditly after turning on the I2C2 Clock I get a busy flag for I2C2.Its then reset with:GPIOF->MODER |= GPIO_MODER_MODER0_1 | GPIO_MODER_MODER1_1;But when PUPDR is executed, the flag is busy again:GPIOF->PUPDR &...
The intend is to detect whether an array (size 256 bytes) is present in RAM at a location pointed to, and does not trap a HARDFAULT when the pointer written to it. A subsequent read from the same location should produce a value different from the val...
I have array[2000];I am trying to send from nucleo to arduino, it seems if I send bigger than 8 elements it freezes or does nothing. So I have no problem to send array of 8 elements.I know that I could do it piece by piece in a for loop, I would have...