Skip navigation
I'm evaluating the Renesas RX65N MCU EV Kit. In this post,  I'm reviewing the Digital Analog Converter   Adapt the Envision Kit  The RX65N has two DAC channels. On the controller, they are PO3 and P05.   source: Renesas datasheet   These pins are both in use in the Envision kit. P03 is joystick pin 5, P05 is used for SW2, the user button. These aren't broken out to any of the connectors, so some modification is needed. The easiest is to tap DA1 off from the j ...
When you're developing for a microcontroller or IC, it's handy to have the documentation available at your fingertips. Many manufacturers give strange names to these documents. The Renesas RX65N that I'm currently working with has a datasheet called r01ds0276ej0230-rx651.pdf, the manual for the evaluation board r01uh0761eg0100-rx65n.pdf. Even if you have a good directory structure, it remains difficult to find them back. You open 3 wrong files before you have the right one. Eclipse to the res ...
I'm evaluating the Renesas RX65N MCU EV Kit. In this post,  I'm reviewing the Software Standby power save mode     Software Standby Mode  This is a lower consumption mode than the Sleep mode in post 4a. I'm doing the blogs a little out of order. There's a mode between Sleep and this mode. I learned that while writing the article.   source: Renesas datasheet   Measuring µA currents is a sensitive exercise. It should be done in a protected, stable env ...
Read more
I'm evaluating the Renesas RX65N MCU EV Kit. In this post,  I'll port the LCD driver example from the Renesas proprietary CC-RX       Renesas offers a GCC toolchain that can build firware for the RX65 family. I have been using it for most of my developments and it works . The toolchain is nicely integrated in the e2 Studio IDE. The full cycle from project creation to debug is supported. Let's see how you can port a project from CC-RX to GCC: the QE for Display [RX] Samp ...
I'm evaluating the Renesas RX65N MCU EV Kit. In this post: Expand the Blinky example with a timer and interrupt. This time it's a real blinky. The code to poll the user button is removed and the led is controlled by one of the onboard timers.     Modify the Project  In the configurator, navigate to the Components tab, select the Config_PORT module and uncheck PORT0. We don't use the switch anymore. That's why we can remove our claim to that port and pin.   Then add t ...
I'm evaluating the Renesas RX65N MCU EV Kit. In this post: A Blinky, with the GCC toolchain. It's not a real blinky - it's a switchy. The User LED is on when the User Button is pressed. A Morse code trainer .     Create the Project  In the previous post, I used the Renesas CCRX toolchain to create a project in e2 Studio. Many things are similar when using the GCC tools. This post expects that you did the activities in the previous blog (e.g.: that you downloaded the evaluat ...
I'm evaluating the Renesas RX65N MCU EV Kit. In this post: how to start a project in the Renesas IDE e2 Studio. I'll use the Renesas CCRX toolchain.     Start a Project  File -> New C/C++ Project -> Renesas RX -> Renesas CC-RX C/C++ Executable Project -> Next   Name your project -> Next     Select the latest Toolchain and the right device. See the images below for the navigation to the correct IC.     The debugger on this board ...
The port of the MBED InterruptIn is complete. In this blog you can see the internals of this class and how to set up configuration and handling.   My port is for a Hercules TMS570LC43. I use the HAL utility and api for that controller where possible.     The MBED InterruptIn class allows you to handle interrupts with objects. You can set what object and what method of that object gets called when the interrupt fires. The SemTech SX1276 LoRa library uses the InterruptIn class to h ...
In Storage Insights #6 we dove deeper into SATA (Serial ATA), discussing layering and compatibility. In Storage Insights #7 we have a link to a video presentation that details several technology advantages of industrial SD cards. SD cards, or Secure Digital cards, are a great choice for flash memory needs. Both SD and microSD cards are used in a variety of retail and industrial applications (see Delkin Information page on memory applications). However, not all SD cards are created equal (see ...
The port of the MBED DigitalOut is complete. In this blog you can see the internals of this class and how to create a blinky.   Blinky  #include "includes.h"  // this is the include that replaces MBED.h for ported applications. // start Hercules HAL includes #include "HL_gio.h" // specific for Hercules. It's not part of the MBED port. // end Hercules HAL Includes DigitalOut led( LED1 );  // initialise the output pin for the LED. This is an MBED ported class. int main(/* y ...
I've ported the MBED DigitalOut class to the Hercules controller that I'll be using. It could be any controller or SBC, but having one example makes it tangible.   I've try to do this with as limited as possible impact to the SemTech library. That is my main goal. If you are looking for performant code or the best possible choice from language purity perspective, you may want to click away. I'm using 64 bit integers on a 32 platform and more of that stuff .   Not all the things th ...
There are many good MBED examples. It's a popular platform, supported by many manufacturers. Here's my story on how to port one of those excellent MBED example program to another platform.   The program I want to port is the SemTech LoRa Ping-Pong example. The goal is to get a reusable C++ library that can be used on micro controllers, Raspberry Pi, BeagleBone etc... I need to find what part of the code is dependent on MBED and factor that out. The factored-out part is the one that wil ...
TI Hercules microcontrollers are "functional safety" devices for automotive, industrial and medical use. When you create a new firmware project for this family, you use the TI HALCoGen tool to configure the peripherals and create the source. This generated souce code is in C.   If you want to develop in C++, because <enter your random reason here>, here's a low impact approach. It will take care that your source files stay HALCoGen compatible and you can do round trip modification ...
The new storage technology stores data in quartz glass using laser light, which burns voxels into the medium that hold multiple bits of information. (Image credit: Microsoft)   A recent collaboration by Microsoft and Warner Brothers resulted in successfully storing the entire 1977 Superman movie on a piece of glass measuring just 75mm X 75mm X 2mm thick. The idea behind Microsoft’s Project Silica is a cold-storage solution of sorts designed to store data for long periods without any ...

Filter Blog

By date: By tag: