Welcome! Log In Create A New Profile

Advanced

MX370_rookie3_part1.bas shows 40MHz clock

Posted by Tinine 
MX370_rookie3_part1.bas shows 40MHz clock
April 23, 2016 01:06AM
Hi Jim,

Shouldn't this be updated for the 80MHz device?


// TIMERS
//
// Calculater period assuming 40MHz perif clock
// prescale             counts / ms     second   *32 bits needed  Timer 1 pre
// 256 (7) =  6.4 us    156.25          156250                        3
// 64  (6) =  1.6 us    625             625000   *                    2
// 32  (5) =  0.8 us    1250            1250000  *
// 16  (4) =  0.4 us    2500            2500000  *
// 8   (3) =  0.2 us    5000            5000000  *                    1
// 4   (2) =  0.1 us    10000           10000000 *
// 2   (1) =  0.05 us   20000           20000000 *
// 1   (0) =  0.025us   40000           40000000 *                    0
//
Re: MX370_rookie3_part1.bas shows 40MHz clock
April 27, 2016 10:11AM
Hello?
Re: MX370_rookie3_part1.bas shows 40MHz clock
April 28, 2016 09:00AM
hello,
I think peripheral bus the mx370 is set to 40MHz so it could be the same, if not just divide or multiply by 2
Sorry, you do not have permission to post/reply in this forum.