Second attempt: first one the server failed on submit? Will start with data from Lynxmotion posting this time...
Build 2.0.0.6 (and prior ones as well)
Real quick update on high speed. I know from the past that specifying a baud mode of i115200 did not work properly with the SSC-32. So I thought I would experiment a little. I know that I115200 compiles to 0x4011, where the high nibble of 4 is for the invert. the 0x11 or 17 is the number of .5us units of time that each bit takes.
That is 2000000/115200 = 17.36... As I mentioned before the 115200 appeared to actually output at 125000 (at least according to my logic analyzer), So I decided to try a baud mode of: 0x4012, with a real simple test program:
Code:
Main:
serout P16, I115200, ["ABCDEFGabcdefg0123456789"]
serout p17, 0x4012, ["ABCDEFGabcdefg0123456789"]
pause 20
goto main
The logic analyzer again said that P16 had a baud calculated at 125000 and it had P17 calculated as 117647, if I tell it to use the baud rate of 115200, it still properly identifies all of the characters that were output. I also modified the program to instead use 0x4013, the auto-baud feature guessed the baud as: 111111. If I manually told it to use 115200, it again showed the right characters, but I noticed that where the analyzer said the sample locations was appeared to be closer to edges (more likely for errors).
So next step is to try recompiling the CHR3 with SSC-32 with cSSC_BAUD set to 0x4012 and change the jumpers and see if it works...
Update: I updated the CHR3 as I mentioned and it appears to work with the baud mode I mentioned above...
Notes: compiling with 115200 (0x4011) says the pulses should be 8.5us in length. The measure length was 8us. The 0x4012 should have pulses of 9us, but measured 8.5. It is almost like there is an off by 1 error in calling a delay loop of 10 cycles. This probably would not impact lower speed as the percentage off would not be as much...
Ken - Also the manual should probably mention how the data like: Parity, Inverted, Open Drain, Baud rate is encoded on the Baud mode.
Kurt