Open satar1980 opened 1 week ago
I have a very simple implementation of udelay. Change this function: void udelay (u32 us) { for(u32 tmp = ctr_us + us; ctr_us < tmp; ) {}; }
I have used this code, with avs timer init just make 300khz void udelay (u32 us) { for(u32 tmp = ctr_us + us; ctr_us < tmp; ) {}; }
and if I use timer0 the result is worse under 200khz
I made the following code, but it only outputs 333khz not 500khz :
can you fix it sir