I see that you are facing issues with your Simulink model not showing the expected output on a Digital Storage Oscilloscope (DSO) after deploying it to a TMS320F28379D microcontroller, there are several steps you can take to troubleshoot and resolve the issue. Here are a few recommendations to follow through:
Validate Connections and Microcontroller Configuration
- Physical Connections: Validate that all physical connections between your microcontroller and DSO are secure. This includes checking for any loose wires or improperly connected pins.
- Correct Pin Configuration: Verify that the GPIO pin you are using for the digital output is correctly configured in both your Simulink model and the microcontroller's software configuration.
- Clock Settings: Ensure that the microcontroller's clock settings match what is expected by your Simulink model. Incorrect clock settings can lead to timing issues.
Simulink Model Settings
- GPIO Block Configuration: In your Simulink model, ensure that the GPIO block used for digital output is correctly configured, including the correct pin number and port.
- Pulse Generator Settings: Confirm that the pulse generator block is correctly set up with the desired frequency, duty cycle, and amplitude. Make sure it is correctly connected to the GPIO block.
Testing and Debugging
- Successful Build: Confirm that the code was successfully built and deployed to the microcontroller without any errors. Look for any warnings or errors in the build log that might indicate a problem.
- Use LEDs for Simple Testing: As a simple initial test, try connecting an LED to the GPIO output pin to see if it blinks as expected. This can help confirm whether the issue is with the DSO or the microcontroller output.
- DSO Settings: Check the DSO settings to ensure it is configured correctly to detect the signal. Verify the voltage scale, time base, and triggering settings.
If the issue still persists, please help me with your model so as to have a better insight over the issue.
I hope this helps.