Technical information

CSI to SPI Peripheral Communication in V850ES Microcontrollers
initialization for I/O ports used. After Applilet produces the basic code, additional code is added by the
user to customize the functioning of the program.
This section describes how Applilet is set up to produce code for these peripherals, and lists the files and
routines produced. Additional files not generated by Applilet, such as those written for temperature
sensor access, are also listed.
Applilet is started, and a new project file is created and saved as a .prx file. Applilet shows a screen
allowing different peripheral blocks to be selected for setup.
2.7.1 Configuring Applilet for Clock Initialization
1. In the System box, click the Foundation setting tab to select the clocks to be initialized in the
Clock_Init() routine.
Figure 22. System Box
2. Select Main clock operation to operate on the external crystal
3. Select PLL function On to set the clock to use the PLL multiplier.
4. In the Oscillates setting box, set the Main oscillator at 5 MHz. With the PLL on, this results
in a system clock of 20 MHz.
5. Select Ring-OSC option byte selection box, select Ring-OSC can be stop by software. If
this option is not selected, the watchdog timer 2 (WDTM2) cannot be stopped and would
reset the program periodically if not disabled or cleared within a certain time interval. In
order to make the program code clearer, the watchdog timer is not used.
30