Code is at:https://github.com/zhivko/LaserMeasure_VL53L0X/blob/master/main/Server.cppproblem is oscilation of measurement. on 10mm range it moves almost 2mm constantly... see video.
Posted on November 02, 2017 at 14:22I am seeing very noisy measurements on shunt adc.I attached schematics and gerbers.Could suggest how to eliminate noise on adc lines (line connected to shunt and going to STM32F303 chip?regards#adc #l6206pd #noise
Posted on December 27, 2017 at 11:14I had same problem - for me using linux (ubuntu) trying to read usb data stream the problem reflected in dmesg output as this:[54351.654920] usb 1-1: device not accepting address 2, error -62 [54351.822858] usb 1-...
Posted on November 26, 2017 at 02:04OK found the mistake... I was using, hadc1.Init.DataAlign = ADC_DATAALIGN_LEFT;insteadhadc1.Init.DataAlign = ADC_DATAALIGN_RIGHT;Also I found out that using: hdma_adc1.Init.MemDataAlignment = DMA_PDATAALIGN...
Posted on November 25, 2017 at 23:05ADC values are here, but it is funny how they difference of one measurement to another is quite big - could it be that they are indeed correct or possible, or it is some flaw in my program?I am using:hadc3.Init.Re...
Posted on November 24, 2017 at 22:59usingsMasterConfig.MasterOutputTrigger = TIM_TRGO_UPDATEcompletely breaks PWM operation.I found out that i should indeed use trgo2update - as powerpoint presentation suggested - shown below. sMasterConfig.Maste...
Posted on November 24, 2017 at 16:18OH !!! in Drivers\STM32F3xx_HAL_Driver\Src\stm32f3xx_hal_dma.c I see this comment: /* Disable the transfer complete & transfer error interrupts */ /* if the DMA mode is not CIRCULAR */Who could ...