Pointer casting during function call
Hello,What's the difference between the following 2 function calls ?some_function ( & x ) ; some_function ((uint8_t *)&x) ;
Hello,What's the difference between the following 2 function calls ?some_function ( & x ) ; some_function ((uint8_t *)&x) ;
I've enabled the ADC's SCAN option to convert 8 channels, and have the conversion triggered from a 16khz Timer Event. A DMA stream is enabled to get the data.I'm unsure what the ADC's Continuous Conversion ("ContinuousConvMode") should be set to. ...
Hi,I am trying to adapt CubeMX code for a single ADC with DMA readout. I and using a Nucleo-G431KB board and managed to port a single conversion without problems. The code compiles OK and looks like many examples on the web. However it throws an erro...
Hey.I was playing with a code once suddenly I could not send anything to MCU. Keil returns me multiple lines like this with different addresses:"Contents mismatch at: 08040FE1H (Flash=FFH Required=00H) !"The programming algorithm is fine.In STLink Ut...
I have connected in port B(SWD Interface), i tried both powering modes with no jumpers and with 1,2,3 jumper.i am getting a error note $00000007 cannot enter into debug mode.what may be the issue.?
I use the UART on a STM32F7 with DMA. Is there any way to detect a stop of an incoming transmission with an interrupt e.g. with HAL_UART_ErrorCallback? If I expect too many characters or not all characters are transmitted?
On H7 MCU, waht is the minimum freq of SCK on SPI block? I try to connect a ADC with max SCK 3.2Mhz to H7's SPI port.
We have implemented a single ended ADC input to measure a voltage on our board. At low temperatures there is a significant error in the measurement.Going from +20C to -20C, the value we get from the ADC is ~92mV (114 counts) lower than it should be. ...
The STM32G4 series offers dithering to enhance the PWM ratio. My question is, if dithering can be used on ALL the compare channels of the same timer?Specifically, we generate a center-aligned PWM with two output compare channels 180° shifted. CCR1 an...