This is an old revision of the document!
The following sections on setup describe the steps for setting up the CN0535 board using the SDP-K1 and the mbed Example program for CN0535-FMCZ.
The following sections describe the process of setting up the hardware for both the SDP-K1 micro-controller board and the EVAL-CN0535-FMCZ customer evaluation board.
The EVAL-CN0535-FMCZ was designed to be evaluated using SDP-H1. On the other hand, if the user want to evaluate the CN0535 using SDP-K1, the following components needs to be installed. The table below shows the components that the user must install to enable the use of the EVAL-CN0535-FMCZ with the SDP-K1.
Component | Manufacturing Part Number | |
---|---|---|
1. P2, P4 | TSM-108-04-T-SV | |
2. P3 | TSM-110-04-T-SV | |
3. R38, R5, R6, R7, R27 | ERJ-3GEY0R00V or equivalent 0 ohm jumper | |
4. C25 | 0603YC104KAT2A or equivalent | |
5. Y1 | SIT8008BI-21-33E-16.38400G |
Shown below is the CN0535 board mounted on the SDP-K1 board via the Arduino headers. The SDP-K1 only requires a single Standard-A to Mini-B USB cable to connect to the PC. Both the orange Connected LED and green SYS PWR should light on the SDP-K1 if connected correctly.
Following are the steps then required to be completed to set up the EVAL-CN0535-FMCZ Evaluation Board using the SDP-K1:
In order to communicate with the board using the SDP-K1 the user needs to install a serial terminal software on their PC. It is recommended to use PuTTY which is available for free download on the internet. The following steps were written with PuTTY in mind however any other serial terminal application should follow a similar procedure. Following are the steps required to interface with the board.
The following table shows every command along with a brief description. Some commands have recommended settings to apply for optimal results for narrow bandwidth measurements of 32 kHz.
Command | Description | |
---|---|---|
1. | Set LTC6373 PGIA Gain/Mode | Change the LTC6373 Gain or Mode. The available power modes are Low, Median and Fast, and are described in the datasheet. Low power mode is recommended. |
2. | Set clock divide | Change the clock divide to: /16, /8, /4 or /2. /16 is recommended. |
3. | Set filter type | Change the type of filter used. Also allows for the oversampling ratio to be changed. Recommended is the Low ripple FIR Filter, oversampled by 32. |
4. | Set AIN and REF buffers | Adjust the buffers for both AIN and REF. It is recommended to turn on both AIN precharge buffers and precharge both REF buffers. |
5. | Set Default config of the ADC | Resets the ADC configuration to the default. |
6. | Set VCM output | Choose the VCM output voltage, recommended is (AVDD1 – AVSS)/2. |
7. | Read desired register | Read the ADC registers. |
8. | Read data | Reads voltages, codes and raw data from the ADC over a user-defined number of samples. |
9. | Reset ADC | Resets the ADC, either a soft reset over SPI or hard reset using the reset pin. |
10. | Power-down | Put the ADC into sleep mode or wake it up. |
11. | ADC GPIO | Control the ADC GPIOs by reading, writing or changing GPIO settings. |
12. | Read master status | Shows faults in master status register, allowing the user to pinpoint the source of problems. |
13. | Set Vref and MCLK | Change the values for Vref and MCLK. |
14. | Print measured data | Prints previously read voltages, codes and raw data to the terminal. Logging the terminal will allow the user to use extract this data. Requires the 'Read data' command to have been run. |
15. | Set data output mode | Choose how data is output from the ADC. |
16. | Set diagnostic mode | Change which diagnostic mode is used for the ADC. |
17. | Do the FFT | Does the FFT and prints useful information such as the Total Harmonic Distortion, Signal to Noise Ratio and Dynamic Range. |
18. | FFT settings | Change FFT settings such as sample count. Can also print FFT data to the terminal, which can be logged and plotted, requires command 'Do the FFT' to have been run. |
19. | Gains, Offsets | Set the gain and offset values. |
20. | Scratchpad check | Input an 8-bit number, if it is returned the ADC is interfacing with the software. This is a useful quick check for debugging and is good to run after setup. |
End of Document