Jump to content

XerXes777

Members
  • Posts

    3
  • Joined

  • Last visited

XerXes777's Achievements

Newbie

Newbie (1/4)

0

Reputation

  1. It may be that this may work better with an analog Discovery. I would buy that too, but it is important to me to implement this with this MCU. Because I would like to tie to my previous project 1. would this routine be possible with Waveforms? Send configuration to the MCU. Sample rate and the number of samples. Then Waveforms sends a start signal to the MCU. Then the MCU answers with a First Data Flag and Waveform starts recording to a file on the computer. Until the MCU sends a Last Data Flag and the recording is finished. I have to admit that I don't know Phyton yet. Do I have to program a lot of phyton with this plan so I can parameterize waveforms?
  2. Thank you very much for this detailed answer. The MCU I have already finished programming that this saves the microphone data via uDMA. I send this data directly through the CMSIS fft function to get a spectrum of the music. This all works so far. Now I would like to get further into the topic of DSP. My next steps would be: FIR and IIR filters. Anti Aliasing. Using a FFT with few samples. etc. The goal of all this should be to get as clear a spectrum of the music as possible. And I like to see the things I am trying to change. I have a frequency generator that can create multiple sine signals (100Hz+1000Hz+5000Hz). When I program an FIR filter to 1000HZ I want to see that actually the frequencies from 1000Hz+ are cut away. And I also want to play around with these things. I am a bit sad that the Digilent is not so suitable to debug this. I have not yet dealt with SPI and UART. If my sample rate would be 44,1kHz and I store the samples as 16Bit signed int. This means 44.1k samples/s. 44,1kSamples/s * 16bits = 705,6kbit/s. Or 44,1kSamples/s * 12bits = 529,2kbit/s. Can UART or SPI do this at all ? Do you have a better idea how to implement my project? Unfortunately the MCU has no DAC. But I could buy one. https://www.reichelt.de/de/de/d-a-wandler-12-bit-2-kanal-spi-2-7--5-5-v-dip-14-mcp-4922-e-p-p90090.html?r=1 Display the signal on an oscilloscope.
  3. I am currently planning my next project and gathering information. I would like to get into the topic of DSP. I have a microcontroller from TI (EK-TM4C123GXL). This is connected to a simple microphone (MAX4466). I want to sample frequencies and music with this microcontroller. The ADC has 12 BIT. Sample rate: 1K-44,1k. Samples: 32 - 2048 (could be much more, actually infinite as stream). The microphone signal should be stored on my computer. And I also want to plot the signal in a coordinate system. Because I want to use the digilent digital discovery for the logic part. I want to play this back on my computer with audacity. I thought I can send the sample data to Waveforms via SPI. 1. Can Waveforms save this data to my computer? 2. And can Waveforms plot this data to a coordinate system? I could add additional information to the incoming data via SPI. So that waveforms knows which data is which signal. 3. Also, can waveforms pllot me multiple signals in a coordinate system? I am glad about any information. Kevin
×
×
  • Create New...