02-08-2017 04:22 AM
My name is Mihai, I am new into these kind of digital boards. I have a project for my faculty and I need to write some code in Vivado interfacing a Nexys-4 board. My project title is "PMOD-SPKR - generating a sound with the frequency "x" and the amplitude increasing". I would appreciate a lot if you guys can help me with this project!!!
Thank you, have a great day!
02-08-2017 07:53 AM
sounds a fun project
can't give much detail help
but try looking up things like Pulse Width Modulator ( PWM ) and sigma delta dac.s
plenty of examples around once you know the words to look for,
good luck with the project.
02-09-2017 04:26 AM
It's a straightforward project, but it should not be your absolute first FPGA project. Start by just getting an LED to come on when you press a switch. That'll at least get you up to speed with the most basic aspects of your selected language (VHDL or Verilog) and the FPGA hardware (assigning pins, programming the board, etc). I'm sure there are plenty of good Nexys-4 tutorials available showing exactly how to do this.
Once that's done, you can move on to sequential logic by making the LED flash. This is a great stepping stone to getting the speaker working - to drive a speaker you just feed it a "flashing" pulse, but much faster than the LED (probably 20kHz or more, whereas the LED should be at around 1Hz).
Start with the LED project, and if you have any specific questions (ie errors or warnings) post them here for more help.
02-10-2017 03:19 AM