I'm trying to migrate my code away from Platformio, which I've previously been using, to cmake (currently using it with clion and openocd).I've got everything working but when I run my code I run in to one problem.For some reason the PLL is enabled a...
I'm trying to program some data into a flash sector but the HAL_FLASH_PROGRAM returnsa value of 10 which maps to pga and pgs error.HAL_FLASH_Unlock();
uint64_t val = (uint64_t)(data->at(i) << 8 | data->at(i + 1) << 8 |
data...
My program hangs after the return statement. pDataDMA = pData->data();
HAL_StatusTypeDef val = HAL_SPI_TransmitReceive_DMA(&spih, pDataDMA, pDataDMA, pData->size());
if (val != HAL_OK) {
Error_Handler();
}
...
I'm working on a project using an stm32f411 and somehow the halfduplex spi only return's once without me touching the code that uses the spi.I'm using platformio (with the 1.27.1 version of stm32cubef4 from github not the pio outdated one) and the pr...
I'm trying to implement a custom hid on STM32F4. I'm able to init USB and enumerate the device. but when i try to use the CUSTOM_HID_SendReport It always exits on the ClassId check.uint8_t USBD_CUSTOM_HID_SendReport(USBD_HandleTypeDef *pdev, uint8_t ...
At the start of SystemInit the pll is already turned on in the registers.If I understand it correctly the SystemInit is the first function that is called where these registers could be set.everything before that is loading some arrays that are define...