-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathbuild_info.txt
37 lines (22 loc) · 2.58 KB
/
build_info.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
Building and testing the PSN-ADC24 board.
1. Solder the parts onto the board. Use a socket for the dsPIC30F3014 microcontroller. You will need to deal with 5 SMD parts, the 4 ADC chips and the USB interface IC. A bill of materials can be found in the BOM folder.
2. Before placing the dsPIC30F3014 into the socket you will need to flash the bootloader onto the chip. This is done with a programmer that can flash 40-pin dsPIC30F3014 parts. I use one made by ME Labs, Inc. I have their older serial version but their U2 USB Programmer should work. The file to flash is sdr24boot.hex that can be found in hexfiles folder.
3. Once you have the bootloader loaded onto the CPU you can place it into the 40-pin socket and power up the board. You will need a 7VDC to 20VDC power supply. A 12VDC power supply with 500ma or more current is perfect to run the board.
4. Set the 6 position switch to the following:
SW1 = OFF and SW2 = ON - This will set the baud rate to 38.4k
SW3 = OFF - This switch is not used
SW4 = ON - This must be on so the host computer can reset the board.
SW5 = ON and SW6 = OFF - USB Interface Mode
or
SW5 = OFF and SW6 = ON - RS-232 Interface Mode
Note: SW5 and SW6 can not be both on at the same time!
5. When you apply power for the first time the LED should come on. This indicates that the microcontroller is running and ready to receive the firmware.
6. Use the DspBoot.exe program, this can be found in the hexfiles folder, to flash the firmware onto the dsPIC CPU. You will need to run the DspBoot program using a command line window. Make sure that you have SW5 and SW6 set to the correct positions depending on if you will be using the USB or RS-232 interface. This file Sdr24AdcV25.hex is the current firmware for the board. The DspBoot program only needs three input parameters, -p, the port number and the firmware file.
Example: DspBoot -p 1 Sdr24AdcV25.hex
7. If the flashing of the firmware worked correctly the LED should start to blink after DspBoot toggles the reset line.
8. Before running the board you should set the crystal oscillator to 4.915200MHz +- a few Hz. This should be done with an accurate frequency counter. Use the 4.9 TP test point located near the 74HC14 U10 chip to monitor the frequency and adjust the variable capacitor C46 to the correct frequency.
The board should now be ready to use with WinSDR or my PsnAdSend earthworm module.
If you have any questions please use the PSNList Google group at
https://groups.google.com/g/psnlist for support.
Good luck,
-Larry Cochrane