2018-11-14 11:22 PM
I integrated STemWin using CubeMX into an STM32f767BIT6 project and it only works with default settings for CRC. If I change the settings, execution halts inside the GUI_Init() function. I need to get StemWin to work with the following settings for CRC:
Length : 16-Bit,
Generating Polynomial: X12+X5+X0,
Init Value: 0xffff,
Input Data Inversion: Byte,
Output Data Inversion: Enable
Input Data Format : Bytes.
I replaced
_DMA_ExecOperation()
with
while (DMA2D->CR & DMA2D_CR_START) {}
in bot configurations, otherwise execution halts inside "_DMA_ExecOperation()" function.
I attach both Cube configurations. Any advice is appreciated.
2018-11-14 11:29 PM
ST uses the 32-bit default mode of the CRC Peripheral to validate it is running on STM32 chips. I'd patch the object.
2018-11-15 12:26 AM
@Community member , what do you mean by patch the object ?
2018-11-15 10:24 AM
I mean go in with a hex editor and "fix" the problem..
2018-11-15 11:10 PM
Thank you, @Community member .