RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
Transcript of RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
RH850/F1KM-S1 (BLDC) Starter Kit V2
User Manual: Hardware RENESAS MCU
RH850 F1x Series
Y-BLDC-SK-RH850F1KM-S1-V2
All information contained in these materials, including products and product specifications,
represents information on the product at the time of publication and is subject to change by
Renesas Electronics Corp. without notice. Please review the latest information published by
Renesas Electronics Corp. through various means, including the Renesas Electronics Corp.
website (http://www.renesas.com).
For updates of the Starter Kit software and documentation please check:
http://www.renesas.eu/update?oc=Y-BLDC-SK-RH850F1KM-S1-V2
32
Use
r Ma
nu
al
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 2 June 07, 2021
Notice
1. All information included in this document is current as of the date this document is issued. Such information, however, is subject to change without any prior notice. Before purchasing or using any Renesas Electronics products listed herein, please confirm the latest product information with a Renesas Electronics sales office. Also, please pay regular and careful attention to additional and different information to be disclosed by Renesas Electronics such as that disclosed through our website.
2. Renesas Electronics does not assume any liability for infringement of patents, copyrights, or other intellectual property rights of third parties by or arising from the use of Renesas Electronics products or technical information described in this document. No license, express, implied or otherwise, is granted hereby under any patents, copyrights or other intellectual property rights of Renesas Electronics or others.
3. You should not alter, modify, copy, or otherwise misappropriate any Renesas Electronics product, whether in whole or in part.
4. Descriptions of circuits, software and other related information in this document are provided only to illustrate the operation of semiconductor products and application examples. You are fully responsible for the incorporation of these circuits, software, and information in the design of your equipment. Renesas Electronics assumes no responsibility for any losses incurred by you or third parties arising from the use of these circuits, software, or information.
5. When exporting the products or technology described in this document, you should comply with the applicable export control laws and regulations and follow the procedures required by such laws and regulations. You should not use Renesas Electronics products or the technology described in this document for any purpose relating to military applications or use by the military, including but not limited to the development of weapons of mass destruction. Renesas Electronics products and technology may not be used for or incorporated into any products or systems whose manufacture, use, or sale is prohibited under any applicable domestic or foreign laws or regulations.
6. Renesas Electronics has used reasonable care in preparing the information included in this document, but Renesas Electronics does not warrant that such information is error free. Renesas Electronics assumes no liability whatsoever for any damages incurred by you resulting from errors in or omissions from the information included herein.
7. Renesas Electronics products are classified according to the following three quality grades: “Standard”, “High Quality”, and “Specific”. The recommended applications for each Renesas Electronics product depends on the product’s quality grade, as indicated below. You must check the quality grade of each Renesas Electronics product before using it in a particular application. You may not use any Renesas Electronics product for any application categorized as “Specific” without the prior written consent of Renesas Electronics. Further, you may not use any Renesas Electronics product for any application for which it is not intended without the prior written consent of Renesas Electronics. Renesas Electronics shall not be in any way liable for any damages or losses incurred by you or third parties arising from the use of any Renesas Electronics product for an application categorized as “Specific” or for which the product is not intended where you have failed to obtain the prior written consent of Renesas Electronics. The quality grade of each Renesas Electronics product is “Standard” unless otherwise expressly specified in a Renesas Electronics data sheets or data books, etc.
“Standard”: Computers; office equipment; communications equipment; test and measurement equipment; audio and visual equipment; home electronic appliances; machine tools; personal electronic equipment; and industrial robots.
“High Quality”: Transportation equipment (automobiles, trains, ships, etc.); traffic control systems; anti-disaster systems; anti- crime systems; safety equipment; and medical equipment not specifically designed for life support.
“Specific”: Aircraft; aerospace equipment; submersible repeaters; nuclear reactor control systems; medical equipment or systems for life support (e.g. artificial life support devices or systems), surgical implantations, or healthcare intervention (e.g. excision, etc.), and any other applications or purposes that pose a direct threat to human life.
8. You should use the Renesas Electronics products described in this document within the range specified by Renesas Electronics, especially with respect to the maximum rating, operating supply voltage range, movement power voltage range, heat radiation characteristics, installation and other product characteristics. Renesas Electronics shall have no liability for malfunctions or damages arising out of the use of Renesas Electronics products beyond such specified ranges.
9. Although Renesas Electronics endeavors to improve the quality and reliability of its products, semiconductor products have specific characteristics such as the occurrence of failure at a certain rate and malfunctions under certain use conditions. Further, Renesas Electronics products are not subject to radiation resistance design. Please be sure to implement safety measures to guard them against the possibility of physical injury, and injury or damage caused by fire in the event of the failure of a Renesas Electronics product, such as safety design for hardware and software including but not limited to redundancy, fire control and malfunction prevention, appropriate treatment for aging degradation or any other appropriate measures. Because the evaluation of microcomputer software alone is very difficult, please evaluate the safety of the final products or system manufactured by you.
10. Please contact a Renesas Electronics sales office for details as to environmental matters such as the environmental compatibility of each Renesas Electronics product. Please use Renesas Electronics products in compliance with all applicable laws and regulations that regulate the inclusion or use of controlled substances, including without limitation, the EU RoHS Directive. Renesas Electronics assumes no liability for damages or losses occurring as a result of your noncompliance with applicable laws and regulations.
11. This document may not be reproduced or duplicated, in any form, in whole or in part, without prior written consent of Renesas Electronics.
12. Please contact a Renesas Electronics sales office if you have any questions regarding the information contained in this document or Renesas Electronics products, or if you have any other inquiries.
(Note 1) “Renesas Electronics” as used in this document means Renesas Electronics Corporation and also includes its majority- owned subsidiaries.
(Note 2) “Renesas Electronics product(s)” means any product developed or manufactured by or for Renesas Electronics.
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 3 June 07, 2021
Table of Contents
1. Introduction ............................................................................................................................ 4
2. Cautions ................................................................................................................................. 6
3. Quick Start Information ......................................................................................................... 7
3.1 Connector and jumper overview ............................................................................................... 7 3.1.1 Microcontroller assembled and Port Pin Interfaces ............................................................... 7 3.1.2 Board Overview Y-BLDC-SK-RH850F1KM-S1-V2 .............................................................. 10
4. Starter Kit Hardware ............................................................................................................ 11
4.1 Starter Kit functions .................................................................................................................. 11 4.1.1 RH850/F1KM-S1 Starter Kit .................................................................................................... 11 4.1.2 Power Supply ............................................................................................................................ 13 4.1.3 LEDs ........................................................................................................................................... 15 4.1.4 Digital inputs for Low Power Sampler (LPS)......................................................................... 16 4.1.5 Pushbutton Switches ................................................................................................................ 17 4.1.6 Analog Input - Potentiometer .................................................................................................. 17 4.1.7 Rotary Encoder with Pushbutton Switch ............................................................................... 18 4.1.8 Serial Communication Interfaces ........................................................................................... 18 4.1.9 On-chip Debug and Flash Programming Connector ........................................................... 21 4.1.10 OLED Board (optional) ............................................................................................................. 22 4.1.11 Motor Control Area ................................................................................................................... 22 4.1.12 Predrive Area............................................................................................................................. 26
5. Development tools ............................................................................................................... 28
5.1 E1 On-Chip Debug Emulator [R0E000010KCE00] (discontinued product) ......................... 28 5.2 E2 Emulator [RTE0T00020KCE00000R] (Successor of E1) .................................................. 28 5.3 Development Software.............................................................................................................. 28
6. RH850/F1KM-S1 Starter Kit Example Software .................................................................. 29
6.1 Framework Description ............................................................................................................ 29 6.2 Sample Software Classic .......................................................................................................... 30 6.3 Start Up Test .............................................................................................................................. 31 6.4 Mode 1 ........................................................................................................................................ 33 6.5 Mode 2 ........................................................................................................................................ 33 6.6 StandBy ...................................................................................................................................... 34 6.7 Motor Control Software Example ........................................................................................... 34
7. Component Placement and Schematics ............................................................................ 36
7.1 Component placement.............................................................................................................. 36 7.2 Schematics ................................................................................................................................ 37
Revision History .............................................................................................................................. 38
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 4 June 07, 2021
1. Introduction
The ‘RH850/F1KM-S1 Starter Kit’ serves as a simple and easy to use platform for evaluating the
features and performance of Renesas Electronics’ 32-bit RH850/F1KM-S1’ microcontroller.
Features:
• Connections for on-chip debugging and flash memory programming
• Access to all microcontroller I/O pins
• User interaction through potentiometer, rotary switch, buttons and LEDs
• Serial interface connections for
− 1x UART/USB
− 1x LIN
− 1x SENT
− 2x CAN-FD
− 2x Position sensor
• Multiple power supply options by
− Provided 12V DC power supply via DC jack
− Motor control part can be powered additionally by an external power supply
− RENESAS E1 or E2 On-Chip debugging emulator (5V/200mA), for debugging
without motor control part
This document will describe the functionality provided by the Starter Kit and guide the user
through its operation. For details regarding the operation of the microcontroller refer to the
RH850/F1KM-S1 Hardware User Manual.
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 5 June 07, 2021
As the motor control part is quite extensive, it is excluded to a “Motor Control Application Note”,
which is included on the CD of the starter kit package.
Renesas provides a SENT Extension Board “Y-RH850-SENT-EXT-BRD-V2” that comes with a sample software, which receives the SENT messages from an Renesas ZSSC4161 IC.
See below a short overview of the related documents:
Table 1 Related documents
Description DOC-Number
1. Hardware User Manual of RH850/F1KM-S1 R01UH0684EJxxxx
2. Datasheet of RH850/F1KM-S1 Included in above document
3. QSG for RH850/F1KM-S1 Starter Kit V2 D017733-06
4. Motor Control Application Note R11AN0284EDxxxx
5. User Manual of SENT Extension Board R12UT0014EDxxxx
6. SENT Application Note R01AN3963EDxxxx
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 6 June 07, 2021
2. Cautions
1. When power supply of E1 or E2 on-chip debugging emulator is used for debugging
without motor control part, please note that the maximum current provided by the
emulator is limited to 200mA. Thus, an external power supply is required in case all
functions on the Starter Kit are used to full extend.
2. If you are connecting an external power supply to the motor control part (CN2), be
sure to set the jumpers correct, as described in “4.1.2.1 Power supply
configuration”.
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 7 June 07, 2021
3. Quick Start Information
3.1 Connector and jumper overview
3.1.1 Microcontroller assembled and Port Pin Interfaces
On the RH850/F1KM-S1 Starter Kit the following device is assembled:
R7F701684
As external clock supply of the microcontroller, a 16MHz crystal is mounted.
Each microcontroller I/O pin is connected to a pin header interface. The pin header interfaces
allow easy probing of I/O pins and provide the ability to selectively connect the I/O pins to power,
ground or other signals. Table 2 and Table 3 are showing the assignment of the pin header
interface.
Table 2 J3 – J4 – Signal Assignment
J3 J4
Pin Function Pin Pin Function Pin
P10_3 P10_4 2 AP0_13 AP0_12 2
3 P10_5 P10_15 4 3 AP0_11 AP0_10 4
5 P11_0 P0_0 6 5 AP0_9 AP0_8 6
7 P0_1 P0_2 8 7 AP0_7 AP0_6 8
9 P0_3 P0_4 10 9 AP0_5 AP0_4 10
11 P0_5 P0_6 12 11 AP0_3 AP0_2 12
13 P0_11 P0_12 14 13 AP0_1 AP0_0 14
15 P0_13 P0_14 16 15 P9_0 P9_1 16
17 P8_2 P8_10 18 17 P9_2 P9_3 18
19 P8_11 P8_12 20 19 P9_4 P9_5 20
21 GND VDD_5V 22 21 GND VDD_5V 22
1 1
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 8 June 07, 2021
Table 3 J7 – J8 – Signal Assignment
J7 J8
Pin Function Pin Pin Function Pin
P9_6 P10_6
2 JP0_5 JP0_4 2
3 P10_7 P10_8
4 3 JP0_3 JP0_2
4
5 P10_9 P10_10
6 5 JP0_1 JP0_0
6
7 P10_11 P10_12
8 7 FLMD0 P0_10
8
9 P10_13 P10_14
10 9 P0_9 P0_8 10
11 P11_1 P11_2
12 11 P0_7 P8_3 12
13 P11_3 P11_4
14 13 P8_4 P8_5 14
15 P11_5 P11_6 16 15 P8_6 P8_7 16
17 P11_7 P10_0 18 17 P8_8 P8_9 18
19 P10-1 P10_2 20 19 AP0_15 AP0_14 20
21 GND VDD_5V 22 21 GND VDD_5V 22
1 1
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 9 June 07, 2021
Table 4. Jumper / Connector Settings Overview
Jumper Description Setting Note
FB J1
RGB LED connector
1 – 2 R: PWM feedback AP0_5
3 – 4 G: PWM feedback AP0_6
5 – 6 B: PWM feedback AP0_7
LED16 J2
Blue LED Circle to MCU connector
1 – 2 LA: SPI driver LEP8_10
3 – 4 BL: SPI driver OE#P8_11
5 – 6 MC: SPI driver CLK P11_3
7 – 8 MO: SPI driver SDI P11_2
9 – 10 MI: SPI driver SDO P11_4
ENC J5 Encoder to MCU connector 1 – 2 a: Encoder input 0 P10_9
3 – 4 b: Encoder input 1 P10_10
5 – 6 B: Encoder button P0_13
PWM J6
PWM output to RGB LED connector
1 – 2 R: PWM signal P11_7
3 – 4 G: PWM signal P11_6
5 – 6 B: PWM signal P11_5
J9
INT
Interrupt Button to MCU connector
1 – 2 INT: Button P8_2
J10
LED
Indication LED to MCU connector
1 – 2 LED18 P0_14
3 – 4 LED17 P8_5
J11 Potentiometer to MCU connector
1 – 2 POT1 AP0_4
3 – 4 APO P0_1
J12 MCU power distribution 1 – 2 REG: REGVCC supply
3 – 4 EVCC: EVCC/A0VREF supply
J13 MOT_VDD selector 1 – 2 BAT: 5.3V-18V external supply MOT_VDD
2 – 3 10V-15V DC Jack MOT_VDD
J14
UART
UART to USB connector 1 – 2 UART/USB TX P0_2
3 – 4 UART/USB RX P0_3
5 – 6 UART/USB EN AP0_9
J15 LIN Transceiver to MCU connector
1 – 2 LIN RX P0_7
3 – 4 LIN TX P0_8
J19 SENT interface connector 1 – 2 SENT SPCO P9_1
3 – 4 SENT RX P9_0
5 – 6 SENT_PROG AP0_14
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 10 June 07, 2021
Note: Default jumper setting (Power Supply by E1 or E2 emulator) is indicated by bold font.
3.1.2 Board Overview Y-BLDC-SK-RH850F1KM-S1-V2
The RH850/F1KM-S1 Version of the V2 Starter Kit is shown in the figure below.
Figure 1. Starter Kit top view RH850/F1KM-S1-V2
J21
Digital LPS input to MCU connector
1 – 2 DIN P8_3
3 – 4 SELDP0 P0_4
5 – 6 SELDP1 P0_5
7 – 8 SELDP2 P0_6
9 – 10 DPO P0_0
J22
VBAT selector
1 – 2 12V: VBAT 12V_IN
2 – 3 5V: VBAT VDD_5V
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 11 June 07, 2021
4. Starter Kit Hardware
4.1 Starter Kit functions
4.1.1 RH850/F1KM-S1 Starter Kit
Figure 2. Functional overview
Note: Modules with dashed lines are optional and not included in the kit.
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 12 June 07, 2021
Functional Areas
The functional areas provide various circuits and components useful for interacting with the
microcontroller’s I/O:
S5
S
Q
RT
D
R
D8
D1
21
C
2 1
U2
DP1DP3
DP2
C 8
TP3
R102
R1
CAN0
R155
C
R15
LINT
PRO
C
R13
RT
R133
C 3
R13
C38
R 3
1
R11
R8
R8
IC
T5
R
R11
R8
C
C1 C35
C82
C3
1 2
2
C2
1
2
Y1 R55
R1
C 2
U
R1
R 0
C8 R1 5
C8
2
D1
C
22
R128
1
C
18
C21
C 3
R
R 2
C
1
R31
R10
R108
15
R1 0
1
R1 2
R1
R
C81
T3
R
R
R
C80
C11
5V
R3
C 1
R 3
R3
13
CANR 0
CANT 1
IC
TP
CAN1L
CAN0
C53
R10
Q5
Q C5
5V
VBAT
CAN1R CAN T
CAN R
TP
CAN0L
R118
MBEU
COSP
COSNMST
C3
R123
D11
R52
C31
R12U3
R
R2
R 5
C2
C3
R110
D
D
11
R113
R30
R103
D5
S3
AN
R81 R83
D2
C13
SCL
T
L1
R 8
ND1
12V
C83
R1 1
S
C28
R1 3
IC3
S2
C 1
C8
R130
S1
21
C5
22
2
1
C55
C33
SELDP1
SELDP0
21
R2
FC1
D15
C
MC
R2
RR13
b
a
B
D13
C 1
C 5
IC
R1 3
R1 2
R1 1
R1 0
R153
R25
R
ND3
CN1
CN5
CANT 0
CANR 1
TP
CAN1CAN1H
LINR
TP1
NDN.C.
R1 8
S
R1
LED21TP2
LIN ND
ND
CN2
CAN1T
LIN31R
LIN31T
TP5
IC8
CAN0H
SPCO
R80
R
R1 1
C 8C
C 0
R121
C 2
R125
T
T
SINP
SINNMBEV
MBE ND2
10
R50
R138
R85
R 0
R 1
R 5
R12
R112 T
CN
R5
R33
R5 C10
R 3
R3
R
R10
R101
1
10
R 2R115
13 R1 0
R
C1
R32
R
R 2
R2
C25
C18
R 8
R T2
P M
SDASCL
R8 R88
D
R
R CAN2L
P M
CAN1H
SDA
S8R 8
C85
22
12V
D3
BAT 13
R 5
T1
R
R 1
R 0
C2
R58
R1 2
C2
R135
R 8
R 0
R
C30
R3
R38R35
R1
IC2
C58
R5
R12
11
1
22
3
U1
POT1
LPS
S
SELDP2
DPO
DIN
21
C
R158D1
C 0
10
2
L3
1
UART
R131R132
R151
MI
MO
C
LA
B R15
Q1
Q2R2
R
R20
C22
R1
D1
L2
R13
C 8R150
Q3
C20
R10
R1
R 5
POT1
C12
R1
R18
R15
CN8
CN
5V
SENT
Q
C
LEDR15
R11
12
R1
R
R3
R23
R 1
8
CN
C3
C3
C2
C
R1 8
R1 8
C 5
C
CN3
U5
RESET
12V
12V IN
R15
INT
APO
R5
C32
LED1
FB
ENC
P M
C 0
B
BL
R1
IC5
R82C
R122
HALLC
R1 5
D12
D10
CN
C5
R51
LED18 R12
R10
OFF
P M
R5
SCL
R1
R1
C1
C15
C1
C23
C 5
12
C 2
R11
LED1 LED20
UART USB
R28 R1 3
Q
SENT
R
MOTOR ERROR
R13
R 1
R12
HALLBHALLA
C51
R111
FAST POS.SENS.
S10
C5 R105
AP0
23
LED1 C 3
C52
R120
R11
R8 R100
R R 2
MOTOR
SDASENT
SLO POS.SENS.
R53
R1
R 3
DISP1
R1 5
R1
Digital Input
R
R152
R22
R21R1
C
C5
R1
2
HALL IN
C50
5V
12V IN
Debug
1
RoHS Compliant www.renesas.com/ASK-RH850F1
AP0 15
SENT LIN
RH850/F1Kx 100pin Starter KitPCB Revision: D01 33 0 V01
MOT VDDCN
SENSORCAN1
Shared LIN / SENT area
Reset and interrupt pushbuttons
Potentiometer
Debug connector
Mikrocontroller area
Power supply area
Indicator LEDs
UART/USB area
Analog and digital input area (LPS)
Rotary encoder with RGB LED and push button
Motor control area
Display area DC jack
MC external power supply connector
Pre drive unit
General purpose LEDs
Figure 3. Functional Areas
Sensor connectors
2 Channel CAN area
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 13 June 07, 2021
4.1.2 Power Supply
4.1.2.1 Power supply configuration
The Starter Kit provides three options for powering the board’s integrated circuits. It is possible to
supply the Starter Kit by using the E1 or E2 debugging emulator or by connecting the provided
external 12 Volt power supply to the DC jack.
With the default jumper setting (see Table 5) the Starter Kit is configured to be power supplied by
the E1 or E2 debugging emulator for debugging without the motor control part.
To use the motor control unit, you can either use the provided 12 Volt power supply to power the
whole board (intended to use with provided motor) or connect an external power supply with up to
18 Volt additionally to the E1 or E2 or to the provided 12V power supply. (To reach the 8000 RPM
of the included motor you have to apply 15V).
The operation of the LIN interface is only possible by using the provided external 12 Volt power
supply.
Important Note: If you connect an external voltage supply to the motor control
connector, the e-Fuse is bypassed. Do not change the power supply jumpers while
the Starter Kit is powered. Do not exceed a power supply current of 5A due to trace
thickness!
When the board is supplied only by the E1- or E2-Emulator, it is not possible to use the motor
control unit. Use the following jumper setting:
Table 5 Jumper setting for power supply by E1- o E2-Emulator
Jumper Description Setting Note
J22 VBAT selector 1-2, 12V – 12V_IN open
2-3, 5V – 12V_IN closed
When the board is supplied only via the DC jack, please choose the following jumper settings:
Table 6. Jumper setting for power supply over DC jack
Jumper Description Setting Note
J22 VBAT selector 1-2, 12V – 12V_IN closed
2-3, 5V – 12V_IN open
J13 MOT_VDD selector 1-2, BAT – MOT_VDD open
2-3, 12V – MOT_VDD closed
When the board is supplied by E1 or E2 and an external power supply (not provided) for the
motor control unit, please choose the following jumper:
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 14 June 07, 2021
Table 7. Jumper setting for external 12 volt power supply
Jumper Description Setting Note
J13
MOT_VDD selector 1-2, BAT – MOT_VDD closed
2-3, 12V – MOT_VDD open
When the board is supplied by the provided power supply and an external power supply (not
provided), please choose the following jumper settings:
Table 8. Jumper setting for external 12 volt power supply
Jumper Description Setting Note
J22
VBAT selector
1-2, 12V – 12V_IN closed
2-3, 5V – 12V_IN open
J13
MOT_VDD selector 1-2, BAT – MOT_VDD closed
2-3, 12V – MOT_VDD open
The power supply area includes a DC Jack type connector for providing external power supply to
the Starter Kit and its components. The external supply is reversibly protected against
overvoltage. Nevertheless, please always observe the right polarity and voltage.
Table 9. Power supply connector specification
Connector Description Input Voltage Range
DC Jack* DC Power Jack ID=2.0mm, center positive +10V to +15V
Note: If you use the DC Jack to supply the motor control unit, note that the internal e-Fuse will limit the current to the motor to maximal ~400mA. Caution: If you use an external power supply on CN2, make sure not to exceed 5A power supply current, due to trace thickness!
4.1.2.2 Power supply measurement
The current which is consumed by MCU can be measured by using J12. Please find below a
description of the jumper.
RH850/F1KM-S1:
Table 10. RH850/F1KM-S1 MCU power measurement
Jumper Description Pins Note
J12 MCU power measurement
1-2 REGVCC power supply (5 V)
3-4 EVCC, AV0REF power supply (5 V)
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 15 June 07, 2021
4.1.3 LEDs
4.1.3.1 RGB LED
A RGB LED is provided to allow visual observation of microcontroller output port state and to
show the functionality of the PWM diagnostic macro. The RGB LED, which is part of the rotary
encoder, is driven by three N-channel transistors. A feedback for each RGB LED channel is
connected to the A/D converter of the microcontroller to evaluate the LED drive state. The LED
PWM signals are active high.
Please use the following jumper configuration to activate the full RGB LED functionality:
Table 11. White RGB Signals Configuration
Jumper Description Setting Note
J1
RGB LED connector
1-2 R_PWM feedback AP0_5
3-4 G_PWM feedback AP0_6
5-6 B_PWM feedback AP0_7
J6
PWM output to RGB LED connector
1-2 R_PWM signal P11_7
3-4 G_PWM signal P11_6
5-6 B_PWM signal P11_5
4.1.3.2 Green Indicator LEDs
Two green low power LEDs (LED1 and LED2) are provided to allow visual observation of
microcontroller output port states. The LED signals are active high.
Table 12. Green Indicator LED Signals
Jumper Setting LED Device Port
J10 1-2 LED18 P0_14
3-4 LED17 P8_5
4.1.3.3 Blue Power Supply LEDs
The three indicator LEDs are showing which power supply voltages are available:
Table 13. Power Indicator LEDs
Name on board Signal Name Meaning
D16 VDD_12V Microcontroller area powered by DC jack
D17 VDD_5V Microcontroller area powered by E1 or E2
12V VCC12 Motor control area powered
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 16 June 07, 2021
4.1.3.4 Blue LED Circle
Sixteen blue LEDs are driven by the TLC5925, which can be controlled by the SPI command to
change the output states.
Table 14. Blue LED Circle Signals
Jumper Setting Signal Device Port
J2 1-2 LAT P8_10
3-4 BLNK P8_11
5-6 MCLK P11_3
7-8 MOSI P11_2
9-10 MISO P11_4
4.1.4 Digital inputs for Low Power Sampler (LPS)
Eight digital input signals, which are generated by a DIP switch array (S3), are provided to trigger
the microcontroller’s Low Power Sampler. The input signals are connected to the microcontroller
via 8 to 1 multiplexer (IC4). When the DIP switches (S3) are changed during low power mode
(DeepSTOP mode), the microcontroller will wake up.
Please use the following jumper configuration to connect the DIP Switch and multiplexer to the
microcontroller:
Table 15. LPS Jumper Configuration
Jumper Description Setting Note
J21 Digital LPS input to MCU
connector
1 – 2 DIN P8_3
3 – 4 SELDP0 P0_4
5 – 6 SELDP1 P0_5
7 – 8 SELDP2 P0_6
9 – 10 DPO P0_0
The multiplexer selection signals SELDP0, SELDP1 are shared with UART signals by the MCU,
which may be supplied to the fast position sensor connector CN9 or CAN1 transceiver IC8.
Ensure to disconnect the signals by switching off the connection by opening S7_4, S7_6, S8_2
and S8_5:
Table 16. LPS Switch Configuration
Switch Description Setting Note
S7 Disconnect UART signals
1 = off CAN transceiver IC8 RXD
3 = off CAN transceiver IC8 TXD
S8 2 = off Fast position sensor connector CN9 Pin 4
5 = off Fast position sensor connector CN9 Pin 5
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 17 June 07, 2021
4.1.5 Pushbutton Switches
Two pushbutton switches (S1, S2) are provided to allow the switching of microcontroller input port
states. Those switches are active low and normally open. A third pushbutton switch is used to
switch off the motor control area when powered by the provided external power supply via the DC
jack.
Table 17. Pushbutton Switch Signals
Switch Device signal Active Level Inactive State
S1 P8_2 (INTP6) low open
S2 RESET low open
S3 Power for Motor Control Area
low open
Please use the following jumper configuration to connect the interrupt pushbutton switch (S1) to
the microcontroller.
Table 18. Interrupt Pushbutton Jumper Configuration
Jumper Description Setting Note
J9 Interrupt pushbutton to MCU connector 1-2 Button P8_2
Additionally, a pushbutton is provided with the rotary encoder. For details, please refer to “Rotary Encoder with Pushbutton”.
4.1.6 Analog Input - Potentiometer
A potentiometer (POT1) is provided to generate an analog voltage, which can be delivered to the
microcontroller’s analog input pins.
By turning the potentiometer POT1, a voltage derived from the MCU output signal APO (P0_1)
can be adjusted. The APO signal can be controlled by the Low Power Sampler (LPS) macro. If
the LPS macro is not used, APO has to be set to high manually (use P0_1 as general-purpose
digital output).
Table 19. Analog Input Signal
Potentiometer Analog Input MCU
POT1 AP0_4
Please use the following jumper configuration to connect the potentiometers to the
microcontroller:
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 18 June 07, 2021
Table 20. Potentiometer Jumper Configuration
Jumper Description Setting Note
J11 Potentiometer to MCU connector 1-2 POT1 AP0_4
3-4 POT1 supply APO
4.1.7 Rotary Encoder with Pushbutton Switch
An incremental rotary encoder (ENC1) is provided on the starter kit. The outputs ENC1_a and
ENC1_b of the rotary encoder can be connected to the microcontroller internal encoder timer via
jumpers. In addition, the rotary encoder (ENC1) incorporates a pushbutton switch ENC1_Switch,
which can also be connected to a pin of the microcontroller via jumper. The switch is active low
and normally open.
Table 21. Encoder Jumper Configuration
Jumper Description Setting Note
J5 Encoder to MCU connector 1-2 P10_9 ENC1_a
3-4 P10_10 ENC1_b
5-6 P0_13 ENC1_Switch
4.1.8 Serial Communication Interfaces
4.1.8.1 SENT and LIN
Local Interconnect Network (LIN) transceiver (IC5) is supplied to provide a LIN interface. The
transceiver can be connected to the microcontroller’s LIN macro (RLIN21).
The DB9 connector CN5 is shared between the board’s LIN and SENT interface. Renesas provides a SENT Extension Board “Y-RH850-SENT-EXT-BRD-V2” that can be connected to the DB9 connector and also comes with a sample software, to evaluate the SENT messages from a Renesas ZSSC4161 signal conditioner IC. You can connect the Pin 1 of CN5 directly to VDD_5V by closing switch 6 of S5. If you want to control the power supply to the Pin 1 of CN5 by a port pin, you must open the switch 6 of S5. In this case you can control the power supply to the Pin 1 of the DB9 connector via AP0_14. Please make sure, that the Jumper J19 5-6 is closed.
Please close the following jumpers to connect the LIN transceiver to the microcontroller:
Table 22. LIN Transceiver Jumper Configuration
Jumper Description Setting Note
J15 LIN Transceiver to MCU connector 1-2 LIN RX P0_7
3-4 LIN TX P0_8
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 19 June 07, 2021
Please close the following jumpers to connect the SENT interface to the microcontroller:
Table 23. SENT Jumper Configuration
Jumper Description Setting Note
J19 SENT interface connector 1-2 SENT SPCO P9_1
3-4 SENT RX P9_0
5-6 SENT PROG AP0_14
Note: The SENT signal which is connected to the DB9 connector CN5 can also be connected to the slow position sensor connector CN3, Pin 3 via the switch S9_3. Please ensure not to use both connections in parallel. Either connect a sensor to the DB9 connector CN5 via closed switch S5_5, or to the slow position sensor connector CN3 via closed switch S9_3.
The serial interfaces are connected to the DB9 connector CN5 via DIP switch S5.
Only one interface can be used at the same time. Please see the configuration for LIN in Table 24 and for SENT in Table 25.
Table 24. Switch S5 configuration for LIN
Switch Configuration Signal DB9 pin (CN5)
S5
1 on LIN 7
2 on GND 3
3 on VBATF (12V DC) 9
4 off - 6
5 off - 8
6 off - 1
Table 25. Switch S5 configuration for SENT
Switch Configuration Signal DB9 pin (CN5)
S5
1 off - 7
2 off - 3
3 off - 9
4 on GND 6
5 on SENT_RX (SENT_SPCO)
8
6 on/off VDD_5V 1
Note: Please ensure that only one interface is configured for operation at the same
time (either LIN or SENT) by using DIP switch S5.
4.1.8.2 UART/USB Interface
UART TO USB transceiver (U1) is supplied to provide a serial interface. The transceiver can be
connected to the microcontroller’s UART macro (RLIN30).
Please close the following jumpers to connect the UART/USB transceiver to the microcontroller:
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 20 June 07, 2021
Table 26. UART/USB Transceiver Jumper Configuration
Jumper Description Setting Note
J14 UART to USB connector 1-2 UART/USB TX P0_2
3-4 UART/USB RX P0_3
5-6 UART/USB EN AP0_9
4.1.8.3 CAN Interfaces
Controller Area Network (CAN) transceivers (IC6 and IC8) are supplied to provide two CAN bus
interfaces. Each transceiver can be connected to one of the microcontroller’s CAN interfaces
(CAN1, CAN4). The CAN bus interfaces are connected to the DB9 connectors CN6 and CN8.
The CAN0/1 transceiver is enabled by default and able to transmit and receive data via the CANH
and CANL bus lines. This receive-only mode can be used to test the connection of the bus
medium. In silent mode it can still receive data from the bus, but the transmitter is disabled and
therefore no data can be sent to the CAN bus. DIP switch S4 provides additional CAN bus
interface configuration options including the ability to selectively interconnect CAN bus interfaces
on-board.
Additionally, it is possible to supply UART signals instead of the CAN signals to the CAN1
transceiver. This is intended to use a UART-over-CAN interface for external devices (e.g.
Renesas UART-over-CAN position sensors). To choose the UART signals instead of the CAN
signals, switch S7 must be configured accordingly. Only CAN1 connector supports the possibility
to use UART signals instead of CAN signals. Please do not connect both CAN interfaces at the
on-board CAN bus (→ S4_3/4 off), if CAN1 uses UART signals instead of CAN signals.
If an external device shall be supplied with power, zero Ohm resistors (R28, R31) can be
mounted to the board to get 5V at pin 9 of the Sub-D connectors CN6 or CN8. This allows the
connection of an external sensor (e.g. UART-over-CAN position sensor) without the need to route
additional wires for power supply.
The CAN transceiver support CAN and CAN-FD communication.
Please close the following jumpers to connect the CAN0 transceiver (IC6) and CAN1 transceiver
(IC8) to the microcontroller:
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 21 June 07, 2021
Table 27. CAN0 and CAN1 Transceiver Switch S7 Configuration
Selection
Switch
S7 CAN0 transceiver TX/RX to
MCU CAN1 signals
S7_6 on CANTX0 P10_7 (CAN1TX)
S7_5 on CANRX0 P10_6 (CAN1RX)
Selection
Switch
S7
CAN1 transceiver TX/RX to MCU CAN4 signals *1
CAN1 transceiver TX/RX to MCU UART1 signals *1, *2
S7_4 on CANTX1 P0_10 (CAN4TX) off P0_10 (CAN4TX)
S7_3 off P0_5 (RLIN31TX) on CANTX1 P0_5 (RLIN31TX)
S7_2 on CANRX1 P0_9 (CAN4RX) off P0_9 (CAN4RX)
S7_1 off P0_4 (RLIN31RX) on CANRX1 P0_4 (RLIN31RX)
Note 1. Please do not switch on S7_1 and S7_2 at the same time or S7_3 and S7_4 at the
same time. Please either connect the CAN signals (S7_2/4 = on; S7_1/3 = off) or the
UART signals (S7_2/4 = off; S7_1/3 = on).
Note 2. The UART signals are shared with the multiplexer selection signals of the digital inputs
for the Low Power Sampler (LPS). The digital inputs for the LPS cannot be used if the
UART is used for the CAN transceiver.
The on-board CAN bus and the terminal resistors of each CAN channel can be activated by DIP
switch S4.
Table 28. DIP Switch S4 - CAN Interfaces Signals
Transceiver CAN channel Switch Note
IC6 CAN0 1 Enable termination resistor
IC8 CAN1 2 Enable termination resistor
All All 3 Connect to on-board CAN bus
4 Connect to on-board CAN bus
4.1.9 On-chip Debug and Flash Programming Connector
Connector CN1 is provided to allow the connection of microcontroller debug and flash
programming tools. Connector CN1 is a 14 pin, 0.1” pin pitch connector. The pinout of this
connector supports the Renesas E1 or E2 On-chip debug emulator. For more information about
E1 or E2, please see Chapter 5.1 E1 On-Chip Debug Emulator [R0E000010KCE00] or 5.2 E2
Emulator [RTE0T00020KCE00000R] (Successor of E1).
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 22 June 07, 2021
4.1.10 OLED Board (optional)
The Starter Kit offers a pin header to optionally connect an external display to the board. For
example, following OLED Display is compatible to the connector:
https://www.adafruit.com/product/326
Table 29. 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
4.1.11 Motor Control Area
The motor control area comprises the power stage, the motor and VBAT connectors and the Hall
sensor connectors. The Predriver is described under 4.1.12 Predrive Area.
The power stage area is a complete 3-phase bridge composed with discrete low voltage and high
current MOSFETs. The MOSFETs are the Renesas NP75N04YUG n-channel power MOSFETs.
The Gate of the MOSFETs is directly connected to the Predriver.
For more information about the power stage as well as for the Predriver please refer to the “Motor
Control Application Note”.
For motor control purposes different signals can be used for position sensing:
• External fast position sensor inputs via connector CN9 (signals SENSOR_SINP, SENSOR_SINN, SENSOR_COSP, SENSOR_COSN)
• Back-EMF analog signals (signals M_BEU, M_BEV, M_BEW, M_ST)
• Zero crossing detection signals via Back-EMF (signals M_ZDU, M_ZDV, M_ZDW)
• Hall sensor inputs via connector CN7 (signals M_MOTOR_HALLA, M_MOTOR_HALLB, M_MOTOR_HALLC)
• Motor currents from shunt resistors (signals M_MOTOR_IUM, M_MOTOR_IVM, M_MOTOR_IWM)
As the MCU does not have enough pins to connect each of the above listed signals in parallel, a selection must be made for some signals by using switches or jumpers. This selection depends on the motor control software requirement. If you want to use an external fast position sensor (connector CN9), the analog signals of the Back-EMF cannot be used in parallel. Please choose either position sensing by using an external fast position sensor or the on-board Back-EMF circuit. Switch S10 can be used to assign the signals which should be connected to the ADC inputs.
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 23 June 07, 2021
Table 30. Analog Input Switch S10 Configuration
Switch Description Setting Note
S10 Fast Position Sensor signals to
MCU analog input signals *1
1 = on AP0_10 SENSOR_SINP
2 = off M_BEU
3 = on AP0_11 SENSOR_SINN
4 = off M_BEV
5 = on AP0_12 SENSOR_COSP
6 = off M_BEW
7 = on AP0_13 SENSOR_COSN
8 = off M_ST
Back-EMF analog signals to
MCU analog input signals *1
1 = off SENSOR_SINP
2 = on AP0_10 M_BEU
3 = off SENSOR_SINN
4 = on AP0_11 M_BEV
5 = off SENSOR_COSP
6 = on AP0_12 M_BEW
7 = off SENSOR_COSN
8 = on AP0_13 M_ST
Note 1. Please switch either all even switches on, while odds to off, or vice versa. Please do
not switch even and odd switches on to avoid a short circuit between two analog
sources.
4.1.11.1 Motor- and External Power Supply Connectors
There are some additional connectors in the motor control area to connect an external power
supply and also three hall sensors.
You can connect your own external power supply with up to 18V to the CN2 connector.
If you want to use the delivered motor, you have to connect it to CN4 as follows:
Table 31. Connector CN4
CN4 Name Motor Wire Colour
U Green
V Red
W Black
Note: If you use the CN2 connector to supply the motor, the e-Fuse is bypassed and therefore
the current is not limited anymore.
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 24 June 07, 2021
Caution:
The Starter Kit is designed and intended to use with the delivered components. If you want to
connect your own motor, please be informed that this happens on your own responsibility!
Always stay within the specified voltage and current ranges!
No guarantee or support can be provided when connecting your own motor/external power
supply!
4.1.11.2 Position Sensor Connectors
Two kind of position sensors can be connected to the starter kit. The fast sensor connector CN9 is intended to be used together with the motor control functionality. It is bundled with the motor. It returns two complementary analog signals (sin+, sin-, cos+, cos-) which can be easily calculated via an arctan-function to a precise angle position. Alternatively, an optional external sensor which provide the motor position via an UART interface (UART directly or UART-over-CAN interface) can be chosen. The slow position sensor connector CN3 is available for optional position sensors, which outputs any position via one analog value (representing the angle), via the SENT protocol or via a PWM output. To choose the desired signals, you can use the switches S8 and S9. Both connectors share the same I²C interface for configuration purposes and the same interrupt line for an optional event signalization of the sensor.
Fast position sensor connector CN9
As the MCU does not have enough pins to connect each possible signal for position sensing in parallel, a selection is mandatory. Switch S10 can be used to assign the signals of the fast position sensor to the ADC inputs. Please see Table 30. Analog Input Switch S10 Configuration for details.
• Support for direct motor control
• 4x analog inputs (sinp/cosp / sinn/cosn)
• UART-over-CAN inputs (UART or CAN signals can be chosen)
• I2C support for configuration; Share same I²C signals for slow sensor connector;
(Shared with UART-over-CAN signals; Cannot be used in parallel)
• Interrupt input optional (shared with slow position sensor connector)
Table 32. Fast position sensor connector CN9 pin assignment
Pin Functionality Signal / Connection
1 GND GND
2 VDD VDD_5V
3 IRQ *1 Close S8_8 to connect this pin to MCU port P10_11 / INTP11 / TAUB0I1
4 SDA / UART_TX / CAN_H*2 Select signal by exclusively closing switch: S8_1: P0_11 / RIIC0SDA S8_2: P0_5 / RLIN31TX (SELDP1) S8_3: CANH (IC8_7)
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 25 June 07, 2021
5 SCL / UART_RX / CAN_L*2 Select signal by exclusively closing switch: S8_4: P0_12 / RIIC0SCL S8_5: P0_4 / RLIN31RX (SELDP0) S8_6: CANL (IC8_6)
6 SINP*3 Connect this pin to MCU port AP0_10 by exclusively closing switch S10_1. Open switch S10_2 to disconnect the back-EMF signal M_BEU from the MCU port.
7 SINN Connect this pin to MCU port AP0_11 by exclusively closing switch S10_3. Open switch S10_4 to disconnect the back-EMF signal M_BEV from the MCU port.
8 COSP Connect this pin to MCU port AP0_12 by exclusively closing switch S10_5. Open switch S10_6 to disconnect the back-EMF signal M_BEW from the MCU port.
9 COSN Connect this pin to MCU port AP0_13 by exclusively closing switch S10_7. Open switch S10_8 to disconnect the back-EMF signal M_ST from the MCU port.
10 GND GND
Note 1. IRQ signal is shared with the PWM input from the Slow position connector CN8. IRQ and PWM functionality cannot be used at the same time.
Note 2. If I2C selection (S8_1/4 = on): SDA/SCL may be shared with Slow sensor connector CN3 If UART selection (S8_2/5 = on): RX/TX may be shared with Low Power Sampler (LPS)
(See 4.1.4 for details) If CAN selection (S8_3/6 = on): CAN_H/L are shared with CAN 1 connector CN3
(See 4.1.8.3 for details) Note 3. SINP signal may be shared with Slow sensor connector CN3, Pin 6
Slow position sensors connector CN3 (for future improvement)
This connector is for future improvements. E.g., for a slow speed position sensor, which sends its
data via SENT or PWM as the reference speed.
• Used for Position / Speed setting
• Supports SENT
• Supports PWM
• Interrupt input optional (shared with fast sensor connector)
• Support Analog (1x) (Use same pin as SINP at fast sensor connector, but different
signal)
• I2C support for configuration; Share same signals of fast position sensor connector
Table 33. Slow position sensor connector pin assignment
Pin Functionality Signal / Connection
1 GND GND
2 VDD VDD_5V
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 26 June 07, 2021
3 IRQ / SENT / PWM *1 Select signal by exclusively closing switch: S9_1: P10_11 / INTP11 / TAUB0I1(PWM) S9_2: SENT
4 SDA *2 Close S9_3 to connect this pin to MCU port P0_11 / RIIC0SDA
5 SCL *2 Close S9_4 to connect this pin to MCU port P0_12 / RIIC0SCL
6 Analog *3 Close S8_7 to connect this pin to MCU port AP0_15
7 - Not connected
8 - Not connected
9 - Not connected
10 GND GND
Note 1. IRQ/PWM signals are shared with Fast position connector CN9. IRQ and PWM functionality cannot be used together, even if used on different connectors, as the same MCU pin is used.
The SENT signal is shared with DB9 connector CN5. (See 4.1.8.1 for details) Note 2. SDA/SCL may be shared with Fast sensor connector CN9. Note 3. Analog signal may be shared with Fast sensor connector CN9, Pin 6, SINP signal.
4.1.11.3 Hall Sensor Connectors
Via the CN7 connector, you have the possibility to connect digital hall sensors with the MCU. The
input pins are protected against overvoltage (>5V or <0V) with two Schottky diodes per input pin.
For the use of the internal Hall sensors of the delivered motor, it is necessary to activate the
internal pull up resistors of the controller.
If you want to connect the hall sensors of the delivered motor, connect the colored wires as
described below:
Table 34. Hall Sensor Connector
Board connector CN7 (HALL_IN) / MCU Motor Wire Color
Not connected -
GND White
HALLC/ P10_14 Brown
HALLB/ P10_13 Orange
HALLA/ P10_12 Blue
5V Yellow
4.1.12 Predrive Area
The mounted R2A25108KFP device contains three sets of MOSFET-drivers, charge pump circuit
for the gate drive of external power MOSFET, three channels of current sense amplifier and
safety functions.
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 27 June 07, 2021
Please find below the connection between the MCU and the Predriver.
Table 35 Predriver connection
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: For details about the signals, please see the Predriver datasheet.
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 28 June 07, 2021
5. Development tools
5.1 E1 On-Chip Debug Emulator [R0E000010KCE00] (discontinued product)
The E1 On-Chip Debug Emulator is a powerful debugging tool with flash programming functions
which supports various Renesas microcontrollers.
Updates and User Manuals for this tool can be found on the Renesas website:
http://www.renesas.com/e1
5.2 E2 Emulator [RTE0T00020KCE00000R] (Successor of E1)
The E2 On-Chip Debug Emulator is a powerful debugging tool with flash programming functions
which supports various Renesas microcontrollers.
Updates and User Manuals for this tool can be found on the Renesas website:
http://www.renesas.com/e2
5.3 Development Software
The following development software tools are included in the Starter Kit package:
• Green Hills MULTI IDE (90 day evaluation version)
• IAR Embedded Workbench for Renesas RH850 (128KB Kickstart version)
• iSYSTEM winIDEA with E1 or E2 support
• CS+ integrated development environment (Evaluation version via download)
• Renesas Flash Programmer (RFP)
• Renesas Smart Configurator (SC)
More information about the usage of these software tools is shown in the Quick Start Guide which
is also part of the Starter Kit package.
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 29 June 07, 2021
6. RH850/F1KM-S1 Starter Kit Example Software
The included demo software (Mode 1 and 2) provides the following functions:
• Basic MCU initialization
• PWM generation for user 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
The motor control software uses the motor control area/ predriver and other peripherals of the
starterkit.
6.1 Framework Description
Renesas provides a software framework with its Starter Kits, so that the customer can easily access and use the modules of the controller. The Starter Kits are equipped with a lot of peripheral devices like encoder, potentiometer, LEDs, display, CAN-, LIN- and UART/USB-transceivers, buttons and an optional motor control part. To use these modules, the Starter Kit contains software functions which allows an easy and fast use.
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 30 June 07, 2021
The framework is divided in 3 layers:
Figure 4. Framework Layers
In the peripherals layer you can find the source code related to the peripherals of the microcontroller. For example, you can find all related functions for the ports in the “r_port.c”. Only the functions defined in this source file should set or read the port registers. In the modules layer, you can find modules like “canfd”, which accesses not only the functions for the RS-CANFD peripheral of the MCU, but also for example the functions of the port peripheral. It can also contain a not controller specific module like “led”. This module for example uses functions of the port-, timer- and “pwmd” peripheral to achieve the desired behavior of the led. The highest layer is the application layer which contains the actual application. For example, the sample application for the Starter Kit uses the lower layer modules to write to the display, turn on some LEDs and checks the transceivers of the Starter Kit. It is intended that a higher layer should only access the lower layers and not the other way around.
6.2 Sample Software Classic
The software contains a test function executed at the start and two run modes.
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 31 June 07, 2021
For live documentation of the RH850 actions connect a USB-Port of your computer via a USB
Cable to the USB connector “ 18” of the board. You can use a terminal program like “putty” to
receive the messages.
Note: Use a USB 1.0/2.0 Type A to mini USB 1.0/2.0 mini-B computer cable and a baud-rate of
9600 Bd for the virtual COM port.
Figure 5. Software flow
A motor control software is flashed by default. This software is described in “6.7 Motor Control
Software Example” and in the “Motor Control Application Note”, which is also included in this
starter kit package. Both packages including both source codes can be flashed manually via the
E1 or E2 debugging emulator (see Quick Start Guide).
6.3 Start Up Test
Once started, the clock will be initialized, and a start-up test is performed. During the test, the
LEDs of the blue LED circle will successively be turned on and then turned off in the same
pattern. Simultaneously the RGB LED will sweep through different colors and then turn off.
Afterwards the RGB LED will light up in white for 500ms, as well as the whole blue LED circle.
LED1 and LED2 will light during the whole test. The serial interfaces CAN, LIN and the RGB LED
PWM feedback signals are checked. The result is printed out in the debugger and via
UART/USB. Also, a test picture will be shown on the display. After this the SW continues with
Mode 1.
Startup Test
Mode 2
DeepStop
Mode 1
Device Reset
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 32 June 07, 2021
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 33 June 07, 2021
6.4 Mode 1
LED1 and LED2 glow in different intensities depending on the potentiometer POT1 position. The
converted analog value of POT1 is used to update the duty cycle of the PWM module which
drives these LEDs. The LEDs of the blue LED circle are following the rotary encoder ENC1. By
pressing the rotary encoder pushbutton, the color of the RGB LED is changed.
The load current through each of the RGB LEDs is evaluated by converting feedback/sense
signal into digital values and applying conversion result upper / lower limit check function of ADC
(PWM diagnostic function). In case the measured current is either too high or too low, a fault is
assumed and in turn the PWM of the corresponding LED is switched OFF. By switching to Mode
2 the PWM output and diagnostic is started again.
A short push on pushbutton S1 will switch to Mode 2, keeping it pressed for 3s or more will switch
to DeepSTOP mode.
After 30s without user action, the microcontroller will enter DeepSTOP mode on its own.
Mode 1 is called in a 1ms cycle using the Operating System Timer (OSTM).
6.5 Mode 2
LED1 and LED2 blink alternately and the LEDs of the Blue LED Circle run around the rotary
encoder in a specific frequency. The frequency is determined by the analog value of POT1 which
is converted to a corresponding Timer Array Unit J interval time. After each interval, the duty
cycle of the LEDs LED1 and LED2 is adjusted to generate the alternatively blinking pattern, as
well as the positions of the blue LED circle. The number of blue LEDs which are circling can be
increased/decreased by the rotary encoder ENC1.
The load current through each of the RGB LEDs is evaluated by converting feedback/sense
signal into digital values and applying conversion result upper / lower limit check function of ADC
(PWM diagnostic function). In case the measured current is either too high or too low, a fault is
assumed and in turn the PWM signals of the corresponding LED is switched OFF. By switching to
mode 1 the PWM output and diagnostic is started again.
A short push on pushbutton S1 will switch to mode 1, keeping it pressed for 3s or more will switch
to DeepSTOP mode.
After 30s without user action, the microcontroller will enter DeepSTOP mode on its own.
Mode 2 is called in a 1ms cycle using the Operating System Timer.
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 34 June 07, 2021
6.6 StandBy
Entering standby mode will turn off all not mandatory functions and switch the controller into
DeepSTOP for low power consumption. This is indicated by a 2s interval of LED2 generated by
the Timer Array Unit J.
A wake-up can be performed by a short push of the pushbutton S1, the rotary encoder
pushbutton, changing the configuration of the DIP switch S6 or turning potentiometer POT1 more
than 25% of the actual state. DIP switch and POT1 related wake-up events are generated by
using the Low Power Sampler triggered by Timer Array Unit J in a 500ms interval. Performing a
wake-up will resume the last mode the SW was in before standby was entered.
6.7 Motor Control Software Example
On the RH850/F1KM-S1 Starter Kit V2 , a field-oriented-control motor control (FOC) example
software will be flashed to the controller by default. This software is described in detail in the
“Motor Control Application Note”, which is why it is only described in a brief way here.
After a small Startup Test, including blue LED Circle, RGB LED, display test picture, CAN and
LIN the motor control mode will be entered (see 6.3 Start Up Test for details to the Start Up Test).
From now on the board is ready to use and control the connected motor if the motor control unit is
powered (see 4.1.2.1 Power supply configuration).
Now the encoder can be used to increase the rotation speed (turn right for counterclockwise
rotation and turn left for clockwise rotation of the motor). The display and the surrounding Blue
LEDs will give you feedback about the actual RPM (500 RPM per LED, - 8000 RPM to 8000
RPM). The equipped Potentiometer (Pot1) will allow you to change the acceleration and the
deceleration at the same time. You can change it between ~0 ∆RPM/sec and ~10000 ∆RPM/sec.
The current value is shown on the display and via the RGB LED in the encoder (blue – zero,
green – slow, red – fast).
The motor control starter kit software uses an advanced field-oriented-control technique which
uses either the Renesas high precision Inductive Position Sensor (IPS2550), Hall sensors or a
sensor-less flux estimation, which are described in more detail in the “Motor Control Application
Note”.
If you are pressing the encoder button, the used position detecting method is switched. Which
Sensor is used, can be seen on the display and is shown via the LED 17 and LED18
• IPS2550 LED18 off, LED17 off
• Position estimation via shunts LED18 on, LED17 off
• Hall sensors (only if connected) LED18 on, LED17 on
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 35 June 07, 2021
Display Description
The display shows some information about the main motor control parameters which are
described below:
Table 36. Display Description
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/Deceleration (in ∆RPM/sec)
Sens The currently used sensor for position detection (IPS,
HALL or SHUNT)
VBUS Bus Voltage
Alrm Cde Alarm Code (described in App Note)
Note: You can find a detailed description of the motor control parameters in the “Motor Control
Application Note” in the Starter Kit software package.
The motor control unit allows to connect the hall sensors of the delivered motor but using hall
sensors in an FOC aren’t advantageous against a trapezoidal control, because of their low
precision. But you can write your own software using the hall sensors for example with
trapezoidal control.
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 36 June 07, 2021
7. Component Placement and Schematics
7.1 Component placement
Figure 6. Component Placement
Note: This component placement is related to the following release version of the PCB: “D017733_06_V01”
S5
S
Q
RT
D
R
D8
D1
21
C
2 1
U2
DP1DP3
DP2
C 8
TP3
R102
R1
CAN0
R155
C
R15
LINT
PRO
C
R13
RT
R133
C 3
R13
C38
R 3
1
R11
R8
R8
IC
T5
R
R11
R8
C
C1 C35
C82
C3
1 2
2
C2
1
2
Y1 R55
R1
C 2
U
R1
R 0
C8 R1 5
C8
2
D1
C
22
R128
1
C
18
C21
C 3
R
R 2
C
1
R31
R10
R108
15
R1 0
1
R1 2
R1
R
C81
T3
R
R
R
C80
C11
5V
R3
C 1
R 3
R3
13
CANR 0
CANT 1
IC
TP
CAN1L
CAN0
C53
R10
Q5
Q C5
5V
VBAT
CAN1R CAN T
CAN R
TP
CAN0L
R118
MBEU
COSP
COSNMST
C3
R123
D11
R52
C31
R12U3
R
R2
R 5
C2
C3
R110
D
D
11
R113
R30
R103
D5
S3
AN
R81 R83
D2
C13
SCL
T
L1
R 8
ND1
12V
C83
R1 1
S
C28
R1 3
IC3
S2
C 1
C8
R130
S1
21
C5
22
2
1
C55
C33
SELDP1
SELDP0
21
R2
FC1
D15
C
MC
R2
RR13
b
a
B
D13
C 1
C 5
IC
R1 3
R1 2
R1 1
R1 0
R153
R25
R
ND3
CN1
CN5
CANT 0
CANR 1
TP
CAN1CAN1H
LINR
TP1
NDN.C.
R1 8
S
R1
LED21TP2
LIN ND
ND
CN2
CAN1T
LIN31R
LIN31T
TP5
IC8
CAN0H
SPCO
R80
R
R1 1
C 8C
C 0
R121
C 2
R125
T
T
SINP
SINNMBEV
MBE ND2
10
R50
R138
R85
R 0
R 1
R 5
R12
R112 T
CN
R5
R33
R5 C10
R 3
R3
R
R10
R101
1
10
R 2R115
13 R1 0
R
C1
R32
R
R 2
R2
C25
C18
R 8
R T2
P M
SDASCL
R8 R88
D
R
R CAN2L
P M
CAN1H
SDA
S8R 8
C85
22
12V
D3
BAT 13
R 5
T1
R
R 1
R 0
C2
R58
R1 2
C2
R135
R 8
R 0
R
C30
R3
R38R35
R1
IC2
C58
R5
R12
11
1
22
3
U1
POT1
LPS
S
SELDP2
DPO
DIN
21
C
R158D1
C 0
10
2
L3
1
UART
R131R132
R151
MI
MO
C
LA
B R15
Q1
Q2R2
R
R20
C22
R1
D1
L2
R13
C 8R150
Q3
C20
R10
R1
R 5
POT1
C12
R1
R18
R15
CN8
CN
5V
SENT
Q
C
LEDR15
R11
12
R1
R
R3
R23
R 1
8CN
C3
C3
C2
C
R1 8
R1 8
C 5
C
CN3
U5
RESET
12V
12V IN
R15
INT
APO
R5
C32
LED1
FB
ENC
P M
C 0
B
BL
R1
IC5
R82C
R122
HALLC
R1 5
D12
D10
CN
C5
R51
LED18 R12
R10
OFF
P M
R5
SCL
R1
R1
C1
C15
C1
C23
C 5
12
C 2
R11
LED1 LED20
UART USB
R28 R1 3
Q
SENT
R
MOTOR ERROR
R13
R 1
R12
HALLBHALLA
C51
R111
FAST POS.SENS.
S10
C5 R105
AP0
23
LED1 C 3
C52
R120
R11
R8 R100
R R 2
MOTOR
SDASENT
SLO POS.SENS.
R53
R1
R 3
DISP1
R1 5
R1
Digital Input
R
R152
R22
R21R1
C
C5
R1
2
HALL IN
C50
5V
12V IN
Debug
1
RoHS Compliant www.renesas.com/ASK-RH850F1
AP0 15
SENT LIN
RH850/F1Kx 100pin Starter KitPCB Revision: D01 33 0 V01
MOT VDDCN
SENSORCAN1
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 37 June 07, 2021
7.2 Schematics
Figure 7. Schematics
Note: This Schematic is related to the following release version of the PCB: “D017733_06_V01”
1
1
2
2
3
3
4
4
5
5
6
6
7
7
8
8
9
9
10
10
11
11
12
12
D D
C C
B B
A A
1
Renesas ElectronicsEurope GmbHArcadiastrasse 1040472 DüsseldorfGermany126.06.2020 13:24:22
Title
Size Number
Date:
Revision
Sheet ofTime:
A1
RH850/F1Kx 100pin Starter Kit
1.0
HS/BG
Company
Author
Variant F1KM-S1-BLDC
*
P1
0_
0P
10
_1
P1
0_
2
P10_3P10_4P10_5
P1
0_
6P
10
_7
P1
0_
8P
10
_9
P1
0_
10
P1
0_
11
P1
0_
12
P1
0_
13
P1
0_
14
P11
_1
P11
_2
P11
_3
P11
_4
P11
_5
P11
_6
P11
_7
P0_0P0_1P0_2P0_3
P0_4P0_5P0_6
P0
_7
P0
_8
P0
_9
P0
_1
0
P0_11P0_12P0_13P0_14
P8
_3
P8_2
P8
_4
P8
_5
P8
_6
P8
_7
P8
_8
P8
_9
P8_10P8_11P8_12
JP0
_0
JP0
_1
JP0
_2
JP0_3JP0_4JP0_5
AP0_0AP0_1AP0_2AP0_3AP0_4AP0_5AP0_6AP0_7AP0_8AP0_9
AP0_14
P9_0P9_1P9_2P9_3P9_4
MCU
RESET
FLMD0
DCUTDI_FLCS0SI_FLUR0RXDCUTDO_FLCS0SO_FLUR0TX
DCUTCK_FLCS0SCI
DCUTMS
DCUTRST
DCURDY
DC
UT
DI_
FL
CS
0S
I_F
LU
R0
RX
DC
UT
DO
_F
LC
S0
SO
_F
LU
R0
TX
DC
UT
CK
_F
LC
S0
SC
I
DCUTMS
DCURDYDCUTRST
FL
MD
0
RE
SE
T
5K6
R59
1nFC41
679-2385-1-ND
S2SPST-NO
VDD_5V
RESET
100KR58
EV
CC
A0VSSA0VREF
EV
CC
GND
EVCCEVCC
GND
47KR160
47KR161
47KR162
47KR163
47KR165
47KR166
47KR164
47KR167
DIGITAL WAKE UP
GND
DPO
0.1uFC8
0.1uF
C24
0.1
uF
C2
9
0.1uF
C11
0.1uF
C45
10pF
C3710pFC36
X1
X2
X1X2
0.1uF
C67
GND
10KR153
GND
DIN
DIN_CDIN_BDIN_A
I31
I22
I13
I04
Y5
Y6
E7
GND8
S29
S110
S011
I712
I613
I514
I415
VCC16
IC7
CD74HC151
10KR150
10KR151
10KR152
GND
0R5
5
TCK_FSCI
TRSTTDO_FTXSOTDI_FSIRXTMSTRDYFLDBG_RESET
FLDBG_FLMD0
GND
GND
VDD_5V
4K7R63VDD_5V
10KR3
GND
VDD_5V
123456789
10111213141516
S6
DIP Switch, 8 Position
VDD_5V
FLMD1
POT1
APO
10KR53
S1
SPST-NO
VDD_5V
10nFC30
390RR51
LED17
390RR52
LED18
AD INPUT LED EX INT
GND
10nFC32
ADCA0I0S
LED and Encoder
GND
39RR15
1nFC12
1nFC20
10KR27
100RR13
39RR14
10KR7
1.8KR158
5K6R157
D16 D17
VDD_5V
POWER
VBATF
VDD_12V
1 32
J22
VDD_12V VDD_5V
1 23 45 67 89 10
J21DINDIN_ADIN_BDIN_CDPO
ADCA0I0SAPO
1 23 4
J101 2J9
LED1M_LED1LED2M_LED2
0R72
GND
VDD_5V
10K
R57
GND5
LIN6
BAT7
INH8
TXD4
RXD1
SLP2
WAKE3
IC5
TJA1020/TJA1021
0.1uFC53
LIN1
RX1_LIN
TX1_LIN
VBATFVDD_5V
VBATF VBATF
VBATF
VDD_5V
10KR102
1nFC56
LIN MASTER
1 23 4J15 RX1_LIN
TX1_LIN
250mW
1K
R106
1KR1081KR109
USBTXD_USBRXD_USB
TP1
TP3
1234567
89
101112
S5
DIP Switch, 6 PositionGND
GND
PIN26-PIN54 PIN75-PIN100
PIN55-PIN74PIN1-PIN22
TP2
TDI_FSIRX
FL
MD
1
GND
TRST10KR64
GND100RR65
0.1uFC2
0.1uFC3
0.1uFC4
0.1uFC5
GND GND GND GND
VDD_5V VDD_5V VDD_5V VDD_5V
GND3GND1
L174279214
10µ
F/1
0V
/X5
R1
0%
C27
10
nF
/X7
R/5
0V
C28
GND GND
1K
R139
0.1uF
C66
1KR155
0.1uF
C76
CANTX0
CANRX0
CANTX1
CANRX1
VDD_5V
VDD_5V
250mW120R
R142
250mW120R
R154
TP4
TP6
CAN
TP5
TP7
0R143
0R159
VDD_5V
VDD_5V
10K
R140
10KR156
GNDGND
C74
GND
10nF/50V/X7R
C69 5K23 1%
R147
1K64 1%
R149
GND
GND3
OUT2
VCC1FC1
NFE31PT222Z1E9L
100nF
C70
GNDGND GND
100nFC71
VDD_5V
i Net Class
iNet Class
3,3µ
F/5
0V
Ker
amik
z.B
.A
VX
C7
3
GND
Cboot1
SoftStart2
SYNC3
FB
4O
N5
GN
D6
Vin7
Vswitch8
U2LM22670-ADJ
D15Diode MBRS240LT3G
10µH
L3
WAKEPWRGND
9-15V (+)-PowerCon 2.1mm
1017873D14
VD
D_1
2V
_IN
VDD_12V
10
0µ
F/1
6V
/X5
R
C75
GND
10
0µ
F/1
6V
/X5
RC
72
GND
1
2
3
4
5
6
7
8
9
11
10
CN5
DB9 male
1
2
3
4
5
6
7
8
9
11
10
CN6
DB9 female
1
2
3
4
5
6
7
8
9
11
10
CN8
DB9 female
ACCESSORIES
JumperBag
Rubber Pads 4pc.
TXD1
GN
D2
RXD4
NSIL5
VC
C3
CANL6
CANH7
STBY8
IC6
ATA6560
TXD1
GN
D2
RXD4
NSIL5
VC
C3
CANL6
CANH7
STBY8
IC8
ATA6560
GND
GND
4 2 1
bca
35
ENC1 PEL12T-4225S-S1024
GND1
SDI2
CLK3
LE4
OUT05
OUT16
OUT27
OUT38
OUT49
OUT510
OUT611
OUT712
OUT813
OUT914
OUT1015
OUT1116
OUT1217
OUT1318
OUT1419
OUT1520
OE21
SDO22
R-EXT23
VDD24
IC1
TLC5925IPWRG4
LED1LED Blue
LED2LED Blue
LED3LED Blue
LED4LED Blue
LED5LED Blue
LED6LED Blue
LED7LED Blue
LED8LED Blue
LED16LED Blue
LED15LED Blue
LED14LED Blue
LED13LED Blue
LED12LED Blue
LED11LED Blue
LED10LED Blue
LED9LED Blue
VDD_5V
VDD_5V
VDD_5V
GND
MOSIMISO
MCLK
LAT
VDD_5V
BLNK1 23 45 67 89 10
J2
Q2
PDTC123JT
Q3PDTC123JT
Q1PDTC123JT
1 23 45 6
J1
123456
J5
1 23 45 6
J6
GND
GNDGND
GND
VDD_5VGND
10K
R18
10K
R16
GND GND
1nFC21
10K
R1010KR6
GND GND
1KR19
1KR20
VDD_5V
PW
M.R
PWM.G
PW
M.B
FB.RFB.GFB.B
VDD_5V
GND
1nF
C1
4
10KR21
1nF
C1
5
10KR17
1nF
C1
6 10KR22
GND
0.1uF
C7
GND
1µF 16V X7RC23
0.1uFC22
GND
VDD_5V
0.1uFC49
GND
VDD_5V
1 23 4
J11
47RR26
47RR24
47RR25
C6810µF/10V/X7R
GND
VDD_5V
C33
10µF/10V/X7R
GND
VDD_5V
C7710µF/10V/X7R
GND
VDD_5V
C7810µF/10V/X7R
GND
VDD_5V
C7910µF/10V/X7R
GND
VDD_5V
C1
10µF/10V/X7R
GND
VDD_5V
VDD_5VEVCC
D13
PCB with blue solder resist
P10_31
P10_42
P10_53
P10_154
P11_05
P0_06
P0_17
P0_28
P0_39
EVCC10
P0_411
P0_512
P0_613
P0_1114
P0_1215
P0_1316
P0_1417
EVSS18
P8_219
P8_1020
P8_1121
P8_1222
JP0_523
JP0_424
JP0_325
JP0
_2
26
JP0
_1
27
JP0
_0
28
RE
SE
T2
9
EV
CC
30
AW
OV
SS
31
AW
OV
CL
32
RE
GV
CC
33
X2
34
X1
35
FL
MD
03
6
P0
_1
03
7
P0
_9
38
P0
_8
39
P0
_7
40
EV
SS
41
P8
_0
42
P8
_1
43
P8
_3
44
P8
_4
45
P8
_5
46
P8
_6
47
P8
_7
48
P8
_8
49
P8
_9
50
A0VSS51
A0VREF52
AP0_1553
AP0_1454
AP0_1355
AP0_1256
AP0_1157
AP0_1058
AP0_959
AP0_860
AP0_761
AP0_662
AP0_563
AP0_464
AP0_365
AP0_266
AP0_167
AP0_068
P9_069
P9_170
P9_271
P9_372
P9_473
P9_574
P9_675
EV
CC
76
ISO
VC
L7
7IS
OV
SS
78
EV
SS
79
P1
0_
68
0P
10
_7
81
P1
0_
88
2P
10
_9
83
P1
0_
10
84
P1
0_
11
85
P1
0_
12
86
P1
0_
13
87
P1
0_
14
88
P11
_1
89
P11
_2
90
P11
_3
91
P11
_4
92
P11
_5
93
P11
_6
94
P11
_7
95
EV
CC
96
EV
SS
97
P1
0_
09
8P
10
_1
99
P1
0_
21
00
IC2
RH850F1KM
GND
EV
CC
0.1uF
C44
0.1uFC6
M_
MO
TO
R_
VP
M_
MO
TO
R_
UN
M_
MO
TO
R_
UP
M_
LE
DR
M_
LE
DG
M_
LE
DB
M_
LE
DC
_M
ISO
M_
LE
DC
_M
CL
KM
_L
ED
C_
MO
SI
M_
MO
TO
R_
HA
LL
CM
_M
OT
OR
_H
AL
LB
M_
MO
TO
R_
HA
LL
A
M_
EN
C_
BM
_E
NC
_A
M_
CA
N1
_T
XM
_C
AN
1_
RX
M_MOTOR_ERRORM_SENT_SPCOM_SENT_RX
M_POT1M_LEDR_FBM_LEDG_FBM_LEDB_FBM_DISPLAY_3V3
M_MOTOR_IUMM_MOTOR_IVMM_MOTOR_IWMM_MOTOR_VBUS
M_
MO
TO
R_
MU
TE
M_
MO
TO
R_
ER
R2
M_
MO
TO
R_
ER
R1
M_
DIS
PL
AY
_R
ES
ET
M_
LE
D2
M_
LP
S_D
PIN
M_
LIN
_R
XM
_L
IN_T
XM
_C
AN
4_
RX
M_
CA
N4
_T
X
M_LEDC_BLNKM_LEDC_LATM_S1_BUTTON
M_LED1
M_LPS_SELDP2M_LPS_SELDP1M_LPS_SELDP0
M_UART_RXM_UART_TXM_LPS_APOM_LPS_DPO
M_MOTOR_WNM_MOTOR_WPM_MOTOR_VN
M_LIN_RXM_LIN_TXM_UART_RX
M_UART_TX
M_ENC_BUTTON
M_LPS_SELDP2M_LPS_SELDP1M_LPS_SELDP0
M_LPS_DPO
M_LPS_DPIN
VBUS1
D-2
D+3
GND4
SHLD5
J18
440247-1
GND
SGND
L2BLM18PG121
10nFC61
GND
100nF
C57
GND
GND
GND
100nF
C58
GND
100nF
C60
GNDFTDI3.3
100nF
C55
GND
SGND GND
330R
R134
100nFC65
VDD_5V
TXD_USBRXD_USB
P1
0_
3P
10_
4P
10
_5
P0
_0
P0
_1
P0
_2
P0
_3
P0
_4
P0
_5
P0
_6
P0
_11
P0
_1
2P
0_
13
P0
_1
4P
8_
2P
8_1
0P
8_
11
P8
_1
2
JP0
_3
JP0
_4
JP0
_5
P1
0_
15
P11
_0
P0
_7
P0
_8
P0
_9
P0
_1
0
P8
_3
P8
_4
P8
_5
P8
_6
P8
_7
P8
_8
P8
_9
JP0
_0
JP0
_1
JP0
_2
FL
MD
0
AP
0_
0A
P0
_1
AP
0_
2A
P0
_3
AP
0_
4A
P0
_5
AP
0_
6A
P0
_7
AP
0_
8A
P0
_9
AP
0_
10
AP
0_
11
AP
0_
12
AP
0_
13
AP
0_
14
AP
0_
15
P9
_0
P9
_1
P9
_2
P9
_3
P9
_4
P9
_5
P9
_6
P1
0_
0P
10
_1
P1
0_
2
P1
0_
6P
10
_7
P1
0_
8P
10
_9
P1
0_
10
P1
0_
11
P1
0_
12
P1
0_
13
P1
0_
14
P11
_1
P11
_2
P11
_3
P11
_4
P11
_5
P11
_6
P11
_7
12
34
56
78
91
011
12
13
14
15
16
17
18
19
20
21
22
J3Jumper 11x2
12
34
56
78
91
011
12
13
14
15
16
17
18
19
20
21
22
23
24
J8Jumper 12x2
12
34
56
78
91
011
12
13
14
15
16
17
18
19
20
21
22
J4Jumper 11x2
12
34
56
78
91
011
12
13
14
15
16
17
18
19
20
21
22
J7Jumper 11x2
GND
VDD_5V
GND
VDD_5V
GND
VDD_5V
M_LEDRM_LEDGM_LEDB
M_LEDC_MISO
M_LEDC_MCLKM_LEDC_MOSI
M_LEDC_BLNKM_LEDC_LAT
M_LEDR_FBM_LEDG_FBM_LEDB_FB
M_S1_BUTTON
AP
O
M_POT1M_LPS_APO
DISPLAY
M_DISPLAY_3V3
M_DISPLAY_RESET
BOARD_SCL
na12345678
DISP1
Header 8
BOARD_SDA
VDD_5V
GND
22K
R118
VDD_5V
560R
R121
2,2nFC62
GND
M_SENT_SPCOM_SENT_RX SENT_RX
SENT_RX
SENT_SPCO
10k
10k Q5PDTA114ET
10k
10kQ7PDTA114ET
390RR144
A1
K2
LED21
10k
10kQ6PDTA114ET
M_MOTOR_ERROR
M_MOTOR_ERR2
M_MOTOR_ERR1100RR135
100RR137
100RR138
VDD_5V
M_MOTOR_FLT
2k2
47k
Q4PDTC123JT
SENT_SPCO
GND
100RR133M_MOTOR_MUTE
T2NP50N04YUK-E1-AY
T3NP50N04YUK-E1-AY
T4NP50N04YUK-E1-AY
T5NP50N04YUK-E1-AY
0R01 3W 1%R84
1k 1%
R81
1k 1%
R86
GND
1k 1%
R100
1k 1%
R104
GND
T6NP50N04YUK-E1-AY
T7NP50N04YUK-E1-AY
1k 1%
R122
1k 1%
R127
GND
VCC12
15k 1%R12615k 1%R123
15k 1%
R103
PREDR_VOW
15k 1%R98
BOUT
BOUT
15k 1%
R83
15k 1%
R88
BOUT
PREDR_VOU
VCC12
UT
U
UB
UG
RSUP
RSUN
VT
V
VBVG
RSVPRSVN
WT
W
WB
WG
RSWP
RSWN
PREDR_VOV
GND
D1
Diode BAS2151R
R69100R
R67
D2Zener 16V
D3
Diode BAS2151R
R77100R
R76
D4Zener 16V
51R
R94 D5
Diode BAS21
100R
R92
D6Zener 16V
51R
R97 D8
Diode BAS21
100R
R96 D7Zener 16V
51R
R112 D9
Diode BAS21
100R
R111
51R
R117 D11
Diode BAS21
100R
R116
D10
Zener 16V
D12
Zener 16V
blue12V
GND
Vbat
5k6R68
10KR75
0R01 3W 1%R101
0R01 3W 1%R125
1000µF 35V YXF
C50
VCC12
GND
J16
So
lDip
J17
So
lDip
NT2probe
NT1probe
NT3probe
VN
UN
WN
10k
R71
10k
R95
10k
R114
VOW4
VOV7
VOU10
VDD3
BIN1
BOUT2
RSWN5
RSWP6
RSVN8
RSVP9
RSUN11
RSUP12
WT13
W14
WB15
WG16
VG17
VB18
V19
VT20
UT21
U22
UB23
UG24
CP
12
5
CP
22
6
VG
B2
7
CP
32
8
CP
42
9
VGT30V
BA
T3
1
VMON32
PG
ND
33
SCREF34
DTCTL35
MUTE36
IWB37
IWT38
IVB39
IVT40
IUB41
IUT42
ERR143
ERR244
GN
D4
5
OCW46
OCV47
OCU48
IC4R2A25108KFP
GNDGND
VCC12
10µF/10V/X5R 10%
C43 1µF/10V/X7R
C40
1µF/10V/X7RC46GND
10µF/10V/X5R 10%
C38
GND
10µF/10V/X5R 10%
C48
VCC12
10kR80
10kR74
GND
VDD_5V
10k
R82GND
VDD_5V
10kR110
10kR107
GND
VDD_5V
PREDR_ERR1PREDR_ERR2PREDR_MUTE
PREDR_VOWPREDR_VOVPREDR_VOU
BOUT
VCC12
UTU
UBUG
RSUPRSUN
VTV
VBVG
RSVPRSVN
WTW
WBWG
RSWPRSWN
100nF
C39
GND
VDD_5V
Testpoint
GND2
GND
2k2R11
27kR4
GND
VDD_5V
GND
300R
R5
47nFC9
M_
ZD
WM
_Z
DV
M_
ZD
U
U
2k2R36
27kR29
GND
VDD_5V
GND
300R
R30
47nFC18
V
2k2R46
27kR42
GND
VDD_5V
GND
300R
R43
47nFC25
W
VDD_5V
GND
100nFC64
VDD_5V
GND
PREDR_ERR1
PREDR_ERR2
PREDR_MUTE
10KR136
GND
M_
MO
TO
R_
FL
T
M_MOTOR_WNM_MOTOR_WPM_MOTOR_VNM_MOTOR_VPM_MOTOR_UNM_MOTOR_UP
M_MOTOR_WN
M_MOTOR_WP
M_MOTOR_VN
M_MOTOR_VP
M_MOTOR_UN
M_MOTOR_UP47k
R85
47kR87
47kR89
47kR90
47kR91
47kR93
1k
R99 PREDR_VOW
M_MOTOR_IUM
M_MOTOR_IVM
M_MOTOR_IWM
M_MOTOR_VBUS
GND
1k
R105
GND
1k
R113
GND
PREDR_VOV
PREDR_VOU
VCC12
47KR120
4K7R124
GNDGND
100R
R141
123456
CN7
Header 6
M_MOTOR_HALLC
M_MOTOR_HALLB
M_MOTOR_HALLA100R
R145
100RR146
100RR148
GNDGND
VDD_5V
VDD_5V
GND
VDD_5V
GND
VDD_5V
M_ENC_BM_ENC_A
M_ENC_BUTTON
VDD_5V
GN
D1
OVP8
IN4
ENUV3
OUT5
FLT6
ILIM7
SS2
IC3 TPS25921
GND
48k7R79
GND
1nFC47
GND
470kR66
51kR73
47kR78
GND
GND
100RR70M_EN_EFUSE
100nF
C42
GND
1
32
J13
VCC12Vbat+
Vbat+
PREDR_FLT
PREDR_FLT
VDD_12V_IN
10kR130
4K7
R129
GND
10kR119
GND
10kR128
VDD_5V
UART_EN
M_UART_EN
123456
J14
M_UART_EN UART_EN
TCK1
GND2
TRST3
FPMD04
TDO5
FPMD16
TDI7
VDD8
TMS9
EVTO10
RDY11
GND12
RESET13
GND14
CN1
Flash E1
1 23 4
J12
1kna
R54
GND
SENT
390RR131
green
LED19
390RR132
green
LED20
VDD_5VVDD_5V
10k
R9
10k
R33
10k
R45
0R0
R50
M_
ST
27k
R56
47nFC31
GND
M_ZDW
M_ZDVM_ZDU
8,6nFC63
8,6nFC52
8,6nFC54
8,6nFC59
2
31
411
U3AMCP6544-I/ST
75
6
411
U3BMCP6544-I/ST
810
9
411
U3CMCP6544-I/ST
1412
13
411
U3DMCP6544-I/ST
300R
R8
300R
R32
300R
R44
GND
GND
GND
1MR37
1MR12
1MR47
100kR2
100kR1
100kR23
100kR41
M_
BE
UM
_B
EV
M_
BE
W
GND
47nFC10
GND
47nFC19
GND
47nFC26
1 2
16MHzY1
P8
_0
P8
_1
GND
GND
GND
GND
GND
GND
GND
GND
GND
RE
GV
CC
GND
GNDEVCC
EVCC
EVCC
GND
EVCC
REGVCC
REGVCC
REGVCC
DP1BAT54S
DP2BAT54S
DP3BAT54S
100nFC34
VDD_5V
GND
M_
EN
_E
FU
SE
GND
VCC12
C51100µF 35V 0.08R
T1
SIS413DN
12
CN2
MSTB_2,5/2-ST-5,08
123
CN4
MSTB_2,5/3-ST-5,08
VDD_5V
M_SENT_PROG
M_SENT_PROG SENT_PROG
NC24
NC8
VC
CIO
4
RXD5
RI6
GN
D7
DSR9
DCD10
CTS11
CBUS412
CBUS213
CBUS314
USBDP15
USBDM16
3V3OUT17
GN
D1
8
RESET19
VC
C2
0
GN
D2
1
CBUS122
CBUS023
AG
ND
25
TEST26
OSCI27
OSCO28
TXD1
DTR2
RTS3
U1
FT232RL-Tube
2
1
4
U5MC74VHC1GT125DT1G
GND
4
CLK3
D2
1
Q5
Q6
CLR
PR
U4A
MC74VHC74DT
10
CLK11
D12
13
Q9
Q8
CLR
PR
U4B
MC74VHC74DT
VDD_5V
VDD_5V
1 23 45 6
J19
100nF
C80
GND
VDD_5V
GND
VDD_5V
10kR1
68
VDD_5V
S3
SPST-NO
0R28
0R31
VDD_5V
VDD_5V
10nFC13
SENSOR_UART_TX
SENSOR_CAN_H
SENSOR_CAN_L
SENSOR_CAN_HSENSOR_SCLSENSOR_UART_RXSENSOR_CAN_L
HS2X5M
12
34
56
78
910
CN9
GND
100RR34S
EN
SO
R_
INT
P_
PW
M
SENSOR_SINPSENSOR_SINNSENSOR_COSPSENSOR_COSN
1K
R62 AP0_10
1K
R115 AP0_11
1K
R169 AP0_12
1K
R170 AP0_13
VDD_5V
12345678 9
10111213141516
S10
DIP Switch, 8 Position
M_BEU
M_BEV
M_BEW
M_STGND
8,6nFC82
GND8,6nFC81
GND8,6nFC35
GND8,6nFC17
HS2X5M
12
34
56
78
910
CN3
GND
VDD_5V
1234567
89
101112
S7
DIP Switch, 6 Position
M_CAN1_TXM_CAN1_RX
M_LPS_SELDP0M_CAN4_RXM_LPS_SELDP1M_CAN4_TX
100RR60
100RR61
SENSOR_SENT
SENSOR_SDASENSOR_SCL
34
65
S9B
DIP Switch, 4 Position
12
87
S9A
DIP Switch, 4 Position
SENSOR_INTP_PWMSENSOR_SENT
12345678 9
10111213141516
S8
DIP Switch, 8 Position
SENSOR_INTP_PWM
SENSOR_SDA
1K
R171 AP0_15GND
8,6nFC83
ANALOG
POSITION SENSORS
ANALOG
SLOW POSITION SENSOR FAST POSITION SENSOR
SENSOR_SINP
SENSOR_SINN
SENSOR_COSP
SENSOR_COSN
3 46 5
S4BDIP Switch, 4 Position
1 28 7
S4ADIP Switch, 4 Position
AP0_10AP0_11AP0_12
AP0_15
AP0_13
0
R390
R38 P9_6
P9_5
0R40
GND
0
R35REGVCC
0.1uF
C84
GND
0
R1770
R176
0R178
GND
0.1uF
C85
GND
P8_1
P8_0
4K7
R172
4K7
R173
VDD_5V
BOARD_SDABOARD_SCL
BOARD_SDA
BOARD_SCL
FAST_SENSOR_SDA
SLOW_SENSOR_SCLSLOW_SENSOR_SDA
FAST_SENSOR_SCL
10
0R
R4
8
10
0R
R4
9
SENSOR_SDA
SENSOR_SCL
0
R1750
R174
0R179
GND
0.1uF
C86
GND
P10_15
P11_0
2k2
47
k
Q9PDTA123JT
VDD_5V
RH850/F1KM-S1 (BLDC) Starter Kit V2 User's Manual
R12UT0015ED0100 Rev.1.00 Page 38 June 07, 2021
Revision History
RH850/F1KM-S1 (BLDC) Starter Kit V2 User Manual: Hardware
Rev. Date Description
Page Summary
1.00 April 2021 ─ First edition issued
1.01 June 2021 5, 33 SENT Documents added, Motor Control Software description updated
RH850/F1KM-S1 (BLDC) Starter Kit V2 User Manual: Hardware
Publication Date: Rev.1.00 June 2021
Published by: Renesas Electronics Europe
SALES OFFICES http://www.renesas.com
Refer to "http://www.renesas.com/" for the latest and detailed information. Renesas Electronics America Inc. 2880 Scott Boulevard Santa Clara, CA 95050-2554, U.S.A. Tel: +1-408-588-6000, Fax: +1-408-588-6130 Renesas Electronics Canada Limited 1101 Nicholson Road, Newmarket, Ontario L3Y 9C3, Canada Tel: +1-905-898-5441, Fax: +1-905-898-3220 Renesas Electronics Europe Limited Dukes Meadow, Millboard Road, Bourne End, Buckinghamshire, SL8 5FH, U.K Tel: +44-1628-585-100, Fax: +44-1628-585-900 Renesas Electronics Europe GmbH Arcadiastrasse 10, 40472 Düsseldorf, Germany Tel: +49-211-65030, Fax: +49-211-6503-1327 Renesas Electronics (China) Co., Ltd. 7th Floor, Quantum Plaza, No.27 ZhiChunLu Haidian District, Beijing 100083, P.R.China Tel: +86-10-8235-1155, Fax: +86-10-8235-7679 Renesas Electronics (Shanghai) Co., Ltd. Unit 204, 205, AZIA Center, No.1233 Lujiazui Ring Rd., Pudong District, Shanghai 200120, China Tel: +86-21-5877-1818, Fax: +86-21-6887-7858 / -7898 Renesas Electronics Hong Kong Limited Unit 1601-1613, 16/F., Tower 2, Grand Century Place, 193 Prince Edward Road West, Mongkok, Kowloon, Hong Kong Tel: +852-2886-9318, Fax: +852 2886-9022/9044 Renesas Electronics Taiwan Co., Ltd. 7F, No. 363 Fu Shing North Road Taipei, Taiwan Tel: +886-2-8175-9600, Fax: +886 2-8175-9670 Renesas Electronics Singapore Pte. Ltd. 1 harbourFront Avenue, #06-10, keppel Bay Tower, Singapore 098632 Tel: +65-6213-0200, Fax: +65-6278-8001 Renesas Electronics Malaysia Sdn.Bhd. Unit 906, Block B, Menara Amcorp, Amcorp Trade Centre, No. 18, Jln Persiaran Barat, 46050 Petaling Jaya, Selangor Darul Ehsan, Malaysia Tel: +60-3-7955-9390, Fax: +60-3-7955-9510 Renesas Electronics Korea Co., Ltd. 11F., Samik Lavied' or Bldg., 720-2 Yeoksam-Dong, Kangnam-Ku, Seoul 135-080, Korea Tel: +82-2-558-3737, Fax: +82-2-558-5141
© 2020 Renesas Electronics Corporation. All rights reserved. Colophon 1.0
RH850/F1KM-S1 (BLDC) Starter Kit V2
RH850