I may be blind, but I really don't see a huge benefit to doing this. Provided that you can accurately schedule all of your events between input events, what does it matter? If the answer is "knock windowing" or similar, you could implement a rough clock for that fairly easily, but outside of your timers or using the xgate you wont be able to make use of the resolution. If you want the angle clock to reflect reality you need to add degrees at a variable rate due to the current acceleration of the engine etc. = 32bit math = xgate not so good for that.Movex wrote:Yes, doing comm tasks or bit banging works really fine but that's far below what the Xgate can achive. Implementing angle clock would be nice.
Over rated IMO.
Fred.

 They can be had in a large variety of pin counts (44-100) , programmers are cheap,  and they have suitable performance/architecture for a high performance (barebone) ems,  in my opinion.
 They can be had in a large variety of pin counts (44-100) , programmers are cheap,  and they have suitable performance/architecture for a high performance (barebone) ems,  in my opinion.