#avr Logs

Jan 26 2019

#avr Calendar

12:24 AM rue_bed: hmm, lets see, to do 100 Hz, I think I use 32.000k with a /32 prescaler
12:29 AM rue_bed: if I want 1hz, I use 32768, with a /128 prescaler and an 8 bit rollover
12:29 AM rue_bed: I'd have to dig up code
12:29 AM rue_bed: the 32.000khz crystals were a lot more $ iirc
05:17 AM jancoow: cehteh: heyhey
05:17 AM jancoow: cehteh: I worked out your idea and it works great :)
05:20 AM jancoow: https://jancokock.me/f/f942c
05:20 AM jancoow: the calculate steps is far from optimized ofcourse
05:21 AM cehteh: hi
05:21 AM jancoow: ug-h. My code upload script removed all "++" again lols. So don't look to close to the code I just send :P
05:21 AM cehteh: eh you forgotten to ++current_tick :D
05:22 AM jancoow: https://jancokock.me/f/78bf3/ here this one uploaded correctly
05:23 AM cehteh: ah
05:24 AM jancoow: so thanks for all the help so far :D
05:25 AM cehteh: looks good
05:25 AM cehteh: btw your dmm has duty cycle measurement
05:25 AM jancoow: it has?
05:26 AM jancoow: How do you know :P
05:26 AM cehteh: so you can enable portb5 as first on the isr and disable it at last
05:26 AM cehteh: you shown me a pic or?
05:26 AM cehteh: assumming portb5 is the buildin led as on many boards
05:27 AM cehteh: then with duty cycle measurements you can already measure how much % of time the isr needs
05:27 AM jancoow: There is no buildin led
05:28 AM jancoow: Not sure how Iwould measure the duty cycle
05:28 AM jancoow: tried to measure it on the output to the ledstrip but it keeps saying "1" :P
05:29 AM cehteh: ah ok then not
05:29 AM cehteh: needs better dmm
05:29 AM cehteh: and works with any other unised pin, i usually use the led for that because chip load is also nicely visible then
05:30 AM jancoow: ah right
05:30 AM jancoow: Yeah I like the idea of debuggin in that way
05:30 AM jancoow: I should really invest on these logic analysers
05:30 AM cehteh: on my os i can configure more pins for such things
05:31 AM cehteh: async errors, context switches, interrupt, non interrupt (non sleeping) and custom debug channels
05:32 AM jancoow: which OS?
05:32 AM cehteh: https://muos.pipapo.org/
05:52 AM jancoow: cool!
05:52 AM jancoow: anyhow have to drive to germany now :) so bb
05:52 AM jancoow: Will implement the i2c later this week
05:52 AM * cehteh goes cycling
07:38 AM davor_ is now known as davor
08:07 AM horohoro: Hello Everyone, Good day to All
10:48 AM con3|2 is now known as con3
11:45 PM day_ is now known as day