Wiki

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
resources:eval:user-guides:circuits-from-the-lab:cn0535:sdp-k1 [14 Jun 2021 09:40] – [Importing the EVAL-CN0535-FMCZ MBED Example program] John Neeko Garlitosresources:eval:user-guides:circuits-from-the-lab:cn0535:sdp-k1 [27 Oct 2021 08:53] (current) – [SDP-K1] John Neeko Garlitos
Line 34: Line 34:
  
 ==== SDP-K1 ==== ==== SDP-K1 ====
- +>>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-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. 
-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-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. +{{ :resources:eval:user-guides:circuits-from-the-lab:cn0535:setup_block_diagram2.png |}} 
- +Note: For SDP-K1 Rev E and Below, a 6V wall-wart power is needed on P15. 
-{{ :resources:eval:user-guides:circuits-from-the-lab:cn0535:setup_block_diagram.png |}}+
 ===== Software Setup ===== ===== Software Setup =====
-==== Programming the SDP-K1 ==== 
  
-Following are the steps then required to be completed to set up the [[adi>CN0535|EVAL-CN0535-FMCZ Evaluation Board]] using the **SDP-K1**: 
- 
-  - Download the [[adi>en/design-center/evaluation-hardware-and-software/evaluation-boards-kits/sdp-k1.html#eb-relatedsoftware|SDP USB Drivers]] and run the .exe file. Follow the instructions on the window that appears to install the drives. {{ :resources:eval:user-guides:circuits-from-the-lab:cn0540:sdp-k1_download.png?direct |}} 
-  - Plug the USB cables from the PC into the **SDP-K1**. If installation was successful a new device named SDP-K1 should appear under 'This PC' in Windows File Explorer. {{ :resources:eval:user-guides:circuits-from-the-lab:cn0540:cn0540_sdp-k1pc.png?direct |}} 
-  - Download the AD7768_mbedos.SDP_K1.bin firmware. 
-  - Copy and paste or drag and drop the AD7768_mbedos.SDP_K1.bin file into the SDP-K1 device/folder. This will load the firmware onto the board. 
-  - If the download fails, a FAIL.TXT file will appear on the SDP-K1 device. 
-  - If the download is successful the .bin file will disappear from the SDP-K1 device and there will be no FAIL.TXT file.  
-  - Unplug the **SDP-K1 board** from the PC and plug it back in to hard reset the board and finalize installation. 
 ==== Importing the EVAL-CN0535-FMCZ MBED Example program ==== ==== Importing the EVAL-CN0535-FMCZ MBED Example program ====
  
Line 55: Line 44:
   - After having a acount, open the Example program for EVAL-CN0535-FMCZ https://os.mbed.com/teams/AnalogDevices/code/EVAL-CN0535-FMCZ/   - After having a acount, open the Example program for EVAL-CN0535-FMCZ https://os.mbed.com/teams/AnalogDevices/code/EVAL-CN0535-FMCZ/
 {{ :resources:eval:user-guides:circuits-from-the-lab:cn0535:mbed_link.png |}}{{ :resources:eval:user-guides:circuits-from-the-lab:cn0535:mbed_link_2.png |}}{{ :resources:eval:user-guides:circuits-from-the-lab:cn0535:mbed_link_3.png |}} {{ :resources:eval:user-guides:circuits-from-the-lab:cn0535:mbed_link.png |}}{{ :resources:eval:user-guides:circuits-from-the-lab:cn0535:mbed_link_2.png |}}{{ :resources:eval:user-guides:circuits-from-the-lab:cn0535:mbed_link_3.png |}}
 +-
 +
 +
 +
 ==== Connecting to a serial terminal application ==== ==== Connecting to a serial terminal application ====
  
Line 61: Line 54:
   - 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) {{ :resources:eval:user-guides:circuits-from-the-lab:cn0535:device_manager.png?450 |}}   - 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) {{ :resources:eval:user-guides:circuits-from-the-lab:cn0535:device_manager.png?450 |}}
   - 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.{{ :resources:eval:user-guides:circuits-from-the-lab:cn0535:putty1.png |}}{{ :resources:eval:user-guides:circuits-from-the-lab:cn0535:putty2.png |}}   - 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.{{ :resources:eval:user-guides:circuits-from-the-lab:cn0535:putty1.png |}}{{ :resources:eval:user-guides:circuits-from-the-lab:cn0535:putty2.png |}}
-  - 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 current version of the SDP-K1)** {{ :resources:eval:user-guides:circuits-from-the-lab:cn0535:putty_terminal.png |}}+  - 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)** {{ :resources:eval:user-guides:circuits-from-the-lab:cn0535:putty_terminal.png |}}
   - 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.   - 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.
  
Line 69: Line 62:
  
 ^     ^ Command                        ^ Description                                                                ^ ^     ^ Command                        ^ Description                                                                ^
-| 1.  | Set power mode                 | Change the power mode of the [[ADI>AD7768-1|AD7768-1]]. 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.                                | 
- 
  
 +| 1.  | Set LTC6373 PGIA Gain/Mode          | Change the [[ADI>LTC6373|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  [[ADI>ADA4945|ADA4945]] Power Mode to:Full Power Mode or Low Power Mode .|
 +| 3.  | Set AD7768-1 power mode             | Change the [[ADI>AD7768-1|AD7768-1]] to Low, Median or Fast. Low power mode is recommended.|
 +| 4.  | Set AD7768-1 MCLK clock divider     | Change the [[ADI>AD7768-1|AD7768-1]] clock divider to: /16, /8, /4 or /2. /16 is recommended.|
 +| 5.  | Set AD7768-1 filter type            | Change the [[ADI>AD7768-1|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 [[ADI>AD7768-1|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 [[ADI>AD7768-1|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 [[ADI>AD7768-1|AD7768-1]] VCM output voltage, recommended is (AVDD1 – AVSS)/2.|
 +| 9.  | Set AD7768-1 data output mode       | Set the [[ADI>AD7768-1|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 [[ADI>AD7768-1|AD7768-1]] Gain and Offset register.|
 +| 12. | Read AD7768-1 master status         | Shows faults in [[ADI>AD7768-1|AD7768-1]] master status register, allowing the user to pinpoint the source of problems.|
 +| 13. | Read AD7768-1 desired register      | Reads desire [[ADI>AD7768-1|AD7768-1]] register.|
 +| 14. | Read AD7768-1 data register         | Reads [[ADI>AD7768-1|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// //End of Document//
resources/eval/user-guides/circuits-from-the-lab/cn0535/sdp-k1.1623656453.txt.gz · Last modified: 14 Jun 2021 09:40 by John Neeko Garlitos