I am evaluating SYS/BIOS for use in a servo control project where highest sample rate would be 40uS. I used CCS Wizard to create a new 'typical' SYS/BIOS project and wrote a very simple LED toggle program that repeatedly toggles an LED during the IDLE time and then toggles a second LED once each time the system services a CLOCK event (this is all on the DRV8312-69M-KIT). The CLOCK Tick period is set to 200uS and the instance that toggles this second LED has a period of 1 (so it should toggle every 200uS). When I look at the signals driving these two LED's on a scope I see that the IDLE LED stops toggling some 110uS before the CLOCK instance LED toggles, and then starts up again about 25uS after. Assuming the time during which the IDLE LED is not toggling is SYS/BIOS overhead, that suggests an overhead of around 135uS to handle the HWI and SWI and whatever other processing is associated with the CLOCK event. This is on a 90MHz 'F28069. If these numbers are real, SYS/BIOS has too much overhead to be used with a system with my clock rate and sample rate. Do I have something set up wrong or should I expect this kind of overhead from SYS/BIOS?
Thanks,
Mitch H.