In microorganisms and plants TPP results from coupling of pyrimidine fragment HMP-PP with thiazole fragment HET-P to give thiamine monophosphate, followed by conversion to the pyrophosphate. 
Biogenesis of HMP-P and  HET-P vary with types of organism.