Skip navigation
This is my first self written HET program that actually works. You can define a number of timers and let them create an interrupt when they expire. I've created 8 independent 1µs resolution timers in this example. Many more are possible*1. All previous posts were to train myself for this. While porting a LoRa example from MBED to Hercules, I tried to create timers with interrupts on the Hercules just by winging it. That never worked. Frustration . By blogging about all the previous ex ...
A very simple HET example: Project1 - generate 2 PWM signals and simulate them with Synapticad Wave Viewer. In the previous posts I reviewed a HET application note called HET Getting Started. This time I use another application note called HET Getting Started. That one is for the TI TMS470 family but works perfectly with the TMS570/RMxx too. It's simpler, using a few lines to generate two PWMs with same frequency and different duty cycle. Ideal to show a simulation with Synapticad's WaveVie ...
A very simple HET example: Project0 - generate a PWM signal with a fixed duty cycle. The previous posts were a showcase: let the timer module do some calculations while generating and and measuring signals. In this much simpler post let's take a step back. The TI Application Note NHET Get Started*1 shows the core specialty of the HET module: counting   In order to create a fixed frequency pulse with a fixed duty cycle, only two lines of PWM code are needed:   L00: CNT{next = L01, ...
This project uses the timers of a TI Hercules microcontroller to generate complex digital signals and to measure digital signals.   In this post: measure the the duty cycle of the previous post and take actions when it's about a certain range. The actions are: put a pin high as long as the duty cycle stays outside the accepted range (error output) throw an interrupt to the host microcontroller     This project is based on TI's application note spna178: Monitoring PWM Using ...
This project uses the timers of a TI Hercules microcontroller to generate complex digital signals and to measure digital signals.   In this post: create a triangle wave by modulating the duty cycle of a fixed frequency pulse wave.     This project is based on TI's application note spna178: Monitoring PWM Using N2HET. That note explains the functionality and has a link to a Code Composer Studio project . I'm using these as the source for the blog series.   Triangle si ...
This project uses the timers of a TI Hercules microcontroller to generate complex digital signals and to measure digital signals.   The TI Hercules microcontroller has interesting timers. They call them high-end timers, HET. They are autonomous programmable subcontrollers. HET modules are specialised to run logic in a deterministic time. Whatever happens in the outside world. a HET block will grind through the steps, clock steady. It's a tough module to program for, though. All the abstr ...

Filter Blog

By date: By tag: