To obtain up-to-date information and/or specifications, contact your Fujitsu sales representative or Fujitsu authorized dealer. 2. Fujitsu will not be liable for infringement of copyright, industrial property right, or other rights of a third party caused by the use of information or drawings described in this manual.
MB2146-460-E Setup Guide V1.2 Chapter 1 Product Overview Product Overview This product is a set of EV-Board of MB95350L series. It is composed of a BGMA (MB2146- 08-E) and an EV-board (MB2146-460-E). Combining the SOFTUNE Workbench on PC, the EV-Board enables the quick start of development before the user system is ready. 1.1 Objective and Deliverable The EV-Board provides users a complete development platform.
MB2146-460-E Setup Guide V1.2 Chapter 1 Product Overview 1.4 Feature The MB95350L Series EV-Board is the best for a performance and functional evaluation, and operation check before using MB95350L Series MCU in a user's system. The features of the BGM debugger for MB95350L Series MCU are shown as below. Microcomputer operation voltage ranging from +1.8V to +3.3V.
MB2146-460-E Setup Guide V1.2 Chapter 2 BGMA Manual 2 BGMA Manual This chapter gives introduction on how to set up BGMA. 2.1 BGMA Overview Following is a close shot of a MB95350L Series BGMA. The Part Number is MB2146-08-E. It provides a debugging platform for the MB95350L Series MCU with a small size of 55.7mm (W) X127mm (D) X30mm (H).
MB2146-460-E Setup Guide V1.2 Chapter 2 BGMA Manual 2.3 IDC10 Interface Description Pin Number Pin Name Description UVCC Target MCU V Target MCU V RSTIN Target MCU reset input RSTOUT Target MCU reset output Reserved Reserved Reserved Target MCU debug pin Reserved Reserved 2.4 BGMA USB Configuration...
Page 10
MB2146-460-E Setup Guide V1.2 Chapter 2 BGMA Manual Select Install from a list or specific location (Advanced), then click Next. Figure 2-3: Install BGMA in Windows (2) Select …\Drivers from the folder where SOFTUNE is installed, click Next. Figure 2-4: Install BGMA in Windows (3) MCU-AN-500083-E-12 –...
Page 11
MB2146-460-E Setup Guide V1.2 Chapter 2 BGMA Manual Select BGMA (MB2146-08) from the window displayed in Figure 2-5 and then click Next. Figure 2-5: Install BGMA in Windows (4) Windows will install the driver automatically. Click Finish after the driver has completed the installation normally.
MB2146-460-E Setup Guide V1.2 Chapter 2 BGMA Manual 2.5 LED Description First, when USB cable is plugged to PC, check whether the Power LED turns green or not. Refer to Figure 2-7. Figure 2-7: BGMA Power LED (1) Second, plug IDC10 cable to the EV-board (target MCU board), then turn on EV-board. After that, check whether the Power LED on the BGMA turns orange or not.
MB2146-460-E Setup Guide V1.2 Chapter 3 EV-board Manual 3 EV-board Manual This chapter gives introduction on how to set up EV-board and functions of EV-Board. 3.1 EV-board Overview MB95350L EV-board is an evaluation platform for the MB95350L Family microcontroller. Figure 3-1 is a close shot of EV-board. BGMA Power circuit Circuit...
MB2146-460-E Setup Guide V1.2 Chapter 3 EV-board Manual 3.2 Function List The EV-board is consisted of a board and a sample firmware. The board, together with a BGMA (PN: MB2146-08-E) and a SOFTUNE, provides a useful platform for using the MCU and its peripherals.
MB2146-460-E Setup Guide V1.2 Chapter 3 EV-board Manual 3.4.2 Power Module EV-board provides 2 kinds of power supplies for user to choose. Please read the following instructions before using. DC Adaptor: 5V DC: Output voltage: 3.3V Connection: Connector (J1) Battery: QTY: 4PCS;...
MB2146-460-E Setup Guide V1.2 Chapter 3 EV-board Manual 3.4.3 I2C Slave Module .4.3 I2C Slave Module The I2C slave is used to connect external master SDA and SCL. There are two channels in The I2C slave is used to connect external master SDA and SCL. There are two channels in I2C slave module.
MB2146-460-E Setup Guide V1.2 Chapter 3 EV-board Manual 3.4.5 A/D Module Use A/D value to set address. Slave device1 Slave device2 Slave device3 Slave device4 Slave device5 Orientation Figure 3-6: ADC Module Note: The orientation to which the section faced will decide the slave device MCU-AN-500083-E-12 –...
MB2146-460-E Setup Guide V1.2 Chapter 3 EV-board Manual 3.4.6 LED Module .4.6 LED Module Three LEDs are connected to P07, P06 and P05, for showing the states. Three LEDs are connected to P07, P06 and P05, for showing the states. Sleep mode Device selected...
MB2146-460-E Setup Guide V1.2 Chapter 3 EV-board Manual 3.5 Operation Manual 3.5.1 Single Board Mode Figure 3-8: Single Mode When you get one board, the board works singly as follows: When it is started (power on or reset), the I2C0 works as I2C master, and its sub- address is determined by the ADC.
MB2146-460-E Setup Guide V1.2 Chapter 3 EV-board Manual 3.5.2 Series Connection Mode .5.2 Series Connection Mode Down Main board board board Figure 3-9: Series Mode In series connection mode, main board and down board work as master and slave simultaneously, while up board only works as master. After the Send key on up board is pressed, the ADC value is sent to main board.
MB2146-460-E Setup Guide V1.2 Chapter 3 EV-board Manual 3.5.3 Net Connection Mode .5.3 Net Connection Mode Main board Potentiometer Slave Slave board1 board2 Figure 3-10: Net Mode In net connection mode, one board is the master board and the other boards are the slave boards.
MB2146-460-E Setup Guide V1.2 Chapter 3 EV-board Manual 3.5.4 ADC module The potentiometer is divided into 5 grades, and each grade corresponds to one slave board address. The slave address is divided into 0x10, 0x20, 0x30, 0x40 and 0x50. Details are as follow.
MB2146-460-E Setup Guide V1.2 Chapter 3 EV-board Manual 3.5.6 Reset Operation There is a reset key to be used when user wants to reset system. In normal condition, the reset pin is connected to V The reset key is connected to GND when being pressed. 3.5.7 Test Pin There is a test pin connected to each pin of MB95350L.
MB2146-460-E Setup Guide V1.2 Chapter 4 Sample Code Manual 4 Sample Code Manual 4.1 Project Structure There is a project in this MB95350L EV-Board. The following structure describes the flow chart of this project, as shown in Figure 4-1. Figure 4-1: Project Structure MCU-AN-500083-E-12 –...
MB2146-460-E Setup Guide V1.2 Chapter 4 Sample Code Manual The following sample codes are provided by MB95350L Series EV-Board. 4.2 Source Code File Description Eight drive files are available in this project shown below, Figure 4-2: Source Code Files 4.2.1 ADC .c Following table describes the ADC library.
MB2146-460-E Setup Guide V1.2 Chapter 4 Sample Code Manual 4.2.2 Addressjudge .c Following table describes the Addressjudge library: Function Name Description unsigned char Judge_SlaveAddr(unsigned char Divide ADC value into five constants AddrJudg) When IIC0 is connected to multiple slave devices, these five constants are used decide which one to access.
MB2146-460-E Setup Guide V1.2 Chapter 4 Sample Code Manual 4.2.3 Ext-interrupt .c In this function, external interrupt registers are initialized. Following table describes the external interrupt library. Function Name Description void EXT_Init(void) Initialize external interrupt __interrupt void INTER_EXT (void) Capture falling edge and generate interrupt Following table describes the function EXT_Init.
MB2146-460-E Setup Guide V1.2 Chapter 4 Sample Code Manual 4.2.4 I2C .c All following functions are for IIC0 which works as master. Following table describes the I2C library. Function Name Description void I2C_Init( void ) Initialize I2C register unsigned char Read_I2C(unsigned char DevAddr, Read data for slave unsigned char SubAddr) void Write_I2C(unsigned char DevAddr, unsigned char...
MB2146-460-E Setup Guide V1.2 Chapter 4 Sample Code Manual 4.2.6 Slavemodei2c .c Following table describes the slavemodei2c library. Function Name Description void SlaveI2C_PrepareForInter(void) Initialize IIC1 as slave __interrupt void INTER_I2CSlaveModeWakeUp(void) IIC1 receives interrupt Following table describes how to use function SlaveI2C_PrepareForInter. Function name SlaveI2C_PrepareForInter Function prototype...
MB2146-460-E Setup Guide V1.2 Chapter 4 Sample Code Manual 4.2.7 Standby .c Following table describes the standby library. Function Name Description void STBLED_ON(unsigned char LEDSwiDat) LED show standby status void Write_StandBy(void) Go to standby Following table describes how to use function STBLED_ON. Function name STBLED_ON Function prototype...
MB2146-460-E Setup Guide V1.2 Chapter 4 Sample Code Manual 4.2.8 Timer.c Following table describes the timer library. Function Name Description void Clock_Init(void) system clock initialization Following table describes how to use function Clock_Init. Function name Clock_Init Function prototype void Clock_Init(void) Behavior description Select clock mode Input parameter...
MB2146-460-E Setup Guide V1.2 Chapter 4 Sample Code Manual 4.3 API Code File Description API files are used to transfer drive file. They are shown as below, Figure 4-3: API Code Files 4.3.1 I2CMasterMacro.c In this function, Following table describes I2C master library. Function Name Description unsigned char Judge_P00(void)
Page 36
MB2146-460-E Setup Guide V1.2 Chapter 4 Sample Code Manual Following table describes how to use function EEPROM_I2C. Function name EEPROM_I2C Function prototype void EEPROM_I2C(void) Behavior description When Judge_P00(void) function return 1, IIC0 will write data to EEPROM when “send” key pressed Input parameter None Return value...
MB2146-460-E Setup Guide V1.2 Chapter 4 Sample Code Manual 4.3.2 I2CSlaveMacro.c Following table describes the I2C slave library. Function Name Description void I2C_SlaveMacro(void) Decide MCU address When IIC0 is connected to multiple slaves, these five constants are used decide which one to access.
MB2146-460-E Setup Guide V1.2 Chapter 4 Sample Code Manual 4.3.3 SleepMacro.c In this function, Following table describes the sleep library. Function Name Description void Sleep_Macro(void) Make system enter into stop mode Following table describes how to use function Sleep_Macro. Function name Sleep_Macro Function prototype void Sleep_Macro(void)
MB2146-460-E Setup Guide V1.2 Chapter 4 Sample Code Manual 4.4 Global Variable Description Five drive files are available in this project shown below. Figure 4-4: H Files _f2mc8fx.h _f2mc8fx.h is system-defined document. Ignore it mb95350l.h Mb95350l.h is system-defined document. Ignore it def.h This file basically includes all global variables of FW Following picture describes the global variable.
MB2146-460-E Setup Guide V1.2 Chapter 4 Sample Code Manual 4.5 How to Add These Files Before using files in section 4.2, please refer to the following steps. Create a new project. Copy .c file to project document. Add .c file to project. Add all needed .c files to project.
MB2146-460-E Setup Guide V1.2 Chapter 5 Development Platform Quick Start 5 Development Platform Quick Start 5.1 Tools Setup Sequence Start the debugging system in the following sequence: Connect a BGMA to the PC with a USB cable, confirm whether the LED on the BGMA is green;...
MB2146-460-E Setup Guide V1.2 Chapter 6 Additional Information 6 Additional Information For more Information on FUJITSU products, visit the following websites: English version address: http://www.fujitsu.com/cn/fsp/services/mcu/mb95/application_notes.html Chinese version address: http://www.fujitsu.com/cn/fss/services/mcu/mb95/application_notes.html MCU-AN-500083-E-12 – Page 52...