Hello, and welcome to the forum.
You might download Application Note AN2502, which described a software UART that made use of the TIM timer module within a previous HC908 device family. The assembly code presented may require some adaption to suit the TPM module of the newer MC9S08 device family.
I assume that the software UART is required because your project needs two UARTs?
Regards,
Mac