Ask questions, find answers, and share insights on STM32 products and their technical features.
void HAL_ADC_ConvCpltCallback(ADC_HandleTypeDef* hadc){ if(__HAL_ADC_GET_FLAG(hadc,ADC_FLAG_EOC)){ adc_value=HAL_ADC_GetValue(hadc); }}main(){ HAL_ADC_Start_IT(&hadc); while(1) { }}static void MX_ADC_Init(void){ ADC_ChannelConfTypeDef sConfig =...
Hello,i use STM32CubeIDE with FW 1.60 with and want to use the I2C driver with DMA to read and write some data do a device.I configured it properly in CubeMX and the code has been generated and all interrupts etc. are implemented.When i test it with ...
Hello,I would like to optimise my conversions to have a minimum phase shift between them. I have taken the application note AN2834 but I miss Radc. There is Cadc and Rain max but this data is not in the STM32L431 datasheet.Thank you in advance.
Posted on February 13, 2017 at 21:45So I'm DFU'ing. Successfully bootloading the device with the USB connections on PA11 and PA12 DFU is built into the STM32L476. Plodding along and loading my micro a few times with a few different compilations all ...
As I used HAL_UART_Receive_IT() function to receive data in interrupt mode and with that enabling the UART Interrupt using this "__HAL_UART_ENABLE_IT(&huart1,UART_IT_RXNE)" .Still not waking up the MCU.Please let me know if i am missing something and...
Hi,I am using a text area to display a precision timer output (double) and need 8 decimal places of precision. Thye best I can get is six:I have a wildcard buffer of twenty and the following code:/* Backend code */ typedef struct { volatile uin...