Macros | Typedefs | Functions
Config430.h File Reference

Detailed Description

Configurations for the MSP430 Replicator.

Definition in file Config430.h.

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define INTERFACE   SPYBIWIRE_IF
 Select the interface to be used to communicate with the device. More...
 
#define VCC_LEVEL   30
 Set the target's Vcc level supplied by REP430F. More...
 
#define MCLK_18MHZ
 Select the main clock frequency. More...
 
#define WordBufferSize   50
 Buffer size in words for read and write operations. More...
 
#define MAX_ENTRY_TRY   7
 Maximum number of tries for the determination of the core identification info. More...
 
#define __BYTEWORD__
 Comment in the following define if target device is from the ixx family. More...
 

Typedefs

typedef unsigned short word
 
typedef unsigned char byte
 

Functions

void runProgramm (void)
 The basic Replicator routine. More...
 
void main (void)
 Main function. More...
 

Macro Definition Documentation

#define __BYTEWORD__

Comment in the following define if target device is from the ixx family.

Definition at line 95 of file Config430.h.

#define INTERFACE   SPYBIWIRE_IF

Select the interface to be used to communicate with the device.

Options:

  • JTAG_IF - MCU has 4-wire JTAG ONLY (F1xx, old F4xx)
  • SPYBIWIRE_IF - 2-wire Spy-Bi-Wire (F2xx, F4xx with SBW, F5xx, F6xx)
  • SPYBIWIREJTAG_IF - 4-wire JTAG in MCU with Spy-Bi-Wire (F2xx, F4xx with SBW, F5xx, F6xx)

Select ONLY ONE interface, comment-out remaining options

Definition at line 65 of file Config430.h.

#define MAX_ENTRY_TRY   7

Maximum number of tries for the determination of the core identification info.

Definition at line 86 of file Config430.h.

#define MCLK_18MHZ

Select the main clock frequency.

Comment it out for MCLK=12MHz, if the Voltage supplied to the REP430F is low (below 2.5V). That can apply when the REP430F is supplied from the target device, not from the external power supply.

Definition at line 81 of file Config430.h.

#define VCC_LEVEL   30

Set the target's Vcc level supplied by REP430F.

data = 10*Vcc - range 2.1V to 3.6V or 0 (Vcc-OFF)

Definition at line 70 of file Config430.h.

#define WordBufferSize   50

Buffer size in words for read and write operations.

Definition at line 83 of file Config430.h.

Function Documentation

void main ( void  )

Main function.

Definition at line 119 of file Replicator430.c.

Here is the call graph for this function:

void runProgramm ( void  )

The basic Replicator routine.

This function is executed once at startup and can be restarted by pressing button "S1" on the REP430F board.

Data pointer

Buffer, used for memory read with ReadMemQuick()

Data pointer

Buffer, used for memory read with ReadMemQuick()

Definition at line 127 of file Replicator430.c.

Here is the call graph for this function:


Copyright 2016, Texas Instruments Incorporated