Wiki

This version is outdated by a newer approved version.DiffThis version (26 Oct 2021 15:06) was approved by John Neeko Garlitos.The Previously approved version (26 Oct 2021 15:03) is available.Diff

This is an old revision of the document!


CN0535 and the SDP-K1

General Setup

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.

Equipment

Hardware Setup

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.

EVAL-CN0535-FMCZ Prep for use with SDP-K1

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, P4TSM-108-04-T-SV
2. P3TSM-110-04-T-SV
3. R38, R5, R6, R7, R27ERJ-3GEY0R00V or equivalent 0 ohm jumper
4. C250603YC104KAT2A or equivalent
5. Y1SIT8008BI-21-33E-16.38400G

Shown on below Figures the board setup for SDP-K1.

SDP-K1

For SDP-K1 Rev E and Below:
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.

For SDP-K1 Rev E and Up:
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 type-C 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.

Software Setup

Importing the EVAL-CN0535-FMCZ MBED Example program

  1. If the user doesn’t have an mbed online id account, the user must create one at https://ide.mbed.com/.
  2. After having a acount, open the Example program for EVAL-CN0535-FMCZ https://os.mbed.com/teams/AnalogDevices/code/EVAL-CN0535-FMCZ/

-

Connecting to a serial terminal application

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.

  1. Open Device Manager through the Windows control panel and plug the micro-controller board into the PC, when the board is detected it will appear in device manager, displaying as USB Serial Device. This also displays which port the board is connected to. (COM4 in this case)
  2. Open the serial terminal application and enter the correct values to configure it to connect to the board. The serial line should be the COM port noted earlier and the speed should be set to 115200 to ensure data transfer works correctly. Also note the changes in the Terminal tab, this is required for the menu to display properly.
  3. Upon connection, the interface menu should appear. If not, press the reset button on the micro-controller board, this will call up the command menu for the user to interact with. (Note: This does not work with the version A & B of the SDP-K1)
  4. From here, the user should type the number corresponding to their desired choice and press 'Enter'. Note that many choices will create sub-menus, prompting the user to make another choice.

Command Summary

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 option are Shutdown mode and gains of 0.25 V/V, 0.5 V/V, 1 V/V, 2 V/V, 4 V/V, 8 V/V, 1 6V/V.
2. Set ADA4945 FDA Power Mode Change the ADA4945 Power Mode to:Full Power Mode or Low Power Mode .
3. Set AD7768-1 power mode Change the AD7768-1 to Low, Median or Fast. Low power mode is recommended.
4. Set AD7768-1 MCLK clock divider Change the AD7768-1 clock divider to: /16, /8, /4 or /2. /16 is recommended.
5. Set AD7768-1 filter type Change the AD7768-1 filter type used. Also allows for the oversampling ratio to be changed. Recommended is the Low ripple FIR Filter, oversampled by 32.
6. Set AD7768-1 AIN buffers Adjust the AD7768-1 buffers for both AIN+ and AIN-. It is recommended to turn on both AIN+ and AIN + precharge buffers.
7. Set AD7768-1 REF buffers Adjust the AD7768-1 buffers for both REF+ and REF-. It is recommended to turn on both REF+ and REF- precharge REF buffers.
8. Set AD7768-1 VCM output Choose the AD7768-1 VCM output voltage, recommended is (AVDD1 – AVSS)/2.
9. Set AD7768-1 data output mode Set the AD7768-1 data output mode.
10. Set AD7768-1 diagnostic mode Change which diagnostic mode is used for the ADC.
11. Set AD7768-1 Gains and Offsets Set AD7768-1 Gain and Offset register.
12. Read AD7768-1 master status Shows faults in AD7768-1 master status register, allowing the user to pinpoint the source of problems.
13. Read AD7768-1 desired register Reads desire AD7768-1 register.
14. Read AD7768-1 data register Reads AD7768-1 data register.
15. Read AD7768-1 continuous mode data Reads Raw data from the ADC over a user-defined number of samples.
16. Print AD7768-1 Continuous mode measured data Prints previously read raw data to and converted into voltages, codes and read raw data the terminal. Logging the terminal will allow the user to use extract this data. Requires the 'Read data' command to have been run.
17. AD7768-1 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.
18. Reset AD7768-1 ADC Resets the ADC, either a soft reset over SPI or hard reset using the reset pin.
19. Set to Board Default Config Set the board to default configurations.
20. Update Vref and MCLK values Update the Vref and MCLK values.

End of Document

resources/eval/user-guides/circuits-from-the-lab/cn0535/sdp-k1.1635253572.txt.gz · Last modified: 26 Oct 2021 15:06 by John Neeko Garlitos