An angle clock is the solution.
My proposal is effectively a software based angle clock that attempts to extend the SWAG resolution (due to LRP restrictions).
The ultimate idea is that HWAG will be the final solution that allows us to do it right. It pulls the SWAG operations out of the HET, thus decoupling us from the LRP restrictions that plague us. HWAG (as I understand it) runs outside of the HET, but is accesable by the HET --- it's parallel to the HET. The (S)oft(W)are (A)ngle (G)eneration instructions that we have to run (APCNT->SCNT->ACNT) are done is hardware at a higher rate and we should meet our resolution/rev rate specs. 300Hz w/.1deg resolution.
That's a big assumption so I'm going to use that non-public HWAG doc to help me determine, to a higher degree, if it really is a solution. Maybe there is enough in there that I can trust to just do it on the HWAG and be done with it. That's effectively crossing my fingers and I really don't like that. I have huge reservations using undocumented stuff like this though. I'd rather not.
mk e wrote:
...an "angle clock" is just conversions you don't need to thing about nothing more right?
I think what you're asking is angle clock is 'hands off' ? Yes. You just set and forget on angles because the SWAG/HWAG is doing what we're going to have to do manually by shifting work to the core for updates. For fuel, same thing - you just schedule a width and when that angle rolls around it kicks itself off automatically.
I can tolerate a hack on the way to a final proper solution, but if the final solution isn't going to be there, I'm going to go a different path/playground where there is no more of this 'at the mercy of the mfgr' stuff.