| ??? 05/10/03 21:04 Read: times |
#45198 - RE: ADuC812 and ADC problem Responding to: ???'s previous message |
First, I don't think DAC0L is in external RAM. You shouldn't be using MOVX there.
Second, your program doesn't have an end. Sure it says END, but that's only to inform your assembler that that's the end of your file. So end your program with a dead end loop (sjmp $), or even better, set the IDLE bit in the PCON register to stop the CPU (saves power!). Third, the ADC and DAC are 12-bit, you are only using the lower 8 bits. Spooky. If you want to use 8 bits, you should be using the highest 8 bits. |
| Topic | Author | Date |
| ADuC812 and ADC problem | 01/01/70 00:00 | |
| RE: ADuC812 and ADC problem | 01/01/70 00:00 | |
| RE: ADuC812 and ADC problem | 01/01/70 00:00 | |
| RE: ADuC812 and ADC problem | 01/01/70 00:00 | |
| RE: ADuC812 and ADC problem | 01/01/70 00:00 | |
| RE: ADuC812 and ADC problem | 01/01/70 00:00 | |
| RE: ADuC812 and ADC problem | 01/01/70 00:00 | |
| RE: ADuC812 and ADC problem | 01/01/70 00:00 | |
| RE: ADuC812 and ADC problem | 01/01/70 00:00 | |
RE: ADuC812 and ADC problem | 01/01/70 00:00 | |
| RE: ADuC812 and ADC problem | 01/01/70 00:00 | |
| RE: ADuC812 and ADC problem - Hans | 01/01/70 00:00 | |
| RE: ADuC812 and ADC problem - Hans | 01/01/70 00:00 | |
| RE: ADuC812 and, Raghu, Rami | 01/01/70 00:00 | |
| RE: ADuC812 and, Raghu, Rami | 01/01/70 00:00 | |
| RE: ADuC812 and, Raghu, Rami | 01/01/70 00:00 |



