This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hello,
I'm working with the F28335 microcontroller and with Matlab Simulink (IDE CCSv5). I want to use this µC for an acoustic test station and therefore I need a sine wave or some more difficult continuous signals at the output of the microcontroller. For this purpose I want to use the ePWM block (F28x3x) in Simulink. I tried to work with the following two different examples, but after a few weeks of work I still not sure which one is more suitable for my application:
http://www.mathworks.de/de/help/rtw/examples/adc-pwm-synchronization-via-adc-interrupt.html
The second one you can find in Matlab Help. It’s called
“ADC-PWM Synchronization via ADC Interrupt”
I’m able to run some easy models like blinking the LED on my microcontroller. But I did not succeed in implementing a sine wave or a more complex model in one of these examples. I apparently don’t understand how the pulse width modulation blocks in Simulink work.
I also would like to use the ADC pins to have a microphone signal as an input signal for my Simulink model. Is it possible to drag and drop an ADC block in an existing model to use it as a source, or is it a bit more difficult?
With kind regards
Max
Max,
The E2E community as a whole may have some ideas to help you, but at this point TI's C2000 team hasn't used Matlab's code generation tools very much (we do use it for simulation occasionally though). As a result of this, your question may not get a response.
You may find a better response from Matlab Answers community:
http://www.mathworks.com/matlabcentral/answers/
Thank you,
Brett
Thank you for your reponse.
I hoped that the TI community would be more familiar with this topic because I thought that the Simulink approach is more common. So I will ask my question in the Mathworks forum.
Thanks Max