Forum Posts
stm32f7 FMC interfacing external nonmemory chip, like XR16v798
Hi.I`m going to use an octal uart IC named XR16V798 and my MCU is a stm32f756z,I printed my own designed board which connected these two ICs as follows:just to mention, I haven`t used FMC with any other device before, now I dont know how to work with...
Help with HAL_FLASHEx_DATAEEPROM_Program() function on STM32L0
Hello all,I have a problem with the HAL_FLASHEx_DATAEEPROM_Program() function and maybe someone can help me. I am using an stm32L073. The address range oft he EEprom ist from 0x0808 0000 to 0x0808 17FF. I tried a simple test for writing to the EEprom...
Software reset issue
1. HAL_NVIC_SystemReset() does not work. it always stays at __NOP(), no reset for(;;) /* wait until reset */ { __NOP(); }2. Before I implemented ADC with DMA, the soft reset below works. But after implemented ADC with D...
DMA memory to memory doesn't work
Hi guys im doing a simple 5 byte memory to memory dma transfer with timer update request.As stm32f407 reference manual said timer8 update is connected to dma2 stream 1.Here is the timer config by cube.And the dma cube config:I started the dma and exp...
STM32L432 and STM32H745 DAC in DMA mode has shifted data output
Hi, I have a problem with DAC output, same problem with STM32L4 and STM32H7. I have to continuously output a step wave (3 levels), for this purpose I use a Timer and DMA in circular mode to output an array of 3 values.The code is very simple, I use a...
Resolved! How DMA works when is triggered with events?
Hello guys.Im a little confused about dma functionality.My question is that if dma controller can start a peripheral or it just can move data from the peripheral to memory.For example when using adc with dma:Is it dma that start the conversion and mo...
Resolved! STM32 for medical use.
We need STM32 MCU types for use in medical instruments. Does ST have Medical grade STM32 MCU's? It must be recommended for new design with long life time.
Hi all, I am back with another problem!! I am using timer 2 in 103C8 controller for 0.1 Sec time delay. However, it is generating 5 times the calculated delay. My initialization code for this delay is given below. Timer interrupt is enabled.
htim2.Init.Prescaler = 1000;htim2.Init.CounterMode = TIM_COUNTERMODE_UP;htim2.Init.Period = 7200;htim2.Init.ClockDivision = TIM_CLOCKDIVISION_DIV1;htim2.Init.AutoReloadPreload = TIM_AUTORELOAD_PRELOAD_ENABLE;However if I change the prescaler to 200, ...