> I want to inform you about my last changes of "ln_sw_uart.c".
>=20
> I added a new value called "LN_TIMER_TX_RELOAD_ADJUST". This value=20
> reduces the error of the startbit of each byte. The current=20
> startit is=20
> to long. Unfortunality this value depences highly on used compiler,=20
> optimizationlevel and hardware. On my system "FREDI" it was nearly a=20
> quarter to long.
Good to hear that this has improved things. Is the performance better or =
as
good as the previous FRED version?
> For the future we have to find a better solution without an=20
> measurement on hardware.
>=20
> I hope you don't beat me now. ;-)
On the contrary, good that you have done the work to isolate and =
work-around
this issue.=20
The real solution is probably to rework the code like Stefan suggested =
and
do the whole lot in one consistent code path where each bit time will be =
the
same.=20
But at least for now you have got your hardware working, which is a lot
better than not working!=20
Make it go first, then make it better - has always served me well.
Alex
|