Keyboard Shortcuts
Likes
- SoftwareControlledHamRadio
- Messages
Search
Re: Codec & ADC's
So in the Teensy library you can do connect/disconnect.? But to do that, you have to use the name of the connection.? That's painful if you rearrange things and are forced to rename the connections.
Open Audio is reliant on begin() and end() functions.? I find that easier to deal with.? However, due to some possible issues, I'm having to use switches on the input of some device types.
I'm switching to an unused port when a particular object needs to become inactive.? This is a work in progress and I'm still not sure what is happening.
?
--
73 Greg KF5N |
Re: Codec & ADC's
As long as you stay within the OpenAudio library.? However, that library has some limitations.? For example, the AudioConnection_F32 class doesn't have a disconnect method and the connect method is protected.? I don't think that works with your version (mine either at this point).
?
I also see that the 2-channel objects are doing 16-bit transfers as well.? I recompiled the library with 32-bit transfers defined but got distorted output.? Perhaps I'm doing something wrong, or maybe this isn't operational yet.? I'm scratching my head now, since my goal here was to get 24-bits from/to the ADC/DAC.? I was hoping that if 32-bit transfers worked for two channels, going to four channels would be straightforward. |
Re: Codec & ADC's
On Sat, May 3, 2025 at 08:24 PM, Bob Larkin wrote:
Terrance, I believe you are correct, it is straightforward.Porting the I16 quad I2S objects over to the OpenAudio library wasn't too hard if you ignore the configuration change needed for I32 input and output.? Here is the output from a PassThroughQuad_F32 sketch using two new objects, AudioInputI2SQuad_F32 and AudioOutputI2SQuad_F32, with input into channels 1-4 at 1kHz, 2kHz, 3kHz and 4kHz respectively. ?
?
Getting 32-bit integer input and output requires digging into the processor manual to get the DMA configuration correct.? I'm hoping that the I16 version provides all of the hints I need but know from experience that there are often little gotchas when making these low-level changes.
? |
Boards and Kits to the UK/EU
¿ªÔÆÌåÓýI shipped the UK/EU T41 V12 /K9HZ /K9HZ+KI3P boards and kits order to Andy Rutter today for sales and distribution in that region.?? Thanks Andy!? And I really appreciate everyone¡¯s patients with me in solving the shipping issues in crazy times.? The tracking says the package should arrive in 4 days.? Please take it easy on Andy over there as I know what it¡¯s like when boards and kits are announced for sale¡? The emails never stop! ? ? Dr. William J. Schmidt - K9HZ J62K(J68HZ) 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ VP2EHZ ? Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois ? Owner ¨C Operator Villa Grand Piton ¨C J68HZ Soufriere, St. Lucia W.I. Rent it: ? Moderator: North American QRO Group at Groups.IO. Moderator: Amateur Radio Builders Group at Groups.IO. ? email:? bill@... ? ? |
Re: BPF and Teensy Problem
¿ªÔÆÌåÓýYeah I did that too¡ was because my eyes are not that good anymore¡ ? ? Dr. William J. Schmidt - K9HZ J62K(J68HZ) 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ VP2EHZ ? Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois ? Owner ¨C Operator Villa Grand Piton ¨C J68HZ Soufriere, St. Lucia W.I. Rent it: ? Moderator: North American QRO Group at Groups.IO. Moderator: Amateur Radio Builders Group at Groups.IO. ? email:? bill@... ? ? From: [email protected] <[email protected]> On Behalf Of Tom Schulte via groups.io
Sent: Tuesday, May 6, 2025 4:22 PM To: [email protected] Subject: Re: [SoftwareControlledHamRadio] BPF and Teensy Problem ? Well I got my problem fixed. Watch the cable connections on the IDC . What I thought was pin 1 was not, check the boards. Made correct cable and it works. ? Tom AB9EK |
Re: BPF and Teensy Problem
¿ªÔÆÌåÓýLooks good¡ ? ? Dr. William J. Schmidt - K9HZ J62K(J68HZ) 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ VP2EHZ ? Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois ? Owner ¨C Operator Villa Grand Piton ¨C J68HZ Soufriere, St. Lucia W.I. Rent it: ? Moderator: North American QRO Group at Groups.IO. Moderator: Amateur Radio Builders Group at Groups.IO. ? email:? bill@... ? ? From: [email protected] <[email protected]> On Behalf Of Tim via groups.io
Sent: Tuesday, May 6, 2025 1:24 PM To: [email protected] Subject: Re: [SoftwareControlledHamRadio] BPF and Teensy Problem ? [Edited Message Follows] also try quality stuff, nice OM also? Tim W4YN ? He also has some cool Teensy STUFF!? |
Re: BPF and Teensy Problem
I see he sells header pins with different colors. I find these really handy for identifying test points on a board (e.g., red for voltage TPs, yellow for general purpose TP's, etc.) Jack, W8TEE
On Tuesday, May 6, 2025 at 02:23:43 PM EDT, Tim via groups.io <w4yn@...> wrote:
[Edited Message Follows] also try
quality stuff, nice OM also?
Tim W4YN
?
He also has some cool Teensy STUFF!?
![]() -- Jack, W8TEE |
Re: BPF and Teensy Problem
¿ªÔÆÌåÓýThat¡¯s not bad¡ about $0.14 per stick. ? ? Dr. William J. Schmidt - K9HZ J62K(J68HZ) 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ VP2EHZ ? Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois ? Owner ¨C Operator Villa Grand Piton ¨C J68HZ Soufriere, St. Lucia W.I. Rent it: ? Moderator: North American QRO Group at Groups.IO. Moderator: Amateur Radio Builders Group at Groups.IO. ? email:? bill@... ? ? From: [email protected] <[email protected]> On Behalf Of Dan Quigg via groups.io
Sent: Tuesday, May 6, 2025 11:58 AM To: [email protected] Subject: Re: [SoftwareControlledHamRadio] BPF and Teensy Problem ? It took me 3 tries to get these. ? ? There's probably a better price for a bigger quantity, too. ? Good luck 73 |
Re: BPF and Teensy Problem
¿ªÔÆÌåÓýHi Tom, sorry for the troubles.? Several people have reported trouble with the Chinese pins not making contact because the quality control is poor.? That is a great place to start.? Also check the cables closely to make sure they are built correctly.? Even I made a couple of mistakes while building the cables getting them inverted or off by one pin at times (the privilege of getting old).? ? ? When I return from Hamvention, I¡¯ll see if I can find a cheap source for prime pins¡ and carry them too. ? ? Dr. William J. Schmidt - K9HZ J62K(J68HZ) 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ VP2EHZ ? Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois ? Owner ¨C Operator Villa Grand Piton ¨C J68HZ Soufriere, St. Lucia W.I. Rent it: ? Moderator: North American QRO Group at Groups.IO. Moderator: Amateur Radio Builders Group at Groups.IO. ? email:? bill@... ? ? From: [email protected] <[email protected]> On Behalf Of Tom Schulte via groups.io
Sent: Tuesday, May 6, 2025 6:56 AM To: [email protected] Subject: [SoftwareControlledHamRadio] BPF and Teensy Problem ? ? ?I put together the BPF board, only three bands, powered up and had no connection between the teensy and computer. Disconnected the board and had connection with computer. Replaced teensy, now on fifth one, put back together and had connection. Teensy can not find the BPF board.? ? ? ? Where or what should be looking for? ? ? Tom AB9EK |
Re: BPF and Teensy Problem
Tom
I think this has been mentioned, some of the import headers have pins that a not the right dimension, the pins should be almost square.
I went thru several Teensy's also before discovering the issue.?
I can go back and find the vendor that sold me correct headers, once I changed headers all my issues with audio hat and Teensy disappeared.
The Chinese header pins are stamped out of a very thin material and the pins don't make good contact.
I would assume headers from DigiKey and Mouser would also be quality products.
Tim W4YN
? |
BPF and Teensy Problem
? ?I put together the BPF board, only three bands, powered up and had no connection between the teensy and computer. Disconnected the board and had connection with computer. Replaced teensy, now on fifth one, put back together and had connection. Teensy can not find the BPF board.?
I checked and rechecked the solder connections still nothing.? ?
? ? Where or what should be looking for?
?
?
Tom AB9EK |
Re: Encoder board differences
¿ªÔÆÌåÓýYes.? You simply daisy-chain another set of front panel boards on the cable from the MAIN board.? The additional front panel board sets must have a unique address (different from the one you currently have installed). ? I have two additional FP electronic boards attached (I did not populate the button parts¡ just the encoder parts) so have 4 additional dual encoders connected.? It could be a mix of up to 8 single encoders, but I wanted to prove that I could use the dual encoders for things that are stored by button access are normally on an encoder in other radios (like RF gain or power, filter width, etc.). ? ? Dr. William J. Schmidt - K9HZ J62K(J68HZ) 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ VP2EHZ ? Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois ? Owner ¨C Operator Villa Grand Piton ¨C J68HZ Soufriere, St. Lucia W.I. Rent it: ? Moderator: North American QRO Group at Groups.IO. Moderator: Amateur Radio Builders Group at Groups.IO. ? email:? bill@... ? ? From: [email protected] <[email protected]> On Behalf Of Tom - AJ8X via groups.io
Sent: Monday, May 5, 2025 8:48 AM To: [email protected] Subject: Re: [SoftwareControlledHamRadio] Encoder board differences ? So you simply daisy chain them to the Main board on the Front Panel ribbon cable? |