Skip to main content
Visitor II
January 28, 2004
Question

ST6200A->C A/D problem

  • January 28, 2004
  • 2 replies
  • 653 views
Posted on January 28, 2004 at 19:01

ST6200A->C A/D problem

    This topic has been closed for replies.

    2 replies

    charles4Author
    Visitor II
    January 28, 2004
    Posted on January 28, 2004 at 15:00

    Dear Anyone,

    I have an application running beatifully on an ST62E01 (A?). When I blow it on an ST6200C the system fails. It appears that the A/D is returning a high value. I initialte the A/D conversion with the command ''LDI ADCR,00110000b'' which looks good from the Rev C manual. Any ideas?
    charles4Author
    Visitor II
    January 28, 2004
    Posted on January 28, 2004 at 19:01

    Thanks anyone for thinking of this problem, but it is not the A/D.

    It is the 1k memory of the ST6200, it does not start on a 64 byte boundary. I normally place look-up tables at the start of the software as it is on a boundary. The 1k Rom starts at 0BA0 which is half way into a 64 byte window, that caused horrible problems. The answer is to 'org' the code from 0BC0 and all is well.

    8 hours & a headake later, all well.