background image

 
 
 

 

 

4.2.2. C

RYSTAL 

C

HOICE

 

The operating crystal frequency has been chosen to support the fastest operation with the fastest serial operating speeds. 

The value of the crystal is 18.432MHz. 

The following table shows the baud rates and Baud Rate Register (BRR) setting required for each communication rate using 

the above default operating speed. It also confirms the resultant baud rate and the bit error rate that can be expected. 

Baud Rate Register Settings for Serial Communication Rates 

SMR 

Setting: 

0 1 2 3 

Comm. 

Baud 

BRR 

setting 

Actual 

Rate 

ERR 

(%) 

BRR 

setting 

Actual 

Rate 

ERR 

(%) 

BRR 

setting 

Actual 

Rate 

ERR 

(%) 

BRR 

setting 

Actual 

Rate 

ERR 

(%) 

110 

Invalid Invalid Invalid Invalid Invalid Invalid Invalid Invalid Invalid 81 

110 

-0.22 

300 

Invalid Invalid Invalid Invalid Invalid Invalid 119 

300 

0.00  29 

300 

0.00 

1200 

Invalid 

Invalid 

Invalid 

119  1200 0.00  29  1200 0.00  7 

1125 -6.25 

2400 

239  2400 0.00  59  2400 0.00  14  2400 0.00  3 

2250 -6.25 

4800 

119  4800 0.00  29  4800 0.00  7 

4500 -6.25 1 

4500 -6.25 

9600 

59  9600 0.00  14  9600 0.00  3 

9000 -6.25 Invalid 

Invalid 

Invalid 

19200 

29 19200 

0.00 

7 18000 

-6.25 

1 18000 

-6.25 

Invalid 

Invalid 

Invalid 

38400 

14 

38400  0.00  3 

36000  -6.25  Invalid Invalid Invalid Invalid Invalid Invalid 

57600 

57600  0.00  2 

48000  -16.67  Invalid Invalid Invalid Invalid Invalid Invalid 

115200 

115200 0.00  0 

144000 25.00  Invalid Invalid Invalid Invalid Invalid Invalid 

230400* 

192000 -16.67  Invalid Invalid Invalid Invalid Invalid Invalid Invalid Invalid Invalid 

460800* 

576000 25.00  Invalid Invalid Invalid Invalid Invalid Invalid Invalid Invalid Invalid 

T

ABLE 

4-2

  

C

RYSTAL 

F

REQUENCIES FOR 

RS232 

COMMUNICATION

 

* Note: The device used to convert the RS232 serial information to logic signals for the microcontroller is limited to 

120kBaud. The rates above this level can only be utilised if the user provides direct logic level communications. 

The user may replace the HC49/U surface mounted AT cut crystal with another of similar type within the operating frequency 

of the microcontroller device. Please refer to the hardware manual for the microcontroller for the valid operating range. 

Alternatively the user may fit an oscillator module – or provide an external clock source. When providing an oscillator module 

or external source it is highly recommended that the load capacitors for the AT crystal are removed from the PCB. These are 

physically placed within the PCB outline of the oscillator module for easy location and to ensure they are removed when 

using this option. 

When changing the crystal frequency the pre-loaded debugging monitor will not function. In this situation the user is 

responsible for providing code to evaluate the device away from the default operating speed. 

4.2.3. R

EMOVABLE COMPONENT INFORMATION

This information is provided to allow the replacement of components removed from the board as described in section 4.2.2. 

Component Cct. 

Ref 

Value Rating 

Manufacturer 

Load Resistor (X2) 

R8 

1M

 

0805 1%  

Welwyn WCR Series 

Load Resistor (X3) 

R7 

1M

 

0805 1%  

Welwyn WCR Series 

Load capacitors (X2) 

C2,C3 

12pF 

0603 10% 25V 

AVX 0603 3 A 150 KAT 

Load capacitors (X3) 

C4,C5 

15pF 

0603 10% 25V 

AVX 0603 3 A 150 KAT 

T

ABLE 

4-3: R

EMOVABLE 

C

OMPONENT 

I

NFORMATION

 

Care must be taken not to damage the tracking around these components. Only use soldering equipment designed for 

surface mount assembly and rework. 

4.3. SPI 

EEPROM 

The board has been tested with an Atmel AT25040N-10SA-2.7 SPI EEPROM device (Not supplied).  

The device should be connected to P30, P31, P32 and P67 using 0R links on R15, R16, R17 and R21. Alternative 

connections are available, refer to section 5.3 for more information. 

Do not fit the CAN transceiver if the SPI device is fitted while using the settings above. 

  7 

Содержание EDK3687

Страница 1: ...EDK3687 USER MANUAL FOR H8 3687 ON CHIP FLASH MICROCONTROLLER...

Страница 2: ...ermission Trademarks General All brand or product names used in this manual are trademarks or registered trademarks of their respective companies or organisations Specific Microsoft MS and MS DOS are...

Страница 3: ...N 6 4 1 USER INTERFACE 6 4 2 SERIAL INTERFACE 6 4 3 SPI EEPROM 7 4 4 I2C EEPROM 8 4 5 LIN INTERFACE 8 4 6 LEDS 8 5 BOARD OPTIONS 9 5 1 JUMPER LINKS 9 5 2 EDK OPTIONS CJ4 10 5 3 OPTION LINK SELECTION 1...

Страница 4: ...D 2 3 POWER SUPPLY The EDK hardware requires a power supply of 5V Since total power consumption can vary widely due to external connections port states and memory configuration use a power supply capa...

Страница 5: ...RX232 TX232 CTS RTS Microprocessor LIN I2C J1 J2 XTAL OSC Testpoints SPI DEBUG LIN I2C FIGURE 3 1 EDK BOARD LAYOUT 3 1 EDK BLOCK DIAGRAM The diagram shows the connectivity of the components on the ED...

Страница 6: ...OR PIN DEFINITIONS The EDK RS232 interface conforms to Data Communication Equipment DCE format allowing the use of 1 1 cables when connected to Data Terminal Equipment DTE such as an IBM PC The cable...

Страница 7: ...e rates above this level can only be utilised if the user provides direct logic level communications The user may replace the HC49 U surface mounted AT cut crystal with another of similar type within...

Страница 8: ...ccur if these links are fitted inappropriately Please review the specifications for the LIN transceiver and LIN Interface before fitting any of these links 4 6 LEDS The EDK has three red LEDs The func...

Страница 9: ...12 with pin 1 marked on the PCB by an arrow pointing to the pin The diagram below shows the numbering of these jumper links and indicates jumpers fitted 1 2 for each three pin jumper 5 1 JUMPER LINKS...

Страница 10: ...J 4 C Default 2 3 Serial Receive Source Enable the Flash Programming header data receive Enable the RS232 interface data receive CJ 4 D Default 1 2 BOOT Mode Selection User Mode BOOT Mode TABLE 5 1 BO...

Страница 11: ...attached devices 5 3 1 RST RESET FUNCTION The HD643687GFP device includes a built in reset control circuit C C C C C C R R R R R R 2 3 4 8 9 10 Internal X X Default RST External X X X X TABLE 5 2 OPTI...

Страница 12: ...ed programming tool for control and programming of Renesas microcontrollers available separately from Renesas This header provides direct access for the FDM to control the EDK microcontroller To utili...

Страница 13: ...1 49 25 P70 SCK3_2 P70 48 26 P23 P23 47 27 P22 TXD PTXD 46 28 P21 RXD PRXD 45 29 P20 SCK3 PSCK 44 30 P87 P87 43 31 P86 P86 42 32 P85 P85 41 6 2 HEADER J2 J2 Pin No Function EDK Symbol Device pin Pin N...

Страница 14: ...e must remain at a fixed location in memory The following table details the HMON components and their size and location in memory For more information refer to the map file when building code Section...

Страница 15: ...CHMON CUser_Vectors BHMON Stack H 0400 H 04F7 H 0500 H 0BC1 H 1000 H 2D10 H 0C00 H 0C03 H E800 H EE00 H FE80 H 0000 H DFFF H EFFF H F700 H F77F Internal I O REGISTERS H FF7F H FC7F H FC80 RESET Vector...

Страница 16: ...gher priority than the serial port If these interrupts are used HMON may not function correctly 7 2 ADDITIONAL INFORMATION For details on how to use HEW with HMON refer to the HEW manual available on...

Отзывы: