I am new to the Raspberry Pi, and would like feedback to know if the following would work:
I would like to run 2 Raspberry Pi's (RPi's) along with my MacBook Air. I assume the Mac would be best for writing and compiling code. One "normal" RPi would run my high level C user program in the normal Debian environment so I could display info via HDMI display, get user input via keyboard / mouse, talk to the Mac when needed, and talk to the 2nd "userAsm" RPi. The userAsm RPi would run ONLY my own assembly code, with NOTHING else (including OS and interrupts) running, and it would be responsible for real-time control of stepper and servo motors, reading encoders & buttons and real-time clock, and controlling misc. hardware and breakout boards all through the GPIO bits.
This would isolate all high speed real time code to the userAsm RPi which would run only my assembly code in a very high frequency polled state machine architecture, using a high frequency resolution real-time clock (hardware added as needed).
The normal RPi would get input from the user and display information, and talk as needed to the userAsm RPi and the Mac. It would use the normal OS and would be subject to normal latencies and interruptions.
Does all this sound reasonable? Being new to the RPi, I really need the feedback before diving into this kind of project. As a bit of background, I have been an arcade and console game programmer my whole career and am used to doing projects in this type of manner.
Thanks for your comments.