Sample Code Manual; Topic List - Fujitsu MB95200H Series Setup Manual

Hide thumbs Also See for MB95200H Series:
Table of Contents

Advertisement

4 Sample Code Manual

4.1 Topic List

The following sample codes are provided with MB95200H/210H MCU Starter Kit,
IO_LED project
In this example, the 3 LEDs will be on in the following sequence:
...->LED2->LED3->LED4...
A/D_Potentiometer project
In this example, the 3 LEDs will display "on" or "off" according to the arrow direction of VR3.
Timer_Buzzer project (Continuous timer)
In this example, Buzzer will be on once by pressing Key S1; Buzzer will be on twice by
pressing Key S2.
ExInt_Key Project
Press Key S1, the 3 LEDs will be on in the following sequence:
...->LED4->LED3->LED2...
Press Key S2, the 3 LEDs will be on in the following sequence:
...->LED2->LED3->LED4...
UART project
In this example, the MCU works in an asynchronous mode.
(9,600bps, 1 stop bit, no parity)
After a reset, the MCU will send "Welcome to the LIN-UART (asynchronous mode) of
MB95200H/210Hseries (8FX)" to RS232 transceiver.
Then the MCU feedbacks any bytes it received.
SIO project
This example uses two EV-boards to demonstrate the SIO (synchronous mode) function.
(9600bps)
One MCU keeps sending data while the other keeps receiving. One LED is toggled to
indicate the communication is correct.
LIN slave
In this example, the MCU is running in a Lin Slave mode. After a reset, the MCU is waiting
for data from the Master. If the data is received correct, LED4 starts twinkling.
Starter Kit MB2146-410-01-E Setup Guide V1.1
Chapter 4 Sample Code Manual
MCU-UM-500002-E-11 – Page 15

Advertisement

Table of Contents
loading

This manual is also suitable for:

Mb95210h seriesMb2146-410-01-e

Table of Contents