Quantcast
Channel: Microcontrollers
Viewing all articles
Browse latest Browse all 219073

Forum Post: RE: TMS570LS3137: PWM Capturing with HET IDE Commands

$
0
0
Hi Jagadish, Sorry for late response. My working around is below step by step: I downloaded your capture project and imported it to my workspace. Then I compiled this code. I got a redefinition error for some code blocks during compilation: So I excluded the Capture_LS3137 folder from the compilation. After that I was successfully compiled codes. My setup as below: On the left side is the STM32 used for frequency generation. The frequency output is connected to pin 130 of the HDK's J11 connector (pin name B11). Ground connected between two cards. Here is the oscilloscope output: Here is the Debugging results: I tried cap0 and cap2 there is no different result for me, all of them periods are return 0. The purpose of my cap0 and cap2 experiment is N2Het1_30 which is identified as cap2 in your Halcogen. Finally, I tried changing the NewcapGetSignal function to the original capGetSignal function for capturing, but it didn't work Also, I have a question for HET instructions. If I use the new het instructions, do I need to add some instructions to generate PWM from other het pins? Because I think this will increase the loop time. Thank you for your support. Best regards & Have a nice day

Viewing all articles
Browse latest Browse all 219073

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>