Main Site Documentation

PWM output on G80 CPU


#1

I’m trining to use PWM output on G(0 CPU, I have some problem, following http://docs.ghielectronics.com/tinyclr/tutorials/pwm.html

First of all I cannot find correct reference (my firmware is 4.3)!!

Ideas.

Regards


#2

that is the TinyCLR OS reference, not Netmf 4.3.

http://old.ghielectronics.com/docs/18/pwm is the reference you want


#3

OK checked, just a question, I’m using PC6 (pin 63) exit and it’s named PWM16 on board.
That’s not recognized by software it propose number from 0 to 7.
How can I use PWM16 output??

Regards


#4

The NETMF PWM definitions only include the first few pins. You’ll want to use the GHI.Pins assembly, it has definitions for each of our products. GHI.Pins.G80.PwmOutput.PC6 is the one you’ll want.


#5

Hi Matteo,
I am not in 100% sure but from what I remember PWM did not work especially correctly on Netmf 4.3 This bug has been fixed in version 4.4.
BR,
Przemo