I’m trying to make an on board generating a sin wave → DAC then using a jumper wire from DAC A to an ADC B channel 2 but its only giving me the offset
any help would be great as i tried everything to point of me testing the board itself using a multimeter
Hi DanyalQoufabz,
It would be helpful if you could share your simplified model so we can investigate the issue.
Could you also provide the following information:
- PLECS version
- TI TSP version
- MCU model and development board you are using for testing
Finally, if you have access to an oscilloscope, could you check whether the generated sine wave is visible on the DAC output?
Hope this helps!
Im using :
PLECS ver 4.9.5
TI TSP ver 1.10.5
MCU : launchxl-f28379d
I have an oscilloscope i test DAC A it didnt give me a signal but something interesting happened when switched to DAC B whenever i test it, it disconnected the MCU from my laptop.
I have provided a screenshot of the model is not appearing ?
Hi Danyal,
I would highly recommend upgrading to the latest version of PLECS available with your license and then upgrading to the latest version of the TI TSP supported by that PLECS release.
If you do not have access to PLECS 5.0, which is required for the latest TI TSP (v2.3), I recommend upgrading to PLECS 4.9.8 and using TI TSP v2.2, the latest version supported by that PLECS release. There have been many feature improvements and bug fixes since TSP v1.10 was released.
That behavior is concerning. The fact that DAC A produces no signal suggests there may be an issue with your setup, assuming you are probing the correct pins with the oscilloscope. The disconnection when testing DAC B is also unexpected and would be worth investigating.
The screenshot is visible and helpful, but having the actual model would make it much easier to investigate the issue. It would allow us to check other configuration parameters that may be relevant, such as the ISR rate and scheduling configuration.
If you could share the model, we would have a better chance of identifying the cause of the issue.
Hi Danyal,
I ran your model using TI TSP v1.10 and did not observe any issues on my end. Here are the results:
The light green trace shows the offline simulation results, while the dark green trace shows the data captured in External Mode.
Note: The maximum output voltage of the DAC module is configured as 3.3 V, but the DAC reference voltage on the F28379D LaunchPad is 3 V. This explains the discrepancy between the offline simulation and the real-time measurements.
I’ve attached my modified model for reference. Let me know if you are unable to see the same results.
ADC_DAC_MA.plecs (20.8 KB)
I talked with my professor it turned out the board itself is burned and unusable thank you for time