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++

multiple master on avalon

Altera_Forum
Honored Contributor II
1,125 Views

For a project a Nios processor has to communicate with a PID-controller defined in VHDL 

 

The PID controller will control the PWM IP core through the avalon interface where the PID controller is the master. 

 

The NIOS processor will also function as a master on the avalon interface to communicate with the UART/ ethernet interface and some custom devices. 

 

Setpoint must be changed in the PID controller by the NIOS processor, my question is: 

 

How can this communication be achieved? 

- Make a master and a slave connection for the controller where the master interface controls the pwm generator and the slave will receive some setpoints 

- Multiple avalon interfaces??
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
242 Views

 

--- Quote Start ---  

originally posted by klukkluk@Oct 25 2005, 09:07 AM 

- make a master and a slave connection for the controller where the master interface controls the pwm generator and the slave will receive some setpoints 

--- Quote End ---  

 

There you go. 

 

Also, if the Nios processor doesn't need to talk to the PWM IP, make sure it doesn't have a master connection to the PWM IP.
0 Kudos
Reply