RX23E-A Group Channel-to-channel isolated analog measurement system
R01AN5679EJ0110 Rev.1.10 Page 2 of 74
July.16.21
Contents
1. Overview ................................................................................................................................. 4
1.1 Function / Specification ........................................................................................................................... 4
1.2 Introduction of Renesas Electronics' Products ........................................................................................ 5
2. Related Documents ................................................................................................................. 6
3. Environment for Operation Confirmation .................................................................................. 7
4. System Configuration .............................................................................................................. 8
5. Hardware Configuration ......................................................................................................... 10
5.1 Communication Board ........................................................................................................................... 10
5.2 Multi-Channel Measurement Board ....................................................................................................... 10
5.2.1 Descriptions of Circuits ........................................................................................................................ 10
6. Measurement Process ........................................................................................................... 14
6.1 Temperature Measurement ................................................................................................................... 14
6.1.1 A/D Conversion of Thermocouple and RTD ........................................................................................ 14
6.1.2 Filter Processing .................................................................................................................................. 15
6.1.2.1 Moving Average Filter ....................................................................................................................... 16
6.1.2.2 Band Elimination Filter and Lowpass Filter ....................................................................................... 16
6.1.3 Temperature Calculation ..................................................................................................................... 17
6.2 Voltage Measurement ........................................................................................................................... 17
6.2.1 A/D Conversion of Input Voltage ......................................................................................................... 17
6.2.2 Moving Average Filter ......................................................................................................................... 18
6.2.3 Voltage Calculation ............................................................................................................................. 18
7. Sample Program .................................................................................................................... 19
7.1 Communication Specification ................................................................................................................ 19
7.1.1 Communication between Host and Measurement Unit ....................................................................... 19
7.1.1.1 SPI Communication Specification ..................................................................................................... 19
7.1.1.2 Communication Sequence ................................................................................................................ 20
7.1.1.3 Packet Structure ................................................................................................................................ 21
7.1.1.4 Command .......................................................................................................................................... 22
7.1.2 Communication between PC Tool and Host ....................................................................................... 23
7.2 Measurement Processing (RX23E-A) ................................................................................................... 24
7.2.1 Operation Overview ............................................................................................................................. 24
7.2.2 Peripheral Functions and Pins Used ................................................................................................... 26
7.2.2.1 AFE・DSAD0 .................................................................................................................................... 27
7.2.2.2 RSPI0・DMAC0・DMAC1・P17 ..................................................................................................... 29
7.2.2.3 P30・P31 .......................................................................................................................................... 31
7.2.3 Communication Process ..................................................................................................................... 32