MicroMod PWM Input

Universal I/O Module with CAN Interface
Post Reply
galloway.brad@gmail.com
Posts: 1
Joined: Tue 7. Aug 2018, 20:24

MicroMod PWM Input

Post by galloway.brad@gmail.com » Tue 7. Aug 2018, 20:32

Looking to read 2 PWM inputs into a Micromod frequency lines. I have the eval board & PCAN programmer. Looks like i will need to write custom firmware as config utility only allows for PWM out, not In.
Is there a way to read PWM with standard Micromod?

Having difficulties getting softune workbench. Any other IDE's you recommend.

The PCAN config download includes example code and the .mhx files of the V2.2.5 code. Is the source available for 2.2.5 that i could build from to read PWM values coming in on Frequency input lines? Would rather not start from scratch.

Thanks Brad

G.Bohlen
Hardware Development
Hardware Development
Posts: 66
Joined: Wed 22. Sep 2010, 21:38

Re: MicroMod PWM Input

Post by G.Bohlen » Wed 8. Aug 2018, 09:44

Dear Brad,

we can offer you a firmare that allows you to read in two PWM-Signals.
The standard configuration tool can be used for configuration. The frequency-input dialog will be used to configure the CAN-ID and byte/bit position for the pwm-value on the CAN-Bus.
It is requirde to connect DIN0 & DIN1 together to the first pwm-channel and DIN2 & DIN3 to the second pwm-channel.
Please contact our support (support@peak-system.com) to get the firmware with a reference to this forum entry.

Regards,
Gunnar Bohlen

marek.belisko
Posts: 8
Joined: Fri 12. Jul 2019, 08:40

Re: MicroMod PWM Input

Post by marek.belisko » Wed 27. Nov 2019, 09:47

Hello,

I need same configuration to read PWM input (read freq and duty cycle) but I need 4 channels. In previous post there is mention for 2 only, so it's limited to 2 or can use more? Thanks.

G.Bohlen
Hardware Development
Hardware Development
Posts: 66
Joined: Wed 22. Sep 2010, 21:38

Re: MicroMod PWM Input

Post by G.Bohlen » Wed 27. Nov 2019, 11:41

Hello,

PCAN-MicroMod has 4 Frequency-In channels (FIN), but for PWM Measurement it is required to connect 2 FIN-Channels (0+1) or (2+3) to the same PWM-signal. Therefor PCAN-MicroMod supports measuring of 2 PWM Signals.

Depending on the MicroMod baseboard the FIN-Channels are separate available (e.g. PCAN-MicroMod Eval, MiroMod Mix3), or DIN and FIN channels are tied together (e.g. PCAN-MicroMod Digital1/2 PCAN-MicroMod Mix1/2).

Regards,
Gunnar Bohlen

Post Reply