Hi,
The PBP command SHIFTOUT can only work in master mode, ie the PIC is what "drives" the communications and therefor provides the clock. Is that what you're trying to do or is your external device providing the clock which the PIC is supposed to "use"?

Many PICs have an MSSP module which is much like an USART but for syncronous type commuinications like SPI and I2C. It can operate in either master or slave mode but PBP does not have any built in commads to handle it - you'd need to drive it "manually".

Please elaborate a bit and I'm sure someone will come to the rescue.

/Henrik.