Macros | Typedefs | Functions
Config430X.h File Reference

Detailed Description

Configurations for the MSP430 Replicator X.

Definition in file Config430X.h.

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

Go to the source code of this file.

Macros

#define INTERFACE   JTAG_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__
 

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 INTERFACE   JTAG_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 64 of file Config430X.h.

#define MAX_ENTRY_TRY   7

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

Definition at line 86 of file Config430X.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 Config430X.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 Config430X.h.

#define WordBufferSize   50

Buffer size in words for read and write operations.

Definition at line 83 of file Config430X.h.

Function Documentation

void main ( void  )

Main function.

Definition at line 117 of file Replicator430X.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 125 of file Replicator430X.c.

Here is the call graph for this function:


Copyright 2016, Texas Instruments Incorporated