Hello,
A question on a totally different topic. (sorry not sure how to start a new topic string)
I have the version 3 development board, and I want to test the audio jack output.
Or more specifically understand it's usage. I am considering buying the separate DAC/SPI E-block, which of course had additional features I know, but... ($$$$)
The datasheet for the (ver 3) board mentions the audio jack can be used "for tone generation", can a tone be sent to the A0 output? If so, how?
Thanks, Rob
Dev Board Audio Jack
- Benj
- Matrix Staff
- Posts: 15312
- Joined: Mon Oct 16, 2006 10:48 am
- Location: Matrix TS Ltd
- Has thanked: 4803 times
- Been thanked: 4314 times
- Contact:
Re: Dev Board Audio Jack
Hello Rob
New topics are created by going to the area you wish to post in and clicking the "new topic" button.
The audio connector on the V3 dev board is connected to pin A0. You can generate a square wave tone by outputting alternating logic levels on the pin. The delay between the pin toggling controls the frequency of the audio.
eg to output a 100hz tone simply delay for 1 / 100 = 10ms / 2.
loop
{
output 1
wait 5ms
output 0
wait 5ms
}
New topics are created by going to the area you wish to post in and clicking the "new topic" button.
The audio connector on the V3 dev board is connected to pin A0. You can generate a square wave tone by outputting alternating logic levels on the pin. The delay between the pin toggling controls the frequency of the audio.
eg to output a 100hz tone simply delay for 1 / 100 = 10ms / 2.
loop
{
output 1
wait 5ms
output 0
wait 5ms
}
Regards Ben Rowland - MatrixTSL
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Flowcode Product Page - Flowcode Help Wiki - Flowcode Examples - Flowcode Blog - Flowcode Course - My YouTube Channel
Re: Dev Board Audio Jack
Hello,
I'm trying out the "record" project from the van Dam book.
I believe I have it working...well sort of. (using the SPI/DAC board) EB-13 I believe)
I don't have a microphone so I'm inputting a simple sign wave.
I can record(?) and playback the tone (coming from a func. generator) however if I disconnect the func. generator the playback will stop, after a second or so.
I expected the recorded tone to be stored in memory, so why does the tone stop? Also, I cannot playback the tone w/o the tone input connected.
Thanks, Rob
I'm trying out the "record" project from the van Dam book.
I believe I have it working...well sort of. (using the SPI/DAC board) EB-13 I believe)
I don't have a microphone so I'm inputting a simple sign wave.
I can record(?) and playback the tone (coming from a func. generator) however if I disconnect the func. generator the playback will stop, after a second or so.
I expected the recorded tone to be stored in memory, so why does the tone stop? Also, I cannot playback the tone w/o the tone input connected.
Thanks, Rob