We have successfully read a voltage from the on-board potentiometer on the BL0114, stored the value in a variable 'x', and printed it to the LCD screen. We are now trying to send the variable 'x' to the DAC on the EB013 board and check that the output corresponds to the voltage we are measuring from the potentiometer.
When measuring the voltage entering the DAC it does not match the voltage being measured from the potentiometer. We have also been unable to produce an output from the DAC even when manually pulling the Enable pin low.
We are using the default DAC EN and NVM EN jumper pins on J5 and using Section B on J4 for SDO, SDI & SCK selection.
The port connections can be seen in Properties.PNG, the Hardware Setup can be seen in Hardware Setup.jpg, and the program file is also attached.
We believe our problem has something to do with assigning the correct pins in the program file and we are unsure about the difference between the software and channel SPI connections in the properties window.
Any help would be greatly appreciated!
Issues producing a DAC output on EB013
Moderator: Benj
-
- Posts: 13
- Joined: Wed Jun 05, 2019 9:57 am
- Has thanked: 7 times
- Been thanked: 2 times
Issues producing a DAC output on EB013
- Attachments
-
- Properties.PNG
- (61 KiB) Downloaded 588 times
-
- Hardware Setup.jpg (197.44 KiB) Viewed 1553 times
-
- DAC Output WIP.fcfx
- (18.15 KiB) Downloaded 156 times
-
- Posts: 13
- Joined: Wed Jun 05, 2019 9:57 am
- Has thanked: 7 times
- Been thanked: 2 times
Re: Issues producing a DAC output on EB013
Update: We successfully managed to output a voltage from the DAC. To achieve this we wired the patch system (Section C or J6) on the EB013 instead of using J4, as in our previous attempt. We then assigned NVM EN, DAC EN, SDO, SDI and SCK pins in the software to match the wired connections in the hardware.
- Attachments
-
- Properties_Finaldraft.PNG
- (86.5 KiB) Downloaded 575 times