25 Locust St, Haverhill, Massachusetts 01830 • Tel: 800/252-7074, 978/374-0761 • FAX: 978/521-1839
e-mail: [email protected] • Web Address: http://www.freqdev.com
SPPDF-01 Development Suite
User’s Manual
Software Plug
Appendix B
9.1.9. OpenCommPort:
Purpose:
To open the specified COM port and configure its hardware settings.
Algorithm:
Opens a COM port, and sets the port parameters as specified.
Syntax:
[data, status] = RS232MEX(action, [CommPort, BaudRate, Parity,
DataBitsNum, StopBitsNum, InQSize, OutQSize])
Parameters:
int CommPort - communication port to operate on
long BaudRate – baud rate for the specific port
int Parity - parity mode for the port
int DataBitsNum - number of data bits
int StopBitsNum - number of stop bits
int InQSize - input queue size
int OutQSize - output queue size
Examples:
[result, condition] = RS232MEX('O', [1, 9600, 0, 8, 1, 512, 512])
[result, condition] = RS232MEX('o', [1, 9600, 0, 8, 1, 512, 512])
Operational Overview of the SPPDF-01 Suite
• Run MatLab.
• Run Filter Coefficients Generator (FCG) software to create a set of filter coefficients.
• Run Filter Coefficients Loader (FCL) software to download the coefficients into the
SPPDM-01 via the RS232 port on the SPPDB-01 development board.
• Remove and re-apply power to reset the SPPDM-01
• Enter a coefficient or filter address via the computer port or the Manual DIP-switch on the
SPPDB-01 board to select a filter to run.
31