I've already seen this and this. But I can't decide how to correctly wind a SMPS transformer. This is the transformer:
I mantain the same turns direction (CCW if you look at transformer from the top).
I start winding the first half of primary. I consider this the dotted end.
Now I wind secondary in the same direction. Which is the dotted end? On the dotted end I must connect the anode of the fast rectifier diode and I don't know which one is it.
Now I wind the auxiliary. Considering the dot at start is correct?
And finally the second half of secondary. But now I'm winding from the top of the transformer towards its bottom. Is this correct?
The drawings do not reflect the actual number of turns.