Unable to initialize MotionGC.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-03-22 9:17 AM
Hi,
I am unable to initialize MotionGC library, since the function MotionGC_Initialize(&val) does not stop execution (pretty much like an infinite loop).
Checking on the User Manual (UM2181), it is stated as a note regarding this function that " the CRC module in STM32 microcontroller (in RCC peripheral clock enable register) has to be enabled before using the library".
Is this the root of the problem and if so, which is the RCC peripheral clock enable register?
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-03-22 9:33 AM
Yes. it is most probably root cause of your problem.
If you use STM32 HAL drivers you need to enable CRC peripheral i.e. using HAL_CRC_Init().
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-03-22 9:33 AM
Yes. it is most probably root cause of your problem.
If you use STM32 HAL drivers you need to enable CRC peripheral i.e. using HAL_CRC_Init().
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report Inappropriate Content
‎2021-03-24 8:43 AM
You're totally right. It did solve the problem.
Many thanks. Cheers!
