Hi,I use custom USB device class implementation on top of ST's USB device stack (generated by CubeMX). I need only core implementation but i can not generate it without specifying some USB class from list in CubeMX!This is pretty annoying because i h...
Posted on May 24, 2016 at 15:41
Bug in file ''stm32f4xx_hal_dcmi.h'' at line 335:
#define __HAL_DCMI_GET_FLAG(__HANDLE__, __FLAG__)\
((((__FLAG__) & (DCMI_SR_INDEX|DCMI_MIS_INDEX)) == 0x0U)? ((__HANDLE__)->Instance->RIS & (__FLAG__)) ...
Posted on March 02, 2016 at 14:13
Hello, and the next SPI bug is insideHAL_SPI_TransmitReceive function.
It hangs communication after a few bytes shifted over SPI. The reason is that code logic is broken (it was correct in previous librar...
Posted on February 29, 2016 at 14:46
Hello!
After upgrading to latest version of cubemx (to 4.0) and updating HAL library to v1.0 my SPI code is broken in strage way - NSS pin state is igneored!
My test setup:
STM32F429VGT6 168 ...
Posted on February 20, 2016 at 14:51Hello and sorry for my bad English )I have a problem with FS USB Device (Embedded PHY) on STM32F429VGT6 MCU. I implemented custom USB ''vendor device class'' on top of ST USBD Core library and custom communicatio...
Posted on March 02, 2016 at 15:41
I edited CubeF4 code and my version works correctly
#define WAIT_SPI_FLAG(__flag) \
while
(__HAL_SPI_GET_FLAG(hspi, __flag) == 0){\
if
((Timeout != HAL_MAX_DELAY) && ((HAL_GetTick()-tickstart) >= Time...
Posted on March 02, 2016 at 13:33Undef after every generation is error-prone. You can find more bugs and fixing all of them every regeneration is really wrong.I'm fixing bugs right inside code 'repository' on my PC. For example SPI CRC problem:1. Op...
Posted on March 01, 2016 at 17:40but restarting the USB driver cannot be done in those functions. - why are you trying to restart USB driver? You should not do that. I'm talking about fixing bugs in ST generated code where endpoints are initialized!...
Posted on February 29, 2016 at 15:23Ok, I found source of bug in discussion [DEAD LINK /public/STe2ecommunities/mcu/Lists/STM32Java/Flat.aspx?RootFolder=/public/STe2ecommunities/mcu/Lists/STM32Java/%5bbug%5d%20GPIO%20setting%20for%20SPIx_NSS%20pin&F...