Blogger

Delete comment from: Ken Shirriff's blog

Anonymous said...

Thank you for the post .

I am trying to run this code on AM6546 . I am getting more delay than configured.

Instead of
while (!(__R31 & (1 << 30))) {} // Wait for timer compare interrupt

I am polling on ECAP Interrupt flag as ,
while((*ECAP_INTFLG & (1 << 8))){};

here ECAP_INTFLG is #define ECAP_INTFLG ((volatile uint16_t *)(ECAP + 0x2E))

can you please help here

Aug 14, 2019, 4:09:02 AM


Posted to The BeagleBone's I/O pins: inside the software stack that makes them work

Google apps
Main menu