Manage to make this work down to 20us sampling rate at best. At 10us sampling things were not behaving systematically and getting reinterrupted before the 10us was up. Needs for investigation, but for now 50khz sampling should be good enough.