I have designed a board with 16 a/d channels and 8 d/a channels (12bit) with an Atmega328p processor. Both devices are on an SPI bus. It all works just fine.
I am now using Easy Schedular to run the tasks
My question is "by haveing separate task running at different intervals can the both access the SPI bus at the same time unintentionally".
I've done some reading RTOS and the term "gatekeeper" is used to prevent the case mentioned.
Would some code like this be required or are the separated tasks sufficent?
Be gentle I'm a hardware guy.