from what i can remember there is no time limit you have to show you've been exercising your treaty rights in another EU country, thou many people recommend 3 months to provide more solid evidence you've been working in that EU country.
but there is nothing stopping you becoming self employed in that EU country, i'm sure there are loop holes around this that some people are using![]()