Search found 13 matches

by Aidan_OSullivan
Wed Jun 26, 2019 9:21 am
Forum: Flowcode V8
Topic: Issues with reading an analogue voltage signal
Replies: 5
Views: 3345

Re: Issues with reading an analogue voltage signal

We have now successfully managed to read an analogue signal from the power supply. We are then routing this from the ADC to the DAC in our SPI master board (EB013). The output from the DAC is coming out as approximately half of our input voltage. The output of the DAC is an open circuit so no divide...
by Aidan_OSullivan
Tue Jun 25, 2019 9:09 am
Forum: Flowcode V8
Topic: Issues with reading an analogue voltage signal
Replies: 5
Views: 3345

Re: Issues with reading an analogue voltage signal

Mi Martin, I have attached the file using C code to read the analogue signal. If that method isn't possible I am wondering if there is any way to use a component macro such as the 'IO_ReadAnalogasByte' that is available to read the analogue signal from either the LDR or POT that could read the analo...
by Aidan_OSullivan
Mon Jun 24, 2019 3:23 pm
Forum: Flowcode V8
Topic: Issues with reading an analogue voltage signal
Replies: 5
Views: 3345

Issues with reading an analogue voltage signal

We have been attempting to a read an anlogue input from a power supply to our BL0011 board. We are using the analogue pin E0. When we try to display this on our LCD screen it is coming up as either active low or active high depending on the input voltage. We would like to display the voltage as an a...
by Aidan_OSullivan
Thu Jun 20, 2019 3:56 pm
Forum: Flowcode V8
Topic: Issues producing a DAC output on EB013
Replies: 1
Views: 1554

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 har...
by Aidan_OSullivan
Thu Jun 20, 2019 12:37 pm
Forum: Flowcode V8
Topic: Issues producing a DAC output on EB013
Replies: 1
Views: 1554

Issues producing a DAC output on EB013

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...
by Aidan_OSullivan
Thu Jun 13, 2019 12:25 pm
Forum: Flowcode V8
Topic: Beginner using an EB013 board
Replies: 9
Views: 5113

Re: Beginner using an EB013 board

When I run my program and measure the voltage across the output of the DAC it is coming up as 0V. I think this may be due to the pins that the SPI is assigned to in properties. I have been following the schematic and trying to connect it to appropriate pins on port C. Can you see an issue with how i...
by Aidan_OSullivan
Wed Jun 12, 2019 12:53 pm
Forum: Flowcode V8
Topic: Beginner using an EB013 board
Replies: 9
Views: 5113

Re: Beginner using an EB013 board

The program worked with the simulator and performed the desired function. When attempting to compile the program to the hardware (BL0011& EB013) I am experiencing problems.
by Aidan_OSullivan
Wed Jun 12, 2019 9:00 am
Forum: Flowcode V8
Topic: Beginner using an EB013 board
Replies: 9
Views: 5113

Re: Beginner using an EB013 board

That works, thanks very much for your assistance Ben!
by Aidan_OSullivan
Tue Jun 11, 2019 12:52 pm
Forum: Flowcode V8
Topic: Beginner using an EB013 board
Replies: 9
Views: 5113

Re: Beginner using an EB013 board

That attachment was very helpful and made many of my questions clear. I added an LED screen to allow me to see the voltage, to ensure the program was working which can be seen in the attached file. It wasn't displaying the voltage however. I'm not sure is that a problem with the LED screen or is due...
by Aidan_OSullivan
Tue Jun 11, 2019 11:16 am
Forum: Flowcode V8
Topic: Beginner using an EB013 board
Replies: 9
Views: 5113

Re: Beginner using an EB013 board

Hi Ben, thanks for your reply. The only example I have been able to find in relation to using a DAC is the DSP audio solution program 1. This exercise uses more complicated components such as buffers. As I am a beginner I just want to be able to write to a DAC from the MCU in the BL0032 kit and prod...
by Aidan_OSullivan
Mon Jun 10, 2019 3:15 pm
Forum: Flowcode V8
Topic: Beginner using an EB013 board
Replies: 9
Views: 5113

Beginner using an EB013 board

I have recently began trying to learn how to write to a DAC on the EB013 board from a BL0032 kit. Is it possible to produce an simple (say 1V) analogue signal using this component alone or does it have to be used with the DSP output component. If so could anybody provide instructions on this?
by Aidan_OSullivan
Mon Jun 10, 2019 11:11 am
Forum: Flowcode V8
Topic: Audio DSP solution manual query
Replies: 3
Views: 2353

Re: Audio DSP solution manual query

Hi Leigh, Thanks for your reply it has been very helpful. Unfortunately however I am having issues opening the 'Write_DAC' and 'Read_ADC' files, as .fcm files can't be opened from Flowcode. To solve this problem I changed the format of the files to .fcfx from properties in file explorer after downlo...
by Aidan_OSullivan
Wed Jun 05, 2019 11:42 am
Forum: Flowcode V8
Topic: Audio DSP solution manual query
Replies: 3
Views: 2353

Audio DSP solution manual query

I have been attempting to simulate program 1 on the Audio DSP solution manual and ran into a few problems, Could anybody answer a few of these issues. On the ‘SPI_Init’ macro there is a component called SPI Legacy which I cannot find in the component list on Flowcode. In addition the flow block char...