MB90495 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
FEATURES
- ADC_EI2OS Project:
This sample scannes 6 channels of ADC. The values of the ADC are transfer via EI2OS to a defined buffer address (SDRval). - ADC_irq Project:
This demo project initialises the AD converter, using interrupts to read out the converted data. - Adc495 Project:
Initialize of the ADC. Conversion data is read out using polling. - Bootloader_UART1:
This project contains a bootstrap loader. It can be used to create application specific bootloaders. This example use the UART interface to download the software to the internal Flash memory using the SKwizard-Terminal program. - Bootloader_UART1:
This project contains a bootstrap loader. It can be used to create application specific bootloaders. This example use the UART interface to download the software to the internal Flash memory using the SKwizard-Terminal program. - Can:
CAN0 will work as a simple Repeater. Received data will appear at Port P07..P00 (UserLEDs of FlashCan64P) and will send out again as byte-packages to ID#2 Receive-Buffer #1 : basic can Transmit-Buffer #6 : full-can ID #2 - CAN_Uart:
The CAN_UART example show functionality of the CAN-controller. The program is controled by a PC-terminal-program via UART1 (9600Baud). - extBUS, extBUS_Accemic:
This example demonstrates the external Bus interface of the MB90495 series. The main settings for the bus interface have to done in the Start.asm at section 4.8 external Bus interface. The program simple uses different software-methods to write or read data to/from the bus. Please refer also to the application-note "an-BusInterface-Vx-x.pdf" - extINT Project:
explains the funcionality of external Interrupts. - Test Project:
It is a test application to send an welcome string to the serial output UART0, Uart1 and echos every receiving character. Baud rate 9600, no parity, 1 stop bit and a data length of 8 bit. No interrupts are used. - ICU03 Project:
It initializes the input capture0-3. Also the 16bit Free RunningTimer. - IOPort Project:
IOPort-project simply counts down an internal variable and outputs the counter value to port0. No interrupts are used. - IOtimer:
This example initialize the 16-bit free-Running IO-Timer. Every overflow causes an interrupt, and the value at port0 will be incremented by one. Every 65536 cycles of the count clock an interrupt occurs e.g.: CLK2,CLK1,CLK0 = 0, 0, 0 => 65536 * 62.5ns = 4.096ms (TCCSL:CLK2,CLK1,CLK0 allow the following divisors : 1,2,4,8,16,32,64,128) With the FlashCan64 Board the value of port0 can be seen by the LEDs. - PPG Project:
Interrupt service routine of Reload-timer is used to modify PPG channel 1. - PPG4x8 Project:
Both PPG-channels of the MB90495series are set up to 2x8Bit mode. So four independent 8bit-channels are available. The output can be measured at pin37 (PPG0), pin38 (PPG1), pin39 (PPG2), pin40 (PPG3) No interrupts are used. - PPG16 Poject:
This example demonstrates the 16-bit mode of the PPG. The PPG1 output (Pin 38) can be connected to Port 0 (LED0) in order to see aktivity of PPG1 in form of dimming. The Reload-timer0 IRQ is used to modify PPG channel 1. - Reload Timer Project:
Reload-project uses interrupts of reload-timer0 and reload-timer1 to toggle LEDs. RLT0EIIOS This examples demonstrates the functionality of the EIIOS together with the ReloadTimer. A list of reloadvalues, given in an array, will be automatically update the ReloadTimer by EIIOS. This means no CPU-transactions are nececcary. - StopMode:
after Reset the LEDs will start counting. When reached "6" the processor is set to Stop-Mode. Button INT0 or INT1 will wake up and goes on counting with offset 64 (INT1) or offset 128 (INT0) Template Project: It includes some basic settings for e.g. Linker, C-Compiler which must be checked and modified in detail, corresponding to the user application - Timebase-Timer:
The Timebase-Timer is set up, and within the service-interrupt-routine a LED-port is toggled. Time Intervalls, that are possible with the Timebase-Timer: 1.024ms, 4.096ms, 16.384ms, 131.072ms - TimerMode:
Example to evaluate the Low power saving Mode "Timer Mode". This example is performing a cyclic switching to Timer Mode. After 131ms @4MHz crystal oscillation, the CPU wakes up from Timer Mode, restarts, toggles some ports and switches back to Timer Mode. - Uart0 Project:
It is a test application to send an welcome string to the serial output UART0 and echos every receiving character. Baud rate 1200, no parity, 1 stop bit and a data length of 8 bit. No interrupts are used. - Uart0_x_Uart1 Project:
This examples shows the most common settings for UART0 and UART1 to be used in asynchronous mode: 8N1 1200, 4800, 9600, 19200, 38400 Baud Each received character from UART0 will be sent to UART0 and UART1. Each received character from UART1 will be sent to UART0 and UART1. - Uart0_syn Project:
It initialize the UART0 for synchron transfer mode. The data is transmit and received by the same Uart. When data is received it is copied to a buffer and outputed at the led's. - Uart1 Project:
It is a test application to send an welcome string to the serial output UART1 and echos every receiving character. Baud rate 9600, no parity, 1 stop bit and a data length of 8 bit. No interrupts are used. - Uart1_extclk_115k Project: It is a test application to send an welcome string to the serial output UART1 and echos every receiving character. Baud rate 115K if externally 1.84MHz is supplied to SCLK clock input of UART1, no parity, 1 stop bit and a data length of 8 bit. No interrupts are used.
- Uart1_115k_7_3728 Project:
It is a test application to send an welcome string to the serial output UART1 and echos every receiving character. Baud rate 115K if externally a 7,3728MHz crystal is used for the CPU clock, no parity, 1 stop bit and a data length of 8 bit. No interrupts are used. - WatchTi Project:
Programming Watch Timer in Interrupt mode. Toggle port P02. - Reload_1_shot Project:
Reload-project uses interrupts of reload-timer0 to toggle LEDs. The reload timer is used in the one shot mode and is triggered by the TIN-pin. When ever a rising egde is detected on the TIN-pin the reload timer is starded. The reload timer can be retrigger by the TIN-pin when an rising egde is detected on the TIN-pin. The reload timer will be reseted immediately and starts down counting from the reload value on. - PPG16 Project
The Interrupt service routine of Reload-timer0 is used to modify PPG channel 1. The PPG0 and PPG1 pins are connencted to the 16-bit output. - Sprintf
This projects shows the "sprintf"-function. - UART RX Serial EIIOS Project:
Project sets up EIIOS function to transfer data from SIDR0 to memory. Interrupts are enabled. - UART TX Reload EIIOS Project:
Project sets up reload Timer channel 0 to send character to SODR0. - UART TX Serial EIIOS Project:
Project sets up EIIOS function to transfer data from Memory to SODR0. Interrupts are enabled. - UART1_EIIOS Project:
This projects shows how to use EIIOS with UART interface. First, a welcome message is send via UART, polling the Flags by Software. Afterwards, the EIIOS channel 0 is setup to UART1 transmit interrupt Flag. In the EIIOS end of transfer ISR the discitor is set up again. - History of the MB90495:
| Date | Revision | Description |
| 11.09.06 | V01R09 | Updated Sample package released |
| 20.01.05 | V01R08 | sample package released |
| 06.01.05 | V1.5 | Template updated: simulate.sup |
| 09.08.04 | V01R07 | sample package released |
| 16.04.04 | 1.3 | Template: start-up updated |
| 16.04.04 | 1 | Example Uart0_x_Uart1 added |
| 16.04.04 | V01R06 | sample package released |
| 07.04.04 | 1.4 | Example Boot loader bug fix |
| 07.04.04 | 1.1 | Example ADC_Uart added |
| 02.04.04 | 1.3 | Example ADC_EI2OS corrected |
| 06.02.04 | V01R05 | sample package released |
| 04.12.03 | - | Example Bootloader_Uart1 added |
| 28.11.03 | - | Example CAN_Uart changed |
| 05.09.03 | V01R04 | sample package released |
| 03.09.03 | 1.1 | Example Interrupt_Measurements LPMCR update |
| 03.09.03 | 1.1 | Example TimerMode LPMCR update |
| 03.09.03 | 1.2 | Example Sub_Clock LPMCR update |
| 03.09.03 | 1.1 | Example StopMode LPMCR update |
| 02.09.03 | 1.3 | Example ADC495 updated |
| 02.09.03 | 1.5 | Example ADC_IRQ updated |
| 02.09.03 | 1.2 | Example ADC_EI2OS updated |
| 02.09.03 | 1.2 | new Header-File, Template updated |
| 25.06.03 | - | new Header-File, Template updated |
| 12.05.03 | V01R03 | Example package released |
| 27.01.03 | - | example PPG16 updated |
| 27.01.03 | - | Example package released |
| 12.11.02 | V01R02 | Example package released |
| 12.11.02 | V1.0 | Example CAN added |
| 29.10.02 | - | Example RLT0EIIOS added |
| 29.10.02 | - | Example UartTxReload_EIIOS corrected |
| 29.10.02 | - | Example UartTxSerial_EIIOS corrected |
| 29.10.02 | - | Example UartRxSerial_EIIOS corrected |
| 25.10.02 | - | disclaimer added to all source files |
| 20.09.02 | - | Example UART1_EIIOS added |
| 05.09.02 | - | Example CAN_Uart added |
| 19.08.02 | - | new header files, template prj updated |
| 15.08.02 | V1.0 | Example TimerMode added |
| 09.08.02 | V1.1 | Example Timebase_Timer corrected |
| 06.08.02 | V1.00 | Example PPG4x8 added |
| 06.08.02 | V1.00 | Example Timebase_Timer added |
| 23.07.02 | - | Example ADC495: RMV instructions removed |
| 23.07.02 | - | Example ADC_IRQ: RMV instructions removed |
| 23.07.02 | - | Example ADC_EI2OS: RMV instructions removed |
| 23.07.02 | - | header-file update of template prj |
| 20.06.02 | - | Example extBUS, extBUS_Accemic added |
| 19.02.02 | - | Example IOtimer added |
| 10.12.01 | - | new header files insert to template prj |
| 30.07.01 | V1.00 | Example StopMode added |
| 09.07.01 | V1.00 | Example extINT added |
| 13.06.01 | V01R01 | Example Package released |
| 05.06.01 | V1.01 | Example PPG16, RMV instructions removed |
| 05.06.01 | V1.01 | Example PPG, RMV instructions removed |
| 05.06.01 | V1.01 | Example ADC495, RMV instructions removed |
| 05.06.01 | V1.03 | Example ADC_irq, RMV instructions removed |
| 12.01.01 | - | Example PPG16 added |
| 17.11.00 | - | Example Reload_1_shot added |
| 10.08.00 | V01R00 | Example Package released |
| 08.08.00 | - | new header files insert to template prj. |
| 19.06.00 | - | Add main_0-5.c file to ADC_IQR |
| 19.06.00 | - | Change of Readme.txt (ADC_IRQ) |
| 15.06.00 | - | Example ADC_EI2OS 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 MB90495 Series V01R09 (1540 KB, 11. September 2006)
ZIPMB90495 Project Template (46 KB)
