Renesas MCUs already offer you the hardware you need to make a device that will thrive in the Smart Society.. Smart and efficient software is also needed though.. This class will show
Trang 1Using Software Building Blocks for Faster Time to Market
Trang 2Renesas Technology & Solution Portfolio
Trang 3Microcontroller and Microprocessor Line-up
44 DMIPS, True Low Power
25 DMIPS, Low Power
10 DMIPS, Capacitive Touch
Industrial & Automotive, 150nm
190µA/MHz, 0.3µA standby
Industrial, 90nm
500µA/MHz, 1.6µA deep standby
Automotive & Industrial, 90nm
600µA/MHz, 1.5µA standby
Automotive & Industrial, 65nm
600µA/MHz, 1.5µA standby Automotive, 40nm
500µA/MHz, 35µA deep standby
Industrial, 40nm
200µA/MHz, 0.3µA deep standby
Industrial & Automotive, 130nm
144µA/MHz, 0.2µA standby
Trang 4 Renesas MCUs already offer you the hardware you need to make a device that will thrive in the Smart Society Smart and efficient software is also needed though This class will show you how Renesas is developing software that will make your application development easier and faster
‘Enabling The Smart Society’
Trang 5 Firmware Integration Technology (FIT) Introduction
FIT Modules
FIT Foundation (Renesas BSP - r_bsp)
FIT Plug-In (E2Studio)
Lab
Trang 6FIT Intro
Trang 7The Problem
MCUs continue to become more complex
Software becomes more complex as well
Project schedules do not always scale accordingly
CAN
Trang 8How is Renesas helping?
FIT = Firmware Integration Technology
FIT is a global set of Renesas standards enabling creation of quality, easy-to-use, interoperable firmware that addresses your needs
Trang 9What is FIT?
FIT is a set of rules and guidelines to help you get to market faster and easier
Examples of what we have improved:
Insertion into customer’s project
Integrating multiple modules
Simple configuration
Common documentation practices
Common file and directory structure
Resource sharing for projects with multiple tasks
Strong foundation to build code on top of
Mixture of compile-time and run-time configuration options
Trang 10FIT Philosophy
Provide strong foundation to build on
Ease of integration and use is paramount
Efficiently manage available resources
MCU
Trang 11Coding Standards & FIT
Coding standards give rules for individual files
FIT gives rules for middleware as a whole
Trang 12FIT Modules
Trang 13FIT Module Structure
Trang 14Interface File Example
r_rspi_rx_if.h
/**************************************************************************** Typedef definitions
****************************************************************************/ /* Enumeration for common chip selects */
****************************************************************************/
bool R_RSPI_Init(uint8_t channel);
bool R_RSPI_Select(uint8_t channel, device_selected_t chip_select);
Trang 15Configuration File Example
r_flash_api_rx600_config.h
Enable ROM Programming
Ignore Lock Bits
Data Flash Background Operations
/*************************************************************************** ENABLE BGO & NON-BLOCKING DATA FLASH OPERATIONS
****************************************************************************/ /* If this is defined then the flash ready interrupt will be used and
FlashAPI routines that deal with the data flash will exit after the
operation has been started instead of polling for it to finish */
#define DATA_FLASH_BGO
Trang 16 Quick reference with relevant information
RX62N, RX62T, RX630, RX63N
CMT UART
Instructions:
* Add xxx.c to your project
* Add xxx2.c to your project
* Add an include path to x
r_module_1
Trang 17Example FIT Packages – Look Similar?
Virtual EEPROM
File Structure - r_vee
Trang 18Example FIT Packages – Look Similar?
Virtual EEPROM
Trang 19FIT Foundation
Trang 20r_bsp Framework
Provides Board Support Packages for different boards
Benefits:
Foundation to build code on
Has all files to get MCU up and running
Makes it easy to write code for multiple MCU groups
Can write code that automatically configures itself for chosen MCU
Trang 21r_bsp Structure
Trang 22Custom BSP
Trang 23Configuring the BSP
Configurations done through r_bsp_config.h
Reference configuration provided in board folder
Many options
Heap Stack
Trang 24Different Levels
Trang 25FIT Plug-In
Trang 26E2Studio Plug-In
Easily add modules
Trang 27 Firmware Integration Technology (FIT) Introduction
FIT Modules
FIT Foundation (Renesas BSP - r_bsp)
FIT Plug-In (E2Studio)
Trang 28Questions?
Trang 29 Renesas MCUs already offer you the hardware you need to make a device that will thrive in the Smart Society Smart and efficient software is also needed though This class
showed you how Renesas is developing software that will make your application development easier and faster
‘Enabling The Smart Society’