I would like to understand if a time-optimal control (TOC) of a DC/DC converter can be realized on the PSoC 6.
The algorithm is rather simple:
The output voltage is compared to a reference, if it drops - the system enters TOC mode, which consists of two stages:
1. A logic high signal is generated until an indication is received in the form of a 1->0 transition of a dedicated pin. During this stage, a fast clock based counter measures the duration of this stage.
2. A logic low signal is generated with time duration that is a function of the duration of the first stage.
Would appreciate any thoughts
This should be possible using PSoC 6.
You can use the FreeRTOS library included in the Modus Toolbox to run the tasks according to their order and priority. Since the Cortex M4 core can run at frequency of 150MHz, there wont be any issues. The API latencies would be almost negligible.