Target Board Configuration
The following sections require interactions between the NDIT on the test station and the code in your target. To be able to communicate with the test station, both the target and the test station must share the same configuration.
The first thing to configure is the communication protocol. The NDIT supports either serial port RS-232 communication or network TCP-IP communication. The communication protocol is configured in app_cfg.h
.
For RS-232 communication
#define NDIT_COM NDIT_SERIAL_COM
The data rate of the serial communication has to be defined to one of the available bit rates supported by the NDIT: 1200, 2400, 4800, 9600, 14400, 19200, 38400, 57600 or 115200 bits/sec. If your device has a serial port, the bit rate parameter should be defined in the BSP layer of the software architecture of the device. Your device must also implement a framing of 8 data bits, no parity and 1 stop bit. Also, flow control should not be used with NDIT.
For TCP/IP connection
#define NDIT_COM NDIT_NETWORK_COM
The command port can be changed in app_cfg.h
to any available port number:
#define NDIT_PORT 50177u