Where is the data?

MarkTheHam

New member
Hey yall',
Don't want to waste any expert's time, but I'm new at this HW/SW development. I've built a software defined ham radio (T41) using a Teensy 4.1 and a rev D audio hat. The SW is open source, and the groups support has been fantastic. But someone developed the audio I/O code, I think using the design tool, and it's not clear to some of the people on the forum where some of the data is located. And I don't understand the ins and outs of the tool, I'm just trying to solve a simple problem. I'm using the mic input and line output, and I'm looking for the digital mic data. It looks like the images that come up when I hover over an input type show Line input. So how does the SGTL5000 (or me!) know that I'm using the mic input? And once the mic audio is in and digitized, where is the data? This is what the tool generated when the Arduino code is uploaded. I can work thru the mode select stuff, but I feel like it's not the whole story. Again, I'm just looking for the digital mic data.
Thanks in advance for the help.
Mark
T41 Audio.JPG
 
Firstly the Audio adapter has only one mic channel, no good for SDR. Use both line inputs and both line outputs for quadrature.

There are method calls on the SGTL5000 object for selecting input and setting various gains - you must include that object to use the audio adapter.

The graph above is using quad inputs and outputs, again no use for the audio adapter unless you have two of them, the plain i2s input and i2s output are the ones to use.

Perhaps start with one of the audio example sketches for the Teensy, this will have all the calls you need to use the adapter and setup audio memory etc.
 
Firstly the Audio adapter has only one mic channel, no good for SDR. Use both line inputs and both line outputs for quadrature.

There are method calls on the SGTL5000 object for selecting input and setting various gains - you must include that object to use the audio adapter.

The graph above is using quad inputs and outputs, again no use for the audio adapter unless you have two of them, the plain i2s input and i2s output are the ones to use.

Perhaps start with one of the audio example sketches for the Teensy, this will have all the calls you need to use the adapter and setup audio memory etc.
OK, thanks Mark. I'll check out the audio examples.
Mark
 
Back
Top