Unfortunately I posted it before I realised my dumb benchmarking loop was driving some of the variables to zero. So the FP routines could and did exit early!
John Devereux
P
Phil Hobbs
timing-sensitive
main(). That
timing.
yet--I'm
isn't very
shorter
Of
much
is
speed
like CPU
ISR,
it's
like
I dug into this a bit more, and discovered that NXP claims a fixed
12-cycle interrupt latency, so it looks as though they solved this problem already. STM32F and L both say "maximum 12 cycles".
So obviously PICs still rule for timing. ;)
Cheers
Phil Hobbs
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC
Optics, Electro-optics, Photonics, Analog Electronics
160 North State Road #203
Briarcliff Manor NY 10510
845-480-2058
hobbs at electrooptical dot net
http://electrooptical.net
J
John Larkin
timing-sensitive
main(). That
timing.
yet--I'm
isn't very
shorter
I'm
Of
much
is
speed
like CPU
ISR,
it's
like
formatting link
The LPC3250 has *one* interrupt vector; the front-end of the ISR has to figure out whodunnit. This is PDP-8 technology.
John Larkin, President Highland Technology Inc
www.highlandtechnology.com jlarkin at highlandtechnology dot com
Precision electronic instrumentation
Picosecond-resolution Digital Delay and Pulse generators
Custom timing and laser controllers
Photonics and fiberoptic TTL data links
VME analog, thermocouple, LVDT, synchro, tachometer
Multichannel arbitrary waveform generators
P
Phil Hobbs
timing-sensitive
main(). That
timing.
yet--I'm
isn't very
shorter
Of
much
is
speed
like CPU
ISR,
it's
like
My early stuff has started to get reinvented too. ;)
Cheers
Phil Hobbs
Dr Philip C D Hobbs
Principal Consultant
ElectroOptical Innovations LLC
Optics, Electro-optics, Photonics, Analog Electronics
160 North State Road #203
Briarcliff Manor NY 10510
845-480-2058
hobbs at electrooptical dot net
http://electrooptical.net
K
krw
timing-sensitive
main(). That
timing.
yet--I'm
isn't very
shorter
I'm
Of
much
is
speed
like CPU
ISR,
it's
like
formatting link
Doesn't do anything, but it's sure consistent! ;-)
Join the Discussion
Have something to add? Share your thoughts — no account required.
Didn't find your answer?
Ask the community — no account required
Report Content
You are reporting this content to the moderators. They will look at it
ASAP.