How to create a 38 Khz pulse with arduino using timer or PWM?

praky:
If this can't be done in software then only I wish to go to a 555 timer.

You have several software options open to you. Or a 555 timer.