cancel
Showing results for 
Search instead for 
Did you mean: 

ST6200A->C A/D problem

charles4
Associate II
Posted on January 28, 2004 at 19:01

ST6200A->C A/D problem

2 REPLIES 2
charles4
Associate II
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?
charles4
Associate II
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.