Technical information

CSI to SPI Peripheral Communication in V850ES Microcontrollers
in two 8-bit cycles. If the MAX6627 sensor were the only device used, you would need to set
the data length to 16 bits.
5. In the Data direction box, select MSB to match the temperature sensors.
6. The two temperature sensors use different clock types. The MAX6627 uses a type 4 (clock data
mode4), and the DS1722 a type 3 (clock data mode3). To manage changing between one type
and another, the routines CSI00_SetType3() and CSI_SetType4() were written. For
initialization in this example, select clock data mode3 in the Clock mode box.
7. In the Transfer speed box, set the baud rate to 5 Mbps to match the maximum data rate
supported by the temperature sensors.
8. In the Interrupt setting box, select lowest.
9. In the Callback function setting box, select Callback function for reception end and
Callback function for transmission end to provide a mechanism to notify the main program
when a data reception or transmission operation is complete.
2.7.3 Configuring Applilet for Timer 00 (TM00)
1. On the Timer00 tab in the Timer box, select the Interval timer to provide a periodic interrupt,
and then click Detail to set the details of the Timer 00 interval timer.
Figure 25. Timer00 Tab in the Timer Box
2. In the Count clock box, select fxx/2 to use a 10 MHz clock for the timer.
3. In the Value scale box, select msec for milliseconds.
4. In the Interval timer box, enter 1.
5. In the Interrupt setting box, select TM00 and CR000 match, generate an interrupt so that
Timer 00 will generate an interrupt every millisecond. This interrupt is used for debouncing
the pushbutton switches and to count down a millisecond timer for timing delays.
32