I think I discovered another mistake in the baud rate constants:
B38400_20 is defined as 172, but it should be 129.
I checked it in my circuit, communication works at 38400 baud (28X1 running at 20 MHz) when I use a hardcoded 129 a baudrate parameter for hsersetup, but it doesn't when I use B38400_20.
My programming editor is version 5.2.0 which seems to be the most recent.
Wolfgang
B38400_20 is defined as 172, but it should be 129.
I checked it in my circuit, communication works at 38400 baud (28X1 running at 20 MHz) when I use a hardcoded 129 a baudrate parameter for hsersetup, but it doesn't when I use B38400_20.
My programming editor is version 5.2.0 which seems to be the most recent.
Wolfgang