Main Menu
Menu

Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Show posts Menu

Topics - dcollins

#1
LPC2xxx / Auto-baud Synchronization protocol
April 29, 2009, 11:12:44 AM
I have a requirement to write a custom ISP program for the LPC2292 because the serial data is passed through another device that must be configured separately, and we have to program several thousand units at remote sites so it must be easy to use.

In the Phillips user manual for LPC2119/2129/2194/2292/2294, page 263 there is one paragraph that describes the auto-baud routine synchronization. It says:

1) Host should send '?'
2) LPC should reply "Synchronized<cr><lf>".
3) Host should send "Synchronized<cr><lf>".
4) LPC should reply "OK<cr><lf>".
5) Host should send it's crystal freq "10000<cr><lf>" (for 10mhz)
6) LPC should reply "OK<cr><lf>".

This works up to step 4. When the host sends "Synchronized" in step 3, the LPC replies with another "Synchronized" string, rather than "OK". If I ignore this and press on with sending the crystal freq of "10000", the LPC repeats back with "10000".

Is this a different command structure than documented? Is it a signal that there is some other problem?

Thanks very much for the help.