Skip to main content
Associate III
February 29, 2024
Solved

What are the CRC dependencies that TouchGFX expect

  • February 29, 2024
  • 2 replies
  • 2213 views

We are starting a new project which requires TouchGFX. However our project will be leveraging a significant portion of our existing code. Thus I have some questions relating to how TouchGFX uses the hardware CRC.

  1. Can you confirm whether TouchGFX requires the hardware CRC?

Assuming the answer to the question above is Yes, see my followup questions.

  1. Can TouchGFX and the STM Crytpolibrary work concurrently, without me having to load/restore the hardware CRC registers.
  2. Can you explain when TouchGFX expect the CRC module so we can correctly provide concurrent behavior to all parts of our software?
    • We currently use the hardware CRC + Crytpolibrary concurrently in our software. We accomplish good behavior by load and restore the CRC registers before/after the Crytpolibrary uses it. 
Best answer by GaetanGodart

Hello @desmond ,

 

We had internal discussion and since TouchGFX only require CRC at startup, it seems you could fix your problem by first initializing TouchGFX, then and only then, initializing STM Cryptolibrary.

Can you try that and keep us updated on the result?

 

Regards,

2 replies

Tesla DeLorean
Guru
February 29, 2024

@STOne-32 can we please reconsider the need for these bear-traps, you've won the market share battle, and they're readily circumvented.

Tips, Buy me a coffee, or three.. PayPal VenmoUp vote any posts that you find helpful, it shows what's working..
STOne-32
Technical Moderator
March 2, 2024

Dear @Tesla DeLorean @desmond ,

 


The question is crystal clear , thank you for spotting it in case of multiple stack/Libraries used on same application to have a smarter STM32 lock solution . Let me some time and back to You .  

Cheers,

STOne-32

desmondAuthor
Associate III
March 14, 2024

@STOne-32 

Any updates?

GaetanGodart
GaetanGodartBest answer
Technical Moderator
May 30, 2024

Hello @desmond ,

 

We had internal discussion and since TouchGFX only require CRC at startup, it seems you could fix your problem by first initializing TouchGFX, then and only then, initializing STM Cryptolibrary.

Can you try that and keep us updated on the result?

 

Regards,