VCC Problem?

Hi,

I use an ADXL335 accelerometer with ATMEGA328P in my project and i have problems when i read values from the 3 axis. The values are always the same and the value are 1023. I use a LP2950ACZ-3.0 for regulate the voltage to ADXL335 VCC. In the LP2950ACZ-3.0 output i use a 2.2 uF capacitor. If I use the arduino plataform (same micro controller) i haven’t this problem. Can you help, please?

I already make some changes… I used a LM3940 regulator (regulate voltage to 3.3v) but i haved the same problem.

Help me!

Thanks in advance.

Rolando Rocha

Portugal

If you don’t get an answer here… try the user forum on avrfreaks.net