03h DOut Ratio

Universal Controller for CAN Applications
Post Reply
Techteam
Posts: 22
Joined: Sat 27. Aug 2016, 11:02

03h DOut Ratio

Post by Techteam » Wed 22. Mar 2017, 15:27

Hi

I want to have a digital out based on a can message which sets the duty and frequency. I can get the digital frequency out to work but I don't seem to be able to manipulate the duty or frequency. It is mentioned under Bonus exercises in the Tutorial but doesn't explain how to acheive it.

Thanks

Techteam
Posts: 22
Joined: Sat 27. Aug 2016, 11:02

Re: 03h DOut Ratio

Post by Techteam » Wed 22. Mar 2017, 16:36

I have managed to get the duty to change but not the frequency.

User avatar
S.Schott
Hardware Development
Hardware Development
Posts: 32
Joined: Mon 4. Oct 2010, 16:50

Re: 03h DOut Ratio

Post by S.Schott » Thu 23. Mar 2017, 12:35

Hmmm, let's see:


Dout Ratio is set by "03h Dout Ratio"

so:
Dout Frequency might be set by "01h Dout Frequency" ?

Techteam
Posts: 22
Joined: Sat 27. Aug 2016, 11:02

Re: 03h DOut Ratio

Post by Techteam » Thu 23. Mar 2017, 17:45

Thankyou for the help. I didn't realize you could assign the different functions to the same output. Works perfectly when I place a value for 01h in default values for data objects in the config.
Last edited by Techteam on Fri 24. Mar 2017, 12:01, edited 1 time in total.

Post Reply