This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext 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 Garlitos | resources: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-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. | |
- | 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. | + | {{ : |
- | + | Note: For SDP-K1 Rev E and Below, a 6V wall-wart power is needed on P15. | |
- | {{ : | + | |
===== Software Setup ===== | ===== Software Setup ===== | ||
- | ==== Programming the SDP-K1 ==== | ||
- | Following are the steps then required to be completed to set up the [[adi> | ||
- | |||
- | - Download the [[adi> | ||
- | - 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. {{ : | ||
- | - 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/ | ||
- | - 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:// | - After having a acount, open the Example program for EVAL-CN0535-FMCZ https:// | ||
{{ : | {{ : | ||
+ | - | ||
+ | |||
+ | |||
+ | |||
==== 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) {{ : | - 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) {{ : | ||
- 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.{{ : | - 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.{{ : | ||
- | - 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 | + | - 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 |
- From here, the user should type the number corresponding to their desired choice and press ' | - From here, the user should type the number corresponding to their desired choice and press ' | ||
Line 69: | Line 62: | ||
^ ^ Command | ^ ^ Command | ||
- | | 1. | Set power mode | Change the power mode of the [[ADI> | ||
- | | 2. | Set clock divide | ||
- | | 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 | ||
- | | 5. | Set Default config of the ADC | Resets the ADC configuration to the default. | ||
- | | 6. | Set VCM output | ||
- | | 7. | Read desired register | ||
- | | 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 | ||
- | | 11. | ADC GPIO | Control the ADC GPIOs by reading, writing or changing GPIO settings. | ||
- | | 12. | Read master status | ||
- | | 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 | ||
- | | 19. | Gains, Offsets | ||
- | | 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/ | ||
+ | | 2. | Set ADA4945 FDA Power Mode | Change the [[ADI> | ||
+ | | 3. | Set AD7768-1 power mode | Change the [[ADI> | ||
+ | | 4. | Set AD7768-1 MCLK clock divider | ||
+ | | 5. | Set AD7768-1 filter type | Change the [[ADI> | ||
+ | | 6. | Set AD7768-1 AIN buffers | ||
+ | | 7. | Set AD7768-1 REF buffers | ||
+ | | 8. | Set AD7768-1 VCM output | ||
+ | | 9. | Set AD7768-1 data output mode | Set the [[ADI> | ||
+ | | 10. | Set AD7768-1 diagnostic mode | Change which diagnostic mode is used for the ADC.| | ||
+ | | 11. | Set AD7768-1 Gains and Offsets | ||
+ | | 12. | Read AD7768-1 master status | ||
+ | | 13. | Read AD7768-1 desired register | ||
+ | | 14. | Read 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 | ||
+ | | 20. | Update Vref and MCLK values | ||
//End of Document// | //End of Document// |