cancel
Showing results for 
Search instead for 
Did you mean: 

What are the CRC dependencies that TouchGFX expect

desmond
Associate III

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. 
1 ACCEPTED SOLUTION

Accepted Solutions
GaetanGodart
ST Employee

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,

Gaetan Godart
Software engineer at ST (TouchGFX)

View solution in original post

5 REPLIES 5

@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 Venmo
Up vote any posts that you find helpful, it shows what's working..

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

@STOne-32 

Any updates?

GaetanGodart
ST Employee

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,

Gaetan Godart
Software engineer at ST (TouchGFX)

Hello @desmond ,

 

Have you been able to solve your problem?
If so, I invite you to select the most helpful comment as "best answer".

 

Regards,

Gaetan Godart
Software engineer at ST (TouchGFX)