#avr Logs

Jul 04 2020

#avr Calendar

01:36 AM markasoftware: lol, the 4809-based Arduino Nano Every uses a 32-bit ARM CPU just to implement UDPI
05:08 PM phinxy: How come atmega32 ADC value jumped all over the place until I put prescaler way down? At 8Mhz clock prescaler had to be put to /8. /64 and /32 did not work at all
05:08 PM cehteh: did you read the datasheet?
05:09 PM cehteh: you cant run the ADC at any possible speed
05:09 PM cehteh: and the higher the input impedance the more inprecise it gets at higher speeds
05:09 PM phinxy: A bit. 200khz were suggested, and that would be prescaler /40
05:10 PM phinxy: not suggested in the datasheet but at some forum thread
05:12 PM cehteh: datasheet is aothorative
05:13 PM cehteh: also you must have no frequency component higher than 1/2 your sample rate in the input
05:14 PM phinxy: originally there was a 4.7uF tantalum over the 17mA constant current regulator. I placed a few 100nF+10nF ceramics there and to GND but it did not help as much as setting prescaler to /4
05:16 PM cehteh: prescaler to proper frequency is a prerequisite
07:56 PM phinxy: Can atmega328p have any hardware PWM on OC1A or does it have to be OC0?
08:05 PM phinxy: toggle,clear or set on compare match?
08:05 PM phinxy: whats the difference.
08:20 PM phinxy: I just had to look at the table, sorry for asking before reading
10:16 PM rue_mohr: its ok, sorry for taking 3 days to say I'm sorry that it took me 3 days to say I'm sorry
11:35 PM day_ is now known as day