Other Parts Discussed in Thread: HALCOGEN, TMS570LS1224
Hello,
I need a simple steady never changing PWM signal at any output pin (don't care which one). In any controller I used in the past 40 years there is a timer where you write 2 to 3 registers and you have a PWM output signal. Not so it seems on this IC. The only timer I found was a so called "High End Timer". It seems that this Halcogen can generate PWM code for the HET and I assume for the moment that this even works (despite the pitfalls of the generated code I found on this forum). Unfortunately the IC designers only put 1 SCI into this IC; we need three. One is the hardware one, the second is a HET emulated SCI and for the third I am using an SPI (output only, so that's simple to do). But it seems Halcogen does not allow to use the PWM tabs when I select the SCI emulation. So either SCI, PWM or write your own microcode.
Can anybody tell me how to generate a simple PWM output? It surely can't be true that you have to learn and write HET microcode, assemble it and download it into HET RAM to get a simple squarewave out, or is it? Have I missed something? Also with the HET code running with a prescale of 6 the LR time is 1.3us which I believe is the best PWM resolution I can get. Can somebody confirm / deny this?
Kind Regards,