I am trying to understand how shared access to SPI/I2C between sensor controller and TIRTOS tasks works. My use case is as follows:
* a sensor controller task that periodically reads from several sensors via SPI & I2C as well as ADC
* occasionally, some TIRTOS task may also need to read form the same sensors, or other sensors
* the TIRTOS task(s) need access to the values read/sampled by the sensor controller task
In this context, i have several questions:
1. how do i "acquire" the SPI/I2C peripheral access from the sensor controller task so i may use it in my TIRTOS tasks?
2. how do i read the sensor controller output values from my TIRTOS tasks
3. how do i set what the "tick" period of the sensor controller task is?
4. once i have a sensor controller task i am happy with, how to i generate an image for it and how to i integrate this in my general debugging workflow of regular TIRTOS task development? i.e. how do i upload the image?
Thanks in advance.