Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
12620 Discussions

Configuring the System clock timer in system library

Altera_Forum
Honored Contributor II
1,061 Views

Hello, 

 

I am trying to configure the system library of a NIOS II IDE Application. In the system library contents, there is an option named "system clock timer" that can be set to none or to a timer present in the SOPC. 

 

I've chosen to have no RTOS (single threaded).  

 

What are the impacts to set the "system clock timer" to none ? or to set it to the timer present in the SOPC ? 

 

Best regards, 

 

Alora
0 Kudos
3 Replies
Altera_Forum
Honored Contributor II
297 Views

If you don't have a system timer, some functions won't work. Functions such as sleep, all the time functions, the alarms... If you don't use them, you don't need to set a timer.

0 Kudos
Altera_Forum
Honored Contributor II
297 Views

In fact, I don't need to use these functions. Thanks for you answer. 

 

Alora
0 Kudos
Altera_Forum
Honored Contributor II
297 Views

I would recommend that you clearly indicate in some documentation somewhere that you didn't put a system timer and what the consequences are. 

 

You never know how projects evolve over time, and you may need to add a delay or timeout mechanism one day, and spend hours trying to find out why it doesn't work... ;)
0 Kudos
Reply