Skip navigation
1 2 3 Previous

Jan Cumps's Blog

125 posts
We know SPI as a 4*-wire protocol. But it doesn't have to be. I'm checking high speed SPI data transfer with buffers, DMA and parallel data lines.     In this blog, I finally got everything working. I'll show a single buffered SPI Master with DMA and 4 data lines. The next one will be the Slave side, with multi-buffering and trigger based action..   Attention: there's pre-knowledge required. For this blog it's expected that you have decent Hercules skills and that you can s ...
The element14 roadtests are a great way to learn new things. Whenever I see a test that interests me, I enroll. Success is not guaranteed. I've been selected for some, not for others. In this series I'll explain how I decide to enroll or not. I'll also show how I build my case, including some examples from my applications.   This is the technical part of my application for the TI SWIFT™ Power Module EVM Road Test     Application: Designing with SWIFT™ Power Modules ...
For the Instrumentation, Automation and Industrial Application fanboys. And for anyone interested in communication protocols that are widely used but not commonly known.   I'm checking the Highway Addressable Remote Transducer Protocol interface on the DAC8775.     HART Protocol  The HART protocol communicates info on a current loop by adding a small AC component to the current loop. The frequency of that component defines that you're sending a mark (1200 Hz) or space ...
In this post, I program the current mode of the DAC8775, the subject of the Quad-Channel, Analog Output Module RoadTest. The DAC will, within limits, try to source the current you're defining     Configurable Current  Additional to the traditional voltage mode, this DAC can source current. It has a number of ranges that can be controlled:   In this exercise I'm setting the mode to 0101: 0 - 20 mA.   In code:       TX_Data_Master[0] = 0x04; & ...
In this post, I test the slew rate of the DAC8775, the subject of the Quad-Channel, Analog Output Module RoadTest. The edge of the DAC generated signal is programmable. Let's look at how to control it.     Configurable Slew Rate  One of the options you can set on the DAC is the speed at which the signal changes. Depending on your application this can be useful. By default this control is switched off and the DAC tries to reach the desired level as fast as it can. The image b ...
In this post, I document the firmware I use to test the DAC8775, the subject of the Quad-Channel, Analog Output Module RoadTest. I'm using a Hercules automotive microcontroller to talk to the DAC. I'll cover the peripheral configuration and the test code. Even if you're using a different controller, the sequence of events may help you to write your own code for this DAC.   Connections  The Hercules is one of the smallest of the family, a TMS570LS04. I use this because it has all ...
A year ago, the DAC8775 was the subject of the Quad-Channel, Analog Output Module RoadTest. My element14 friend DAB was not impressed by the EVM and its software. I asked if he wanted to trade the board for another evaluation module, and he did. After some hick-ups with post services, the evaluation kit for the DAC is finally in my hands. My review will be different than the official reviews, because I don't have the device to connect the EVM to USB. I will use SPI to talk to the device ins ...
A year ago, the DAC8775 was the subject of the Quad-Channel, Analog Output Module RoadTest. My element14 friend DAB was not impressed by the EVM and its software. I asked if he wanted to trade the board for another evaluation module, and he did. After some hick-ups with post services, the evaluation kit for the DAC is finally in my hands. My review will be different than the official reviews, because I don't have the device to connect the EVM to USB. I will use SPI to talk to the device ins ...
We know SPI as a 4*-wire protocol. But it doesn't have to be. I'm checking high speed SPI data transfer with buffers, DMA and parallel data lines. In this blog, I finally got DMA working.   Attention: there's pre-knowledge required. For this blog it's expected that you have decent Hercules skills and that you can successfully replicate the mibSPI DMA example from HALCoGen RM57Lx Help. Don't start with this project if that example isn't fully familiar to you. It would be a sure path t ...
Learn about Safety features, test interactively and step through with a debugger. This project gives you ready to run hardware with a screen menu and a joystick to navigate through Safety processes.  You can trigger Safety mishaps in real time and see how the microcontroller handles them. In this blog, errors are A Good Thing.   This blog shows the design in full action. Look here for the detailed explanation. The Demo is all about errors. In most applications the goal is to prevent ...
This blog series explains how to use the Educational BoosterPack LCD with a Hercules LaunchPad.The Educational BoosterPak MKII is a hot item. It has many sensors on board. and a joystick, a buzzer, a 3-colored LED, buttons and a microphone. And also a very nice color LCD screen. The blog series shows how to drive the BoosterPack's LCD from a Hercules microcontroller. This post assumes you've done the preparation steps from the first 3 posts. I've received both LaunchPad and BoosterPack from TI. ...
This blog series explains how to use the Educational BoosterPack LCD with a Hercules LaunchPad.The Educational BoosterPak MKII is a hot item. It has many sensors on board. and a joystick, a buzzer, a 3-colored LED, buttons and a microphone. And also a very nice color LCD screen. The first post was an intro to my driver library for that LCD. In the previous one we set up the generic I/O. This time it's PWM time. We'll do all the set-up to control the brightness of the LCD backlight. The Schema ...
Learn about Safety features, test interactively and step through with a debugger. This project gives you ready to run hardware with a screen menu and a joystick to navigate through Safety processes.  You can trigger Safety mishaps in real time and see how the microcontroller handles them. In this blog, errors are A Good Thing.   The Hercules family has a rich set of hardware mechanisms for safe operation. These controllers are designed to be used in safety critical operations, such as ...
This blog series explains how to use the Educational BoosterPack LCD with a Hercules LaunchPad.  The Educational BoosterPak MKII is a hot item. It has many sensors on board. and a joystick, a buzzer, a 3-colored LED, buttons and a microphone. And also a very nice color LCD screen. The first post was an intro to my driver library for that LCD. This time we'll do the first easy steps: We'll use the Hercules Generic I/O module to control the LCD behavior. The LCD signalsNext to the power supp ...
This blog series explains how to use the Educational BoosterPack LCD with a Hercules LaunchPad.The Educational BoosterPak MKII is a hot item. It has many sensors on board. and a joystick, a buzzer, a 3-colored LED, buttons and a microphone. And also a very nice color LCD screen. I've made a Hercules library for the LCD. It has low-level functions to send commands and data. But also a high-level API to clear the screen, write text and draw objects. There's also an example that shows how to load a ...