==========================================================================
             Template Project for 8FX Series (Bassoon - MB95F108)
==========================================================================
                   Fujitsu Microelectronics Europe GmbH                       
                 http://emea.fujitsu.com/microelectronics 
                                                            
 The following  software  is for  demonstration  purposes only.  It is not
 fully  tested, nor validated  in order  to fullfill  its task  under  all
 circumstances.  Therefore,  this software or  any part of it must only be
 used in an evaluation laboratory environment.                        
 This software is subject to the rules of our standard DISCLAIMER, that is
 delivered with our  SW-tools on the Fujitsu Microcontrollers CD 
 (V3.4 or higher "\START.HTM") or on our Internet Pages:
 http://www.fme.gsdc.de/gsdc.htm
 http://emea.fujitsu.com/microelectronics 
==========================================================================
               
History
Date      Ver     Author  Softune     Description
22.02.07  1.0     CHa     V30L29      original version

==========================================================================
This is a project template for the 8FX Series (MB951xx)
It includes some basic settings for e.g. Linker, C-Compiler 
which must be checked and modified in detail, 
corresponding to the user application.

This example uses a modified PLL setting in the start8FX.asm, increasing
the core clock to 16 MHz.

This is a small example project to show how to drive a BLDC motor with
block commutation using a single 8/16-bit PPG channel of the MB95F108
8FX series Flash MCU used on the CONCERTO-Kit.

Note that the P20/PG00 (Pin 35) output has to be
connected to PE3/INT13 (Pin 3) for PWM distribution.

The motor speed can be controlled by a Potentiometer connected to
AN00 (Pin63).

Further connections:
PE0/INT10 (Pin 6): Hall A
PE1/INT11 (Pin 5): Hall B
PE2/INT12 (Pin 4): Hall C

P60 (Pin 44): PWM 1H
P61 (Pin 45): PWM 1L
P62 (Pin 46): PWM 2H
P63 (Pin 47): PWM 2L
P64 (Pin 48): PWM 3H
P65 (Pin 49): PWM 3L



The 7-segment LED display on the CONCERTO-Kit shows the actual sector
determined by the Hall sensors.

NOTE: 
-----
This template uses the headerfiles mb95100.asm and mb95100.h 
of the 8FX evaluation chip MB95FV100 (HORN).
Take care that not all resources will be available 
in each 8FX flash-/mask-device.

Further, ROM and RAM settings are limited within this project.
Correct these settings within the Linker-Options:

- Softune Workbench
  - Project
    - Setup Poject
      - Linker: Category: Disposition-Connection

        RAM  512 byte: 0x80 - 0x27F
            1024 byte: 0x80 - 0x47F
            2048 byte: 0x80 - 0x87F
    
        ROM   16k :  0xC000 - 0xFFFF
              32k :  0x8000 - 0xFFFF
              60k :  0x1000 - 0xFFFF 
       
Please check the datasheet and hardwaremanual of the related product.


