Hi batfink,
Thanks for the reply, it is very helpful. Let me explain exactly what I need to do and maybe you can tell me which is the best way to do it.
I have a working code (with a working circuit) that functions fine.
My circuit have to be self-calibrated. The self calibration should happen once, after the first power-up. I also need an option to perform the self-calibration again once in a while but basically it should happen once.
What I need to do is to run the self-calibration and once it is finished to run the working code that I have right now. The calibration process will use some of the pins that are used by the proper code.
What will be the difference between implementing these 2 tasks (self-calibration and proper code) in 2 different entities or 2 different architectures in the same entity?
Also, can you explain a little more about multiple architectures for the same entity?
Thanks,
Dvido