[En-Nut-Discussion] Timeouts in Microseconds
jpmerle2010 at gmail.com
Sat Apr 6 14:10:00 CEST 2013
Your question brings me another one:
Is there any interference between using nutos and using hardware in the same code?
My intend was to use nutos call for modbus tcp protocol (use of tcp socket), and hardware pwm on PORTB, with settings for pwm provided from analog input of ADC via PORTF.
At this time hardware code for PWM and ADC is finished yet. I have now to program TCP, so I just begun to discover use of nutos.
Should I write everything with nutos calls, including pwm and ADC?
On Apr 5, 2013, at 8:01 PM, Hugo Simon <hugo.simon at gmx.de> wrote:
> for a serial bus protocol I have to find out if the gap between two bytes was more that 60 microseconds.
> But the NutOS timers run at milliseconds interval.
> Can I somehow measure times lower that milliseconds via NutOS calls? Or should I build an own timer ISR for that? Which timer can I use without interfering with NutOS?
> I am using NutOS 5.1 on an Ethernut 2.1b board.
> Thanks all.
More information about the En-Nut-Discussion