RH850/F1KM-S1 Starter Kit V3 User Manual: Hardware
This document provides a comprehensive guide to the RH850/F1KM-S1 Starter Kit V3, a platform designed for evaluating the features and performance of Renesas Electronics' 32-bit RH850/F1KM-S1 microcontroller.
Introduction
The RH850/F1KM-S1 Starter Kit is an easy-to-use platform for evaluating the RH850/F1KM-S1 microcontroller. It offers:
- Connections for on-chip debugging and flash memory programming.
- Access to all microcontroller I/O pins.
- User interaction via potentiometer, rotary switch, buttons, and LEDs.
- Serial interface connections for:
- 1x UART/USB
- 1x LIN
- 1x SENT
- 2x CAN-FD
- Multiple power supply options:
- RENESAS E1 On-Chip debugger (5V/200mA).
- Provided 12V DC power supply via DC Jack.
- Motor Control Part can be powered additionally by an external power supply.
For detailed microcontroller operation, refer to the RH850/F1KM-S1 Hardware User Manual. The motor control functionality is described in a separate "Motor Control Application Note". Renesas also offers a SENT Extension Board "Y-RH850-SENT-EXT-BRD" for SENT message reception and sensor configuration.
Related Documents:
Description | DOC-Number |
---|---|
Hardware User Manual of RH850/F1KM-S1 | R01UH0684EJxxxx |
Datasheet of RH850/F1KM-S1 | Included in above document |
QSG for RH850/F1KM-S1 Starter Kit V3 | D016351-11 |
Motor Control Application Note | R11AN0284EDxxxx |
Cautions
- LED Safety: Do not look directly into the LED beam, especially the high-power LEDs.
- Power Supply Limit: The E1 On-Chip debugger provides a maximum current of 200mA. An external power supply may be required for full functionality.
- Motor Control Power: When connecting an external power supply to the motor control part (CN2), ensure jumpers are set correctly as described in section "4.2.1.1 Power supply configuration".
Quick Start Information
Connector and jumper overview
Microcontroller assembled and Port Pin Interfaces
The RH850/F1KM-S1 Starter Kit features the R7F701684 microcontroller and a 16MHz crystal for clock supply. Each I/O pin is connected to a pin header interface, allowing easy probing and connection to power, ground, or other signals.
J3 - J4 - Signal Assignment:
J3 | J4 | ||||
---|---|---|---|---|---|
Pin | Function | Pin | Function | ||
1 | P10_3 | 2 | 1 | AP0_13 | 2 |
3 | P10_5 | 4 | 3 | AP0_11 | 4 |
5 | P11_0 | 6 | 5 | AP0_9 | 6 |
7 | P0_1 | 8 | 7 | AP0_7 | 8 |
9 | P0_3 | 10 | 9 | AP0_5 | 10 |
11 | P0_5 | 12 | 11 | AP0_3 | 12 |
13 | P0_11 | 14 | 13 | AP0_1 | 14 |
15 | P0_13 | 16 | 15 | P9_0 | 16 |
17 | P8_2 | 18 | 17 | P9_2 | 18 |
19 | P8_11 | 20 | 19 | P9_4 | 20 |
21 | GND | 22 | 21 | GND | 22 |
J7 - J8 - Signal Assignment:
J7 | J8 | ||||
---|---|---|---|---|---|
Pin | Function | Pin | Function | ||
1 | P9_6 | 2 | 1 | JP0_5 | 2 |
3 | P10_7 | 4 | 3 | JP0_3 | 4 |
5 | P10_9 | 6 | 5 | JP0_1 | 6 |
7 | P10_11 | 8 | 7 | FLMD0 | 8 |
9 | P10_13 | 10 | 9 | P0_9 | 10 |
11 | P11_1 | 12 | 11 | P0_7 | 12 |
13 | P11_3 | 14 | 13 | P8_4 | 14 |
15 | P11_5 | 16 | 15 | P8_6 | 16 |
17 | P11_7 | 18 | 17 | P8_8 | 18 |
19 | P10-1 | 20 | 19 | AP0_15 | 20 |
21 | GND | 22 | 21 | GND | 22 |
Jumper / Connector Settings Overview:
Jumper | Description | Setting | Note |
---|---|---|---|
FB J1 | RGB LED Connector | 1-2 3-4 5-6 | R: PWM feedback ↔ AP0_5 G: PWM feedback ↔ AP0_6 B: PWM feedback ↔ AP0_7 |
LED16 J2 | Blue LED Circle to MCU connector | 1-2 3-4 5-6 7-8 9-10 | LA: SPI driver LE↔P8_10 BL: SPI driver OE#↔P8_11 MC: SPI driver CLK↔ P11_3 MO: SPI driver SDI↔ P11_2 MI: SPI driver SDO↔ P11_4 |
ENC J5 | Encoder to MCU connector | 1-2 3-4 5-6 | a: Encoder input 0 ↔ P10_9 b: Encoder input 1 ↔ P10_10 B: Encoder button ↔ P0_13 |
PWM J6 | PWM output to RGB LED connector | 1-2 3-4 5-6 | R: PWM signal ↔ P11_7 G: PWM signal ↔ P11_6 B: PWM signal ↔ P11_5 |
J9 | Interrupt Button to MCU connector | 1-2 | INT: Button ↔ P8_2 |
J10 LED | Indication LED to MCU Connector | 1-2 3-4 | LED18 ↔ P0_14 LED17 ↔ P8_5 |
J11 | Potentiometer to MCU Connector | 1-2 3-4 | POT1 ↔ AP0_4 POT1 supply ↔ AP0_1 |
J12 | MCU power distribution | 1-2 3-4 | REG: REGVCC supply EVCC: EVCC/A0VREF supply |
J13 | MOT_VDD selector | 1-2 2-3 | BAT: 5.3V-18V external supply ↔ MOT_VDD 12: 10V-15V DC Jack ↔ MOT_VDD |
J14 UART | UART to USB connector | 1-2 3-4 5-6 | UART/USB TX ↔ P0_2 UART/USB RX ↔ P0_3 UART/USB EN ↔ AP0_9 |
J15 | LIN Transceiver to MCU connector | 1-2 3-4 | LIN RX ↔ P0_7 LIN TX ↔ P0_8 |
J19 | SENT interface connector | 1-2 3-4 | SENT SPCO ↔ P9_1 SENT RX ↔ P9_0 |
J20 | CAN0/1 transceiver TX/RX to MCU connector | 1-2 3-4 5-6 7-8 | CANTX0 ↔ P10_7 (CAN1TX) CANRX0 ↔ P10_6 (CAN1RX) CANTX1 ↔ P0_10 (CAN4TX) CANRX1 ↔ P0_9 (CAN4RX) |
J21 | Digital LPS input to MCU connector | 1-2 3-4 5-6 7-8 9-10 | DIN ↔ P8_3 SELDPO ↔ P0_4 SELDP1 ↔ P0_5 SELDP2 ↔ P0_6 DPO ↔ P0_0 |
J22 | VBAT selector | 1-2 2-3 | 12V ↔ 12V_IN 5V ↔ 12V_IN |
Note: Default jumper setting (Power Supply by E1 Debugger) is indicated by bold font.
Board Overview
RH850/F1KM-S1 Version without MC [Y-ASK-RH850F1KM-S1-V3]
The RH850/F1KM-S1 Version of the V3 Starter Kit without Motor Control Part is shown in the figure below. This image displays the top view of the board, highlighting various connectors and components like GND, BAT, WVU, UART/USB, MOTOR, MOT_VDD, 12V, GND, SENT, CAN1, LINRX, LINTX, SENT_RXA, SPCO, J3, J4, J7, J8, J19, J20, J21, J22, FB J1, ENC J5, PWM J6, J10, J12, J13, J14, J15, S1, S2, S3, S4, S5, S6, U1, U2, U3, U4, U5, IC1 through IC8, and various LEDs and connectors.
RH850/F1KM-S1 Version with MC [Y-BLDC-SK-RH850F1KM-S1]
The RH850/F1KM-S1 Version of the V3 Starter Kit with Motor Control part equipped is shown in the figure below. This image displays the top view of the board, similar to the version without MC, but includes additional motor control specific components and connectors.
Starter Kit Hardware
Starter Kit functions
RH850/F1KM-S1 Starter Kit without motor control unit
This block diagram illustrates the functional overview of the RH850/F1KM-S1 Starter Kit without the motor control unit. It shows the RH850G3KH CPU-Core connected to the F1KM-S1 Device. Various peripherals are shown connected to the F1KM-S1 Device, including LIN Transceiver, USB Transceiver, UART, Ethernet MAC, SENT, FlexRay, I²C, CAN-FD Transceiver, CAN(-FD), OS-Timer, Watchdog, RTC, LIN, Timer Array, SPI, Buffered SPI, Encoder, FlexRay, PWM, ADC, LPS, Crypto Unit, Motor Control, and Crypto Unit. These connect to user interaction elements like LED 1, LED 2, LED Driver, 16x LED, Display & SD-Card, Rotary Switch, RGB LED, Potentiometer, 8to1 MUX, and DIP-Switch.
RH850/F1KM-S1 Starter Kit with motor control unit
This block diagram illustrates the functional overview of the RH850/F1KM-S1 Starter Kit with the motor control unit. It is similar to the version without motor control, but includes additional blocks for Motor Control, PreDriver, and Power Stage, which connect to a Motor. A "Display" block is also shown connected to the F1x Device.
Functional Areas
The functional areas of the starter kit provide circuits and components for interacting with the microcontroller's I/O. These areas include:
- Motor Control Area
- Microcontroller Area
- UART/USB Area
- Power Supply Area
- Debug Connector
- Display Area
- DC Jack
- MC external power supply connector
- Indicator LEDs
- 2 Channel CAN Area
- Analog and digital input area (LPS)
- Shared LIN and SENT Area
- Reset and Interrupt Pushbuttons
- Potentiometer
- Rotary Encoder with RGB LED and push button
- Pre drive unit
- General purpose LEDs
Figure 5. Functional Areas
Power Supply
Power supply configuration
The Starter Kit supports three power supply options: E1 Debugger, 12V DC power supply via DC Jack, or an external power supply (up to 18V) for the motor control unit. The default jumper setting powers the board via the E1 Debugger. For motor control operation, a 12V or 15V (minimum 13V for 8000 RPM) supply is recommended. LIN interface operation requires the external 12V supply.
Important Note: Connecting an external voltage supply to the motor control connector bypasses the eFuse. Do not change power supply jumpers while the Starter Kit is powered.
Jumper settings for E1-Debugger power supply:
Jumper | Description | Setting | Note |
---|---|---|---|
J22 | VBAT selector | 1-2, 12V ↔ 12V_IN 2-3, 5V ↔ 12V_IN | open closed |
Jumper settings for DC Jack power supply:
Jumper | Description | Setting | Note |
---|---|---|---|
J22 | VBAT selector | 1-2, 12V ↔ 12V_IN 2-3, 5V ↔ 12V_IN | closed open |
J13 | MOT_VDD selector | 1-2, BAT ↔ MOT_VDD 2-3, 12V ↔ MOT_VDD | open closed |
Jumper settings for E1 and external power supply (for motor control):
Jumper | Description | Setting | Note |
---|---|---|---|
J13 | MOT_VDD selector | 1-2, BAT ↔ MOT_VDD 2-3, 12V ↔ MOT_VDD | closed open |
Jumper settings for provided power supply and external power supply:
Jumper | Description | Setting | Note |
---|---|---|---|
J22 | VBAT selector | 1-2, 12V ↔ 12V_IN 2-3, 5V ↔ 12V_IN | closed open |
J13 | MOT_VDD selector | 1-2, BAT ↔ MOT_VDD 2-3, 12V ↔ MOT_VDD | closed open |
The DC Jack connector provides external power, protected against overvoltage. Always observe polarity and voltage.
Power supply connector specification:
Connector | Description | Input Voltage Range |
---|---|---|
DC Jack* | DC Power Jack ID=2.0mm, center positive | +10V to +15V |
Note: Using the DC Jack for the motor control unit limits current to ~400mA via the internal eFuse.
Power supply measurement
Jumper J12 can be used to measure MCU current consumption.
Jumper | Description | Pins | Note |
---|---|---|---|
J12 | MCU power measurement | 1-2 3-4 | REGVCC power supply (5 V) EVCC, AV0REF power supply (5 V) |
LEDs
RGB LED
An RGB LED is provided for visual feedback of microcontroller output states and PWM Diagnostic Macro functionality. It is driven by three N-channel transistors, with feedback connected to the A/D converter. PWM signals are active high.
RGB LED Jumper Configuration:
Jumper | Description | Setting | Note |
---|---|---|---|
J1 | RGB LED Connector | 1-2 3-4 5-6 | R_PWM feedback ↔ AP0_5 G_PWM feedback ↔ AP0_6 B_PWM feedback ↔ AP0_7 |
J6 | PWM output to RGB LED connector | 1-2 3-4 5-6 | R_PWM signal ↔ P11_7 G_PWM signal ↔ P11_6 B_PWM signal ↔ P11_5 |
Green Indicator LEDs
Two green LEDs (LED1 and LED2) provide visual observation of microcontroller output port states. They are active high.
Jumper | Setting | LED | Device Port |
---|---|---|---|
J10 | 1-2 3-4 | LED18 LED17 | P0_14 P8_5 |
Blue Power Supply LEDs
Three indicator LEDs show the status of power supply voltages:
Name on board | Signal Name | Meaning |
---|---|---|
D16 | VDD_12V | Microcontroller area powered by DC Jack |
D17 | VDD_5V | Microcontroller area powered by E1 |
12V | VCC12 | Motor control area powered |
Blue LED Circle
Sixteen blue LEDs are driven by the TLC5925, controlled via SPI. The LEDs can be configured using jumper settings.
Jumper | Setting | Signal | Device Port |
---|---|---|---|
J2 | 1-2 3-4 5-6 7-8 9-10 | LAT BLNK MCLK MOSI MISO | P8_10 P8_11 P11_3 P11_2 P11_4 |
Digital inputs for Low Power Sampler (LPS)
Eight digital input signals from a DIP switch array (S3) trigger the microcontroller's Low Power Sampler via an 8-to-1 Multiplexer (IC4). Changes during DeepSTOP mode wake up the microcontroller.
LPS Jumper Configuration:
Jumper | Description | Setting | Note |
---|---|---|---|
J21 | Digital LPS input to MCU connector | 1-2 3-4 5-6 7-8 9-10 | DIN ↔ P8_3 SELDPO ↔ P0_4 SELDP1 ↔ P0_5 SELDP2 ↔ P0_6 DPO ↔ P0_0 |
Pushbutton Switches
Two pushbutton switches (S1 and S2) are provided for input port state changes. They are active low and normally open.
Switch | Device signal | Active Level | Inactive State |
---|---|---|---|
S1 | P8_2 (INTP6) | low | open |
S2 | RESET | low | open |
Interrupt Pushbutton Jumper Configuration:
Jumper | Description | Setting | Note |
---|---|---|---|
J9 | Interrupt pushbutton to MCU connector | 1-2 | Button ↔ P8_2 |
A pushbutton is also integrated with the Rotary Encoder.
Analog Input - Potentiometer
A potentiometer (POT1) generates an analog voltage for the microcontroller's analog input pins. Turning POT1 adjusts the voltage derived from MCU output signal APO (P0_1), which can be controlled by the LPS macro. If LPS is not used, APO must be set manually.
Potentiometer | Analog Input MCU |
---|---|
POT1 | AP0_4 |
Potentiometer Jumper Configuration:
Jumper | Description | Setting | Note |
---|---|---|---|
J11 | Potentiometer to MCU Connector | 1-2 3-4 | POT1 ↔ AP0_4 POT1 supply ↔ AP0 |
Rotary Encoder with Pushbutton Switch
An incremental Rotary Encoder (ENC1) provides outputs ENC1_a and ENC1_b, connectable to the microcontroller's internal encoder timer via jumpers. It also includes a pushbutton switch ENC1_Switch, active low and normally open, also connectable via jumper.
Jumper | Description | Setting | Note |
---|---|---|---|
J5 | Encoder to MCU connector | 1-2 3-4 5-6 | P10_9 ↔ ENC1_a P10_10 ↔ ENC1_b P0_13 ↔ ENC1_Switch |
Serial Communication Interfaces
SENT and LIN
The Local Interconnect Network (LIN) transceiver (IC5) provides a LIN interface, connectable to the RLIN21 macro. The DB9 connector CN5 is shared for LIN and SENT. Renesas offers a SENT Extension Board "Y-RH850-SENT-EXT-BRD" for SENT message reception and sensor configuration.
LIN Transceiver Jumper Configuration:
Jumper | Description | Setting | Note |
---|---|---|---|
J15 | LIN Transceiver to MCU connector | 1-2 3-4 | LIN RX ↔ P0_7 LIN TX ↔ P0_8 |
SENT Jumper Configuration:
Jumper | Description | Setting | Note |
---|---|---|---|
J19 | SENT interface connector | 1-2 3-4 5-6 | SENT SPCO ↔ P9_1 SENT RX ↔ P9_0 SENT PROG ↔ AP0_14 |
Note: Jumper J19 configuration may vary based on PCB release version.
DIP switch S5 configures the serial interfaces connected to the DB9 connector CN5.
Switch S5 configuration for LIN:
Switch | Configuration | Signal | DB9 pin (CN5) |
---|---|---|---|
1 | on | LIN | 7 |
2 | on | GND | 3 |
3 | on | VBATF (12V DC) | 9 |
4 | off | - | 6 |
5 | off | - | 8 |
6 | off | - | 1 |
Switch S5 configuration for SENT:
Switch | Configuration | Signal | DB9 pin (CN5) |
---|---|---|---|
1 | off | - | 7 |
2 | off | - | 3 |
3 | off | - | 9 |
4 | on | GND | 6 |
5 | on | SENT_RX | 8 |
6 | on/off* | (SENT_SPCO) VDD_5V | 1 |
*Caution: For SIO configuration of the SENT Extension Board, turn OFF switch 6. For custom sensor boards, ensure output current limits are respected and turn ON switch 5 if necessary.
Note: Only one interface (LIN or SENT) can be configured at a time using DIP switch S5.
UART/USB Interface
The UART to USB transceiver (U1) provides a serial interface, connectable to the RLIN30 macro.
UART/USB Transceiver Jumper Configuration:
Jumper | Description | Setting | Note |
---|---|---|---|
J14 | UART to USB connector | 1-2 3-4 5-6 | UART/USB TX ↔ P0_2 UART/USB RX ↔ P0_3 UART/USB EN ↔ AP0_9 |
CAN Interfaces
Controller Area Network (CAN) transceivers (IC6 and IC8) provide two CAN bus interfaces, connectable to the microcontroller's CAN interfaces (CAN1, CAN4) via DB9 connectors CN6 and CN8. The CAN0/1 transceiver is enabled by default for transmit/receive. Silent mode allows receive-only. DIP switch S4 offers additional CAN bus interface configuration, including selective interconnection.
CAN0 and CAN1 Transceiver Jumper Configuration:
Jumper | Description | Setting | Note |
---|---|---|---|
J20 (optional) | CAN0 transceiver TX/RX to MCU connector CAN1 transceiver TX/RX to MCU connector | 1-2 3-4 5-6 7-8 | CANTX0 ↔ P10_7 (CAN1TX) CANRX0 ↔ P10_6 (CAN1RX) CANTX1 ↔ P0_10 (CAN4TX) CANRX1 ↔ P0_9 (CAN4RX) |
On-board CAN bus and terminal resistors are activated by DIP switch S4.
Transceiver | CAN channel | Switch | Note |
---|---|---|---|
IC6 | CAN0 | 1 | Enable termination resistor |
IC8 | CAN1 | 2 | Enable termination resistor |
All | All | 3 4 | Connect to on-board CAN bus Connect to on-board CAN bus |
On-chip Debug and Flash Programming Connector
Connector CN1 (14-pin, 0.1” pitch) allows connection of debug and flash programming tools. It supports the Renesas E1 On-chip debug emulator. Refer to Chapter 5.1 for E1 details.
OLED Board (optional)
A pin header allows optional connection of an external display. The Adafruit OLED Display (product ID 326) is compatible.
OLED header (optional)
Connector | PCB | Display |
---|---|---|
1 | GND | GND |
2 | 5V | VIN |
3 | M_DISPLAY_3V3 (AP0_8) | 3.3V |
4 | CS | |
5 | M_DISPLAY_RESET2 (P8_6) | RST |
6 | DC | |
7 | M_DISPLAY_SCL (P0_12) | SCL |
8 | M_DISPLAY_SDA (P0_11) | SDA |
Alternative (not compatible to connector): https://www.adafruit.com/product/931
Motor Control Area
This area includes the Power Stage, Motor and VBAT connectors, and Hall Sensor connectors. The power stage is a 3-phase bridge using Renesas NP75N04YUG n-channel MOSFETs, with gates connected to the Predriver. Refer to the "Motor Control Application Note" for details.
Motor- and External Power Supply Connectors
Connectors for external power supply and hall sensors are located here. An external power supply up to 18V can be connected to CN2. The delivered motor connects to CN4 as follows:
CN4 Name | Motor Wire Color |
---|---|
W | Green |
V | Black |
U | Red |
Note: Using CN2 bypasses the eFuse, removing current limitation.
Caution: The Starter Kit is intended for use with delivered components. Connecting your own motor is at your own responsibility. Always adhere to specified voltage and current ranges. No guarantee or support is provided for custom motor/external power supply connections.
Hall Sensor Connectors
Digital hall sensors can be connected via CN7 to the MCU. Input pins are protected against overvoltage. For internal hall sensors of the delivered motor, internal pull-up resistors must be activated. Colored wires connect as follows:
Board connector CN7 (HALL_IN) / MCU | Motor Wire Color |
---|---|
GND | - |
GND | White |
HALLC/ P10_14 | Brown |
HALLB/ P10_13 | Orange |
HALLA/ P10_12 | Blue |
5V | Yellow |
Predrive Area
The R2A25108KFP device provides MOSFET drivers, charge pump, current sense amplifiers, and safety functions. The connection between the MCU and the Predriver is detailed below:
Description | Connection MCU <-> Predriver |
---|---|
Predriver-Input for UT Signals | P10_0 <-> IUT |
Predriver-Input for UB Signals | P10_1 <-> IUB |
Predriver-Input for VT Signals | P10_2 <-> IVT |
Predriver-Input for VB Signals | P10_3 <-> IVB |
Predriver-Input for WT Signals | P10_4 <-> IWT |
Predriver-Input for WB Signals | P10_5 <-> IWB |
ERR1 Signal | P8_7 <-> ERR1 |
ERR2 Signal | P8_8 <-> ERR2 |
Mute the output of the Predriver | P8_9 <-> MUTE |
W Phase Current | AP0_2 <-> VOW |
V Phase Current | AP0_1 <-> VOV |
U Phase Current | AP0_0 <-> VOU |
Note: Refer to the Predriver datasheet for signal details.
Development tools
E1 On-Chip Debug Emulator [R0E000010KCE00]
The E1 On-Chip Debug Emulator is a powerful tool for debugging and flash programming Renesas microcontrollers. Updates and manuals are available at www.renesas.com/e1.
Development Software
The Starter Kit package includes the following software tools:
- Green Hills MULTI IDE (90-day evaluation)
- IAR Embedded Workbench for Renesas RH850 (128KB Kickstart)
- iSYSTEM winIDEA with E1 support
- CS+ integrated development environment (Evaluation version via download)
- Renesas Flash Programmer (RFP)
- Renesas Smart Configurator (SC)
The Quick Start Guide provides more information on using these tools.
RH850/F1KM-S1 Starter Kit Example Software
The included demo software provides functions such as:
- Basic MCU Initialization
- PWM Generation for LEDs and RGB LEDs
- PWM Diagnostic Function for RGB LEDs
- A/D-Converter for PWM-Diagnostics and Potentiometers
- Standby modes including Low Power Sampler (LPS)
- Push-Button Function
- Encoder Function
- CAN Frame Transmission
- LIN Frame Transmission
- UART/USB Transmission
- SENT Transmission
- SPI Transmission
- Operating System Timer
- Timer Array Unit J
- Timer Array Unit B
Framework Description
Renesas provides a software framework for its Starter Kits, enabling easy access to controller modules. The kits feature peripherals like encoders, potentiometers, LEDs, displays, CAN, LIN, UART/USB transceivers, and buttons. The framework includes software functions for simplified module usage.
The framework is structured in three layers:
- Application Layer: Contains the actual application (e.g., sample application using lower layers for display, LEDs, and transceivers).
- Modules Layer: Includes modules like `canfd`, which access peripheral functions (e.g., RS-CANFD, port) and potentially controller-agnostic modules (e.g., "led" using port, timer, pwmd).
- Peripherals Layer: Contains source code for microcontroller peripherals (e.g., port functions in `r_port.c`).
Higher layers should only access lower layers.
Sample Software Classic
The software includes a test function and two run modes. Connect the starter kit via USB to a computer for live documentation.
Note: Use a USB 1.0/2.0 Type A to mini USB 1.0/2.0 mini-B cable and a baud-rate of 9600 Bd.
Figure 7. Software flow: This diagram illustrates the software flow starting from Device Reset, through Startup Test, Mode 1, Mode 2, and DeepStop, with transitions between modes and a reset option.
The default software depends on the starter kit version (with or without motor control). Motor control software is detailed in the "Motor Control Application Note".
Start Up Test
Upon startup, the clock is initialized, followed by a start-up test. This test cycles LEDs, sweeps the RGB LED through colors, and checks serial interfaces (CAN, LIN) and RGB LED PWM feedback. Results are displayed via debugger and UART/USB. A test picture is shown on the display before proceeding to Mode 1.
Mode 1
LED1 and LED2 intensity varies with POT1 position, controlling LED duty cycles. Blue LEDs follow the Rotary Encoder (ENC1). The Rotary Encoder Pushbutton changes the RGB LED color. Load current for RGB LEDs is monitored for faults. A short push on S1 switches to Mode 2; holding it for 3s or more enters DeepSTOP. The microcontroller enters DeepSTOP automatically after 30s of inactivity. Mode 1 operates on a 1ms cycle via the Operating System Timer.
Mode 2
LED1 and LED2 blink alternately, and Blue LEDs circle the Rotary Encoder at a frequency determined by POT1. Each interval adjusts LED duty cycles for blinking patterns. The number of circling blue LEDs can be changed with ENC1. Load current monitoring is similar to Mode 1. Switching to Mode 1 restarts PWM output and diagnostics. A short push on S1 switches to Mode 1; holding it for 3s or more enters DeepSTOP. The microcontroller enters DeepSTOP automatically after 30s of inactivity. Mode 2 operates on a 1ms cycle via the Operating System Timer.
StandBy
Entering standby mode turns off unnecessary functions and switches the controller to DeepSTOP for low power. This is indicated by a 2s interval of LED2. Wake-up can be triggered by S1, the Rotary Encoder Pushbutton, DIP switch S6, or POT1 adjustment. Wake-up events are generated by the Low Power Sampler. Resuming returns to the previous mode.
Motor Control Software Example (with display)
If equipped with a Motor Control Unit, the starter kit defaults to motor control FOC example software, detailed in the "Motor Control Application Note". After startup tests, the motor control mode is entered. The board can control the connected motor "stand-alone". The encoder controls rotation speed (clockwise/counterclockwise), with Blue LEDs indicating RPM feedback (500 RPM per LED, -8000 to 8000 RPM). POT1 adjusts acceleration/deceleration (~0 to ~10000 RPM/sec). The software uses sensorless field oriented control with flux estimation.
A PC application, included in the starter kit package, provides more information and allows modification of motor control parameters.
Display Description
The display shows key motor control parameters:
Name | Meaning |
---|---|
RPMD | Rotation Per Minute Desired |
RPMA | Rotation Per Minute Actual |
ID | ID current of FOC (controlled to 0 at normal control) |
IQ | IQ current of FOC (~used current of Motor) |
ACC | Acceleration (in RPM/sec) |
DEC | Deceleration (in RPM/sec) |
VBUS | Bus Voltage |
Alrm Cde | Alarm Code (described in App Note) |
Note: Detailed motor control parameter descriptions are in the "Motor Control Application Note".
The motor control unit supports connecting hall sensors for the delivered motor, though they are imprecise for field oriented control. Custom software can use hall sensors for trapezoidal control.
Component Placement and Schematics
Component placement
Figure 8. Component Placement: This image shows the physical layout of components on the RH850/F1KM-S1 Starter Kit PCB, indicating the location of connectors (CN1-CN8, J1-J22), ICs, resistors, capacitors, switches (S1-S6), and other key parts.
Note: Component placement details may vary based on PCB release version.
Schematics
Y-ASK-RH850F1KM-S1-V3 Schematics without Motor Control
Figure 9. Schematics without motor control: This diagram presents the circuit schematics for the RH850/F1KM-S1 Starter Kit without the motor control unit. It details connections for the MCU, power supply, USB, LIN, SENT, LED and Encoder circuits, CAN interfaces, and other functional blocks.
Note: Schematic details may vary based on PCB release version.
Y-BLDC-SK-RH850F1KM-S1 Schematics with Motor Control
Figure 10. Schematics with motor control: This diagram presents the circuit schematics for the RH850/F1KM-S1 Starter Kit with the motor control unit. It includes all the elements from the non-motor control version plus specific schematics for motor control components, power stages, and related interfaces.
Note: Schematic details may vary based on PCB release version.
Revision History
This section details the revisions made to the RH850/F1KM-S1 Starter Kit V3 User Manual: Hardware.
Rev. | Date | Page | Description | Summary |
---|---|---|---|---|
1.00 | June 2018 | - | First edition issued | - |
1.01 | November 2018 | 20, 24, 27, 34, 35 | Schematics/component placement updated, Hall Sensor connection added, SENT description extended, Framework Description added | - |
1.02 | Feb.18.19 | - | Minor corrections | - |
Publication Information
Publication Date: Rev.1.02 February 2019
Published by: Renesas Electronics Europe
Sales Offices
For the latest and detailed information, please refer to www.renesas.com.
Contact information for Renesas Electronics offices in America, Canada, Europe (UK, Germany), China (Beijing, Shanghai), Hong Kong, Taiwan, Singapore, Malaysia, and Korea is provided.