MB90xxx Series
SMPL16
DESCRIPTION
To install the Software Sample Files please download the compressed self-extracting file. The Standard Installation Target Directory is:
C:\Softune\sample\smpl16
These are mainly generic projects, which do not depend on dedicated series or which can easily ported to any series.
FEATUTRES
- CANSTART
This directory holds two plain modules, which contains the basic steps to output/receive a frame through the CAN-interface. - DS1820
This example gives the basic-routines to connect Fujitsu microcontroller to 1-wire devices of Dallas Semiconductor, using a DS1820 Digital Thermometer - ExtBus
This example initialises the external bus of the MB90495 series for 8/-Bt external bus width extbus2 Project for acess external bus at adress 10000H - FLASH
This program shows how to program the internal Flash-memory by a code running in the internal RAM. Functions are provided for erasing sectors or the chip, for reading or writing words. The project is adjusted to MB90F540 but can easily be changed to any Flash-MCU. - FlashEraseSuspend
This sample project demostrates the erasing of the Flash memory. How to suspend and restart the Flash erasing. The routines itself are executed in RAM. The code is permanently located in RAM during run-time. - GET_SECTION_DATA
This project shows the usage of Assembler statements in order to make the size and address of a section available in C-language. E.g. this way copying a section can be performed on C-language level. - INLINE
This project demonstrates different ways of using the "#pragma inline" statement, which forces the compiler to expand function call in the place of the function call. - IR_PWM
This example uses the Input-Capture-Unit (IN0) to decode a remote control using 'PWM'-code. The IR-receiver module has to be connected to IN0 = P70 = pin53. The decoded information is sent out by the UART1 with 9600 Baud. For detailed information please see the Application Note "an-IR-Remote" - IR_RC5
This example uses the Reload-Timer including its trigger-function (TIN0) to decode a remote control using RC5-code. The IR-receiver module has to be connected to TIN0 = P56 = pin47 The decoded information (address, comand and toggle bit) is sent out by the UART1 with 9600 Baud. For detailed information please see the Application Note "RC5" - KeyButton
This project shows how a key-button can be checked, in order to identify if it is pressed for a short or a long time. If the key-button INT4 is pressed ...
... for a short time then LED D1 will toggle.
... for a long time then LED D2 will toggle.
... for more than a long time then LED D2 will toggle faster.
... for a very short time then nothing happens. - MB2147-05_Monitoring
The Compact ICE emulator system MB2147-05 does not support monitoring. This examples shows how 'monitoring' can be emulated instead. One timer (e.g. Reload-Timer) is needed to define the refresh rate. Within the timer interrupt handler a breakpoint has to be set. - LIN-Master
This example shows basic functionality of LIN-Master bus operations with the LIN-UART. For this UART3 of MB90340 is used.
Note: This example needs a second MB90340 with the running software of the example 'LIN_Slave'. If all is runnig o.k. counter data is displayed on the Port0-LEDs of the Starterkit. (Or monitor Port00 on scope. The port has to toggle.) Protocol: This example sends 8-Byte data to the LIN-Slave. Then a next message is initiated by the master and the slave has to respond with its 8-Byte data. In Error case all LEDs are blinking at the same time. - LIN-Slave
This example shows basic functionality of LIN-Master bus operations with the LIN-UART. For this UART3 of MB90340 is used.
Note: This example needs a second MB90340 with the running software of the example 'LIN_Master'. If all is runnig o.k. counter data is displayed on the Port0-LEDs of the Starterkit. (Or monitor Port00 on scope. The port has to toggle.) Protocol: This example receives 8-Byte data to the LIN-Master. Then a next message is initiated by the master and the slave responds with its 8-Byte data. In Error case all LEDs are blinking at the same time. - LCD-Animation
This is a sample showing 2 moving animations on a 16x2 LCD display. The programm ist calculating the new animation positions and appearing and then printing the used custom characters on the LCD display. - LCD-Ball
This example shows how to create user-defined characters on a standard alphanumeric LC-display. It shows a bouncing ball on a 16x2 LCD display. The programm ist calculating the new ball positions and appearing and then writes the used custom characters in the GC RAM of the LCD display. With the buttons INT10 and INT11 is it possible to change the ballspeed in x - position. - LIBRARY
This is a collection of projects, which demonstrates the generation and usage of libraries. One project generates a library with some contents, other access the library in several ways. - Printf
This example project explains how to use library functions e.g. printf function - ProcessorStatus:
The example processor_status shows how the PS-register can be accessed within a "C"-module. - RAMCODE:
This sample project demonstrates the usage of code to be executed in RAM. It shows one mechanism provided by compiler and linker in order to store code at different addresses than it is executed. Code execution in RAM is needed e.g. for Flash-bootloaders. - REL:
This example shows how REL (Relative) code can be used. The Relative (REL) code of project 'RELcode' will be included in project 'REL2ABS'. - rot_enc_extIRQ
This sample project will increase or decrease the variable enc_position depending on the moving-direction of a Rotary-Encoder by using two external Interrupts. - rot_enc_ICU
This sample project will increase or decrease the variable enc_position depending on the moving-direction of the Rotary-Encoder by using the Input-Capture-Unit (ICU). Also the passed time in microseconds from the last step is calculated. - SECTION
This is a demoprogram using "#pragma section" to change sections where code is linked to. It shows how code can be assigned to addresses in a C-module or how code of several modules can be linked to the same section. - SOFT_I²C
This project handles a software I²C with 8Bit-addressing. It uses standard I/O-ports. The project is adjusted to DevKit16 but can easily be changed for any controller and I/O-port. - STARTUP
FFMC16-Start-Up File for memory initialisation according to FCC907S-compiler specification. It is suitable for all memory models. A detailed documentation is included. - STARTUP610
This is the same as STARTUP except ECSR register. Use documentation of STARTUP. - SubClockMode, V1.0
This example demonstrates the usage of subclock mode and subclock sleep mode - sprintf
This example project explains how to use library functions e.g. printf function - uninitialisedDATA
This example shows both _near and _far data that will not be initialised - History of the MB90xxx:
| Date | Revision | Description |
| 11.09.06 | V01R11 | Updated sample package released |
| 17.01.05 | V01R10 | sample package released |
| 06.01.05 | 1.1 | Example MB2147-05_Monitoring added |
| 14.12.04 | 1 | Example REL added |
| 30.11.04 | 2.1 | LIN-Master and -Slave Example updated |
| 16.11.04 | V01R09 | sample package released |
| 08.09.04 | 1.04 | Example FlashEraseSuspend |
| 09.08.04 | V01R08 | sample package released |
| 10.05.04 | - | Example KeyButton added |
| 16.04.04 | 3.8 | start-up file updated |
| 16.04.04 | V01R07 | sample package released |
| 13.04.04 | 1 | LIN-Master and -Slave Example added |
| 06.02.04 | V01R06 | sample package released |
| 21.11.03 | - | Example DS1820 added |
| 27.10.03 | - | Example LCD-Animation added |
| 27.10.03 | - | Example LCD-Ball added |
| 23.10.03 | V01R05 | sample package released |
| 09.09.03 | 1.2 | Example SubclockMode LPMCR update |
| 05.09.03 | V01R05 | sample package released |
| 03.08.03 | 1.1 | Example SubclockMode LPMCR update |
| 12.05.03 | V01R04 | Example package released |
| 17.04.03 | - | Example ProcessorStatus added |
| 20.01.03 | - | Example flash updated |
| 12.11.02 | V01R03 | Example Package released |
| 25.10.02 | - | disclaimer added to all source files |
| 26.07.02 | - | Example uninitialisedDATA added |
| 25.04.02 | - | Example rot_enc_ICU corrected |
| 10.04.02 | - | Examples IR_RC5 and IR_PWM added |
| 28.01.02 | - | Example rot_enc_extIRQ added |
| 28.01.02 | - | Example rot_enc_ICU added |
| 18.06.01 | V01R02 | Example Package released |
| 10.04.01 | V01R01 | Example Package released |
| 29.03.01 | - | Example extbus2 added |
| 19.03.01 | - | Example extbus added |
| 13.07.00 | - | Example SubClockMode added |
| 10.07.00 | V01R00 | Example Package released |
| 30.05.00 | - | Example Printf added |
| 16.02.01 | - | Example sprintf added |
DOWNLOAD
Note: Netscape Navigator 4.xx does not allow direct execution of ".exe" files. Saving them to a temporary folder and executing them there is recommended.
EXESelf-extracting Sample Files for MB90xxx Series V01R11 (2070 KB, 11. September 2006)
