Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers

pwm input

Altera_Forum
Honored Contributor II
1,007 Views

hi, i'm using an ultrasonic sensor for my project where the sensor has PWM output. i would like to connect the sensor to de2 board. i'm already done the programming part. can anyone helps me how to connect the PWM output to de2 board. which pin i have to use on de2 board. is de2 board has pwm input? 

thanks.. 

regards,  

faizul
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
325 Views

pwm is a digital signal, so you can connect to any fpga i/o pin: actual pwm signal processing is done inside fpga, then you'll freely code it with hdl. 

The important point you must consider is signal levels: fpga I/Os on de2 board use 3.3V LVTTL standard; if your sensor output is 5V or 24V you definitely need a voltage level translator.
0 Kudos
Reply