vinay y.n
Published © GPL3+

Getting Started with Renesas RX72N Envision Kit

Renesas RX72N Envision Kit Introduction and Creating a simple Example Using e2 Studio.

IntermediateProtip2 hours517
Getting Started with Renesas RX72N Envision Kit

Things used in this project

Hardware components

RX72N Envision Kit
Renesas RX72N Envision Kit
×1
USB-A to Micro-USB Cable
USB-A to Micro-USB Cable
×1

Software apps and online services

e² studio
Renesas e² studio

Story

Read more

Schematics

COMPONENTS IDENTIFICATION

Code

SOURCE CODE

C/C++
Compiled using e2 Studio
#include "r_smc_entry.h"
#include "platform.h"
#include "r_cmt_rx_if.h"

void main(void);
void cmt_callback(void *arg);

void main(void)
{
	uint32_t channel;
	R_CMT_CreatePeriodic(10, cmt_callback, &channel);
	while(1);
}

void cmt_callback(void *arg)
{
	if(PORT4.PIDR.BIT.B0 == 1)
	{
		PORT4.PODR.BIT.B0 = 0;
	}
	else
	{
		PORT4.PODR.BIT.B0 = 1;
	}
}

Credits

vinay y.n

vinay y.n

25 projects • 40 followers
An electronic product engineer with 8 years of experience in the field. The passion for electronics began as a hobby 11 years ago.

Comments