There should be no problem to switch between theese two baudrates "on the fly". All you need to do is put correct values in the SPBRG register(and perhaps bit BRGH in TXSTA). There is a table specifying SPBRG values at diffrent oscillatorspeeds. I can't help you further without knowing what crystal you're using.
Bookmarks