Forum Discussion
Altera_Forum
Honored Contributor
20 years agoI think it is not an cache problem. I assume he uses the peripheral adress which is defined in the nios2_system.h, so the peripheral access with such a structure will bypass data cache.
Anyway, i would avoid accessing the peripheral with structure. just do it in the good old classic way: use outl and inl. so far i haven't tried your code...