Is it possible for hserout to be set to inverted baudrate?

It seems the only options available are h###### (baudrate). The device I’m trying to communicate with (an iRobot Create) uses an inverted baudrate and I’ve been unsuccessful in getting the sensors to work.

Using serout worked fine, but I’ll need hserin in order to communicate with the sensors… can anyone offer any advice?

Thanks!

What do you mean by inverted baudrate?

If you just mean the serial data is inverted the Atom can easily do that. I guess we need more information…

actually if he is asking for inverted polarity on the hardware serial (hserial) lines it may not be able to do that… it would have to be something you could program the uart in the hitachi chip to do and a device having that option would be unusual at best.

Ah ha! A quick look at the manual tells me there is polarity on the bit banged serial commands, but not on the hardware serial commands. Looks like there is no way to use Hserial with the Create.

Yeah, that’s exactly what I meant RoboDude! Sorry if I was unclear…

Anyhow, I’m working on a physical inverter then… since that’s what I need for hserout and hserin to work.

Thanks!

Just to confirm, the definitive answer is the hserial hardware on the AtomPro can not be inverted by the processor. The external inverter is the only option in this case. On the PICmicro based BasicAtom modules, however I think it is possible I just didn’t implement it IIRC. Been a while since I had to tweak any of that code.