I have a problem with my uart driver and thread execution. For the correct functioning of my device I had to bring the ticks per second to 2000.With this value I have problems with access to external uart, probably since the CS is multiplexed for different devices that are used by different threads.It appears that some uart registers are not set correctly. If I reset the ticks for 100 seconds everything works.I tried to set delay cycles on CS4 but it still doesn't work.What do you think it can depend on? I attach CS multiplex image
In reply to WarrenM:
In reply to Paolo Miatto:
In reply to Ian:
Each thread has its priority, but if I want sleep one thread for 0,5ms i need change ticks or am I wrong?
I tried to analyze the signals with the logic analyzer and I have an acquisition that I don't understand. The uart CS sometimes has wrong times compared to how it should be (with low A3, A4, A5 it should be identical to CS_MULTI). I attach image
In reply to Dale Drinkard: