Posted on July 31, 2017 at 02:53YesUsing the latest HAL and CubeMX versions:// Variables: unsigned int ADC_raw[6]; unsigned char index1 = 0; unsigned short int ADC_Busy = 0; // ConvCpltCallback function as follows: void HAL_ADC_ConvCpltCallback(ADC_...
Posted on July 06, 2017 at 11:05Just wanted to say the above worked as intended, just have to change uint8_t SpiReceive; managed to get values by using unsigned char SpiReceive; instead.
Posted on July 03, 2017 at 11:48 I changed hspi1.Init.DataSize to 8bit, and I am now getting the /external-link.jspa?url=https%3A%2F%2Fdeveloper.mbed.org%2Fusers%2FEricLew%2Fcode%2FSTM32L4xx_HAL_Driver%2Fdocs%2Ftip%2Fgroup__SPI__Exported__Functio...
Posted on July 02, 2017 at 12:15Hi HashemI am having problems too, all though I dont have a full understanding of it.But I would imagine how it works is as follows:https://developer.mbed.org/users/EricLew/code/STM32L4xx_HAL_Driver/docs/tip/group__SP...
Posted on June 26, 2017 at 15:03On top of this, I have attempted your approached to use ADC_EOC_SINGLE_CONV and to call HAL_ADC_Start_IT within HAL_ADC_ConvCpltCallback and it works, but only for 3 channels and I have 6. The other ADC channels value...