Skip navigation
1 2 3 Previous

Jan Cumps's Blog

117 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 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 ...
This blog is a side story: how does the MSP432 magically go into low power mode when the RTOS is idle? image source: ARM It is relevant for the "Move to SimpleLink"  blog series because, with the RTOS abstraction, more of what's happening is now under the hood.   If the theme for the next Project14 month is low power, I'll submit this blog to that too. Full disclosure: I've voted for low power as next month's theme. Other full disclosure: I didn't know at that time that I was g ...
A real world migration from TI-RTOS to the POSIX API of TI SimpleLink. Texas Instruments migrated from the proprietary TI-RTOS to the open POSIX API. I'm migrating a project that extensively used the TI paradigms to that POSIX API. You're my witness. The blog assumes that you are a TI-RTOS user and want to adapt to the new ways of working. I know that LCD Display is two times the word display. Get over it. This time the topic is SimpleLink and MSP432 DriverLib Display Driver related. No ...
A real world migration from TI-RTOS to the POSIX API of TI SimpleLink. Texas Instruments migrated from the proprietary TI-RTOS to the open POSIX API. I'm migrating a project that extensively used the TI paradigms to that POSIX API. You're my witness. photo courtesy IKEA of Sweden: KVISSLE Letter tray, white The blog assumes that you are a TI-RTOS user and want to adapt to the new ways of working.   Hardcore POSIX again. Moving from TI-RTOS MailBox API to POSIX message queues. Again, ...
A real world migration from TI-RTOS to the POSIX API of TI SimpleLink. Texas Instruments migrated from the proprietary TI-RTOS to the open POSIX API. I'm migrating a project that extensively used the TI paradigms to that POSIX API. You're my witness. The blog assumes that you are a TI-RTOS user and want to adapt to the new ways of working.   This time the topic is SimpleLink and MSP432 DriverLib related. Not POSIX specific, but an impact of switching to SimpleLink. Where the origin ...
A real world migration from TI-RTOS to the POSIX API of TI SimpleLink. Texas Instruments migrated from the proprietary TI-RTOS to the open POSIX API. I'm migrating a project that extensively used the TI paradigms to that POSIX API. You're my witness. The blog assumes that you are a TI-RTOS user and want to adapt to the new ways of working.   POSIX is an open API that defines how threads can be used. It also deals with common multi-thread topics like sharing (or reserving) resources, s ...
A check-out the Rigol LabVIEW example for the DP800 series of power supplies.   I'm planning to automate the measurements on the programmable electronic load that Peter, Jon and I are designing here on element14. For that I need to control a power supply, that load and an oscilloscope. In this exercise, I'm learning to program the Rigol DP832A, in particular enabling a channel and set it to several values repeatedly.   Rigol's Example  On Rigol's website you can find an examp ...
I'm trying out basic CAN communication on a Hercules microcontroller. In this third blog I'll design driver PCBs. The third part reviews the KiCAD PCB layout.   Two Layer PCB  I could have used a single layer PCB but there's no price difference with two layer boards. The bottom side is dedicated to the power rail and ground. The top for the digital and analog signals.   Let's start with the bottom layer. Because the 3V3 isn't used a lot but crosses the whole board, I decid ...
I'm trying out basic CAN communication on a Hercules microcontroller. In this third blog I'll design driver PCBs. The second part describes schematic and custom KiCAD parts.   Schematic  I've used two sources for my schematic. The datasheet of the TCAN332D and an article on the TI e2e forum. These are the things I've taken over from the advice: TXD input pin: If an open-drain host processor is used to drive the TXD pin of the device, an external pullup resistor between 1 kΩ ...