Forum Posts
GPIO is disturbed by the alternate function
hello everyone,i work on stm32g071 to build a application , but i configure the PA9 for uart TX and the PA8 for the normal input that pull up by 3.3v. When start send data by the PA9 , PA8 is disturbed。But PA9 is not configured, the PA8 level is norm...
Delay function with TIM14 in nucleo G031K8
void TIM14_init(void){ RCC->APBENR2|=(1<<15); TIM14->PSC= 31; TIM14->SR=0; TIM14->CNT=0; TIM14->EGR|=(1<<0); } void TIM14_delay_us (int delay_us){ TIM14->ARR = delay_us; TIM14->CR1|= (1<<0); // counter enabled while (!((TIM14->SR)&1)); // wai...
Erasing a page of flash on STM32L476RG
Hello everybody,I'm working on an STM32L476RG. For the moment, I'm using a nucleo-476RG board.I'm trying to write and read some data in the flash memory.I'm trying to write at the address : 0x080FF800 (first address of last page of the memory).I do t...
What is the maximum operating speed of GPIO output? (STM32F303RB)
Hello,I'm using STM32F303RB and 72MHz Clock is being used by using PLLI have a few questionsQ1) What is the maximum operating speed of GPIO output? (8MHz or 72Mhz) Q2) Is there PORT with bit banding?Thank for all your supoort. Best regrads. JH moon.
Standby mode SDRAM sometime draw more power than usual.
If no SDRAM (disabled), enter standby mode always work as expected.When SDRAM enabled, sometime enter standby mode, draw 3mA more than usual.This is code to put SDRAM to self refresh mode before enter standby:````sdramState.command.CommandMode = FMC_...
Setup SAI - read adc values from AD7771 via DOUTx interface lines
Hi,I have STM32H743Z and ADC converter AD7771. I want to use SAI interface for reading data from it. I have configured AD7771, that results form conversions are sent over DOUT_0 line. In oscilloscope I can see line DRDY (falling edge), line DOUT0 sen...
malloc or calloc allocation on stm32. I store some strings with calloc allocation and display that strings on the api text box. strings seems to be showing static on the api text box.Outputing strings are dynamic to be display on api text box.
Its the same strings showing on api text box. It does not change. But when I debug it I can see it changing and display on api (application interface) text box. Any idea about this?
How can I create an Assembly Language Project within KEIL uV 5 with or without Cube MX?
Dear I appreciate if someone leads me to learn how to create an assembly program within KEIL uVision 5.I develop on STM32F030 series micro-controllers. Is it possible in older versions, i.e. uV 4, uV 3, ... etc?Best Regards!