Azzera filtri
Azzera filtri

how to read analog sine voltage from TMSF28335 using simulink

5 visualizzazioni (ultimi 30 giorni)
Hi everyone, Currently I am using TMSF28335 to produce sine voltage with 3.3v amplitude using simulink. I created a simulink file that takes this sine wave and gives pwm signal if the voltage is above the 1.65v and below the -1.65v. simulation in simulink is ok and it is working but I want to see sine voltage on voltage prob using oscillator and also see the pwm signal later. I am using syndem kit so it has voltage probs to analyze its outputs. The Question is how can I see sine wave or any analog voltage signal on outputs of F28335 and what connection is needed on simulink.

Risposte (1)

Naren
Naren il 2 Mar 2023
Hello Bekir Bölükçü,
I beileve what you are trying to achieve is to visualize the sine wave output from a TMSF28335 microcontroller in real-time using an oscillator and voltage probes and monitor the corresponding PWM signal generated by the Simulink model. Refer to the steps below.
  1. The PWM pins can be set up in Simulink after creating a PWM signal using the pulse generator block. The PWM signal will be transmitted to the microcontroller's PWM pin by connecting the output of the pulse Generator block to a digital output block.
  2. To see the sine wave on the output of the Sine Wave block in Simulink, add a scope block to the output. The graphed waveform shown by the scope block can be used to verify that the sine wave is being produced correctly.
For further information, refer to the documentation given below
TMSF28335 technical data sheet.

Prodotti


Release

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by