Topic List - Fujitsu 8FX MB2146-510-01-E Setup Manual

8-bit microcontroller mb95560h/570h/580h series starter kit
Table of Contents

Advertisement

4. Sample Code Manual

4.1 Topic List

The following sample codes are provided with MB95560H/570H/580H MCU Starter Kit,
• IO_LED project
In this example, the LED2 will be twinkle.
• 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 press-
ing 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
MB95560series (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.
• LIN master
In this example, the MCU is running in a Lin Master mode. After a reset, the MCU starts send-
ing data to a Slave. If the Master gets correct data from the Slave, the MCU restarts sending.
While sending data to the Slave, LED2 keeps twinkling.
15

Advertisement

Table of Contents
loading

Table of Contents