static_cast in C?
freqError = static_cast<int32_t>(readRegister(REG_FREQ_ERROR_MSB) & B111);C has no static_cast, so how can I convert the above code to C?(It 's C++, from Arduino)
Ask questions, find answers, and share insights on STM32 products and their technical features.
freqError = static_cast<int32_t>(readRegister(REG_FREQ_ERROR_MSB) & B111);C has no static_cast, so how can I convert the above code to C?(It 's C++, from Arduino)
I'm using QuadSPI in indirect dual-flash read mode to transfer data from an external chip (not flash memory). According to reference manual, when FSIZE = 0x1F and DLR = 0xFFFFFFFF, the transfer should continue indefinitely.However, with STM32H743ZIT6...
Hello,I tried to prescale the TIM2_ETR signal on STM32F401RC, to increase the bandwith. In theory the ETR signal max frequency is 1/4 Fclock = 21 MHz, but it can be increased thanks to the prescaler. The RM0368 manual (STM32F401 reference manual) wri...
Hi,I am using the STM32L433 and want to place this into very low power mode. I am thinking STOP1 as the wake up is from one of several interrupts. The setup works fine the system wakes up when it gets an interrupt, but the power consumed is way too h...
Hello,I am working on the stm32373C-EVAL but I can't get the SDADC to give me satisfying values.I am following the UM1786 "how tu use this driver" instructions on p°594:I fill in the HAL_SDADC_MspInit(), the HAL_ADC_Init() is used, I call HAL_SDADC_P...
I am using a STM32F103C6 CPU. I want to DMA read TIMx_CCR1 and TIMx_CCR2 after a capture 2 is done (i.e. CC2DE bit set in TIMx_DIER). Since this can be done as a burst transfer (the 2 registers are contiguous), I set up TIMx_DCR accordingly (2 transf...
Is there a way to connect some pins to both ADC and comparator inputs, for example ADC_IN2 and COMP1_INP? It should be possible because they both are inputs.
Posted on October 19, 2017 at 08:43Hi,Where can I download the example code for AN4841 'Digital signal processing for ST M32 microcontrollers using CMSIS'?Please advise.Thanks.Regards,Thiha Kyaw#an4841-dsp-application