I’ve got some sensors that I’ve written drivers for which use InterruptPort to notify whenever something happens.
The problem is that the very first time the event triggers it takes one or two seconds to fire. All subsequent events are raised instantly.
I assume that this has to do with the way .NETMF runs code, so I’m not sure if there is any way around it. I’ve tried to manually call the eventhandlers after my board has booted, just to warm up all the bits, but the first time the event is raised it is still very slow.
Is anyone else seeing the same? Is there anything to do about it?