How do I perform this function shorter ?
Posted on April 17, 2015 at 12:43 unsigned long a; void assign(unsigned int a1,unsigned int a2) { if (a2==1) a =1; if (a2==2) a =2; if (a2==4) a =4; if (a2==8) a =8; ...
Posted on April 17, 2015 at 12:43 unsigned long a; void assign(unsigned int a1,unsigned int a2) { if (a2==1) a =1; if (a2==2) a =2; if (a2==4) a =4; if (a2==8) a =8; ...
Posted on October 03, 2013 at 20:42Hi everyone, sorry if this has been answered before and my google-fu is weak.I'm experimenting with an STM32F207VG, and after reading the flash manual and data sheet, am uncertain if it's ''safe'' to execute code f...
Posted on April 14, 2015 at 09:55HelloI have a nucleo STM32F103, I put a external clock of 25MHz.How can i read a analog signal conected in PB8?Someone can help me??Best regards #analog-input #nucleo-f103rb
Posted on April 17, 2015 at 08:25When I did an update to the HAL firmware today, there was a compiler (IAR) error in stm32f4xx_hal_pwr_ex.h line #88 has this typo: #if defined(STM32F405xx) || defined(STM32F407xx) || defined(STM32F415xx) || defined(S...
Posted on April 17, 2015 at 02:51Hello! I am fairly new to the specific Microcontrollers and of course to this forum, so first of all hello to everyone! Even though my question might be simple enough for most of you, I would like to express you my ...
Posted on April 16, 2015 at 11:12We need the MCO (master clock out) to drive the clock for an external ADC. However, looking at the various run modes(STM32F4) it looks to me that the MCO is not available when in stop, standby or power down mode. But...
Posted on April 17, 2015 at 10:48Hi thereI designed a print with a STM32F072CBT6 and connect with a Discovery Board.First I designed the software on the Discovery Board. After that, i want to test the connection to the CBT6. My Code works fine on th...
Posted on April 14, 2015 at 06:06Hello, I have a stm32f429 discovery board. I am trying to confirm that I can achieve the max baud rates listed in the RM0090 document. I have tried using a pclk of 42 and 84 mhz, with oversampling of 8x and 16x. The ...
Posted on April 16, 2015 at 15:59Hi! I'm using MTF32F030R8 and I need to develope my own bootloader. I use the first 8K of flash for bootloader (from 0x800000 to 0x8001FFF) and from 0x8002000 my SW application. I'm not finding how to set the ...
Posted on April 16, 2015 at 21:53We are using LwIP running under CMSIS-RTOS and we are trying to initialize the Ethernet peripheral on an STM32F429. I have traced the problem to a line in the ST Cube code v1.5.0, in the file stm32fxx_hal_eth.c. It...