Forum Discussion
Altera_Forum
Honored Contributor
21 years agoNios II Uart
Hello evrybody,
I don't undertand, my uart doen't works correctly. In fact it works only when I drive it with IOWR & IORD but never with HAL functions. is there anybody has some little piece of c code witch drive the nios II uart ? Thanks a lot Etienne1 Reply
- Altera_Forum
Honored Contributor
Hi etienne..
If you have use Nios II / fast version, I think that you can solve this problem data cache flush. Because all variable in Nios II / fast version be cached. let try to use data cache flush function(alt_dcache_flush()), after some command Also, IORD and IOWR are provided to access non-cacheable memory region.