¿ªÔÆÌåÓý

ctrl + shift + ? for shortcuts
© 2025 Groups.io

Re: TestMain.ico compile issues

 

¿ªÔÆÌåÓý

The test software and the actual SDT software use the same libraries.

?

?

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 K9HZ
Sent: Saturday, May 10, 2025 10:53 PM
To: [email protected]
Subject: Re: [SoftwareControlledHamRadio] TestMain.ico compile issues

?

John, the right libraries are given here:?

?

Scroll down and just follow the instructions¡­

?

?

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 John Owens K1JO via groups.io
Sent: Saturday, May 10, 2025 9:54 PM
To: [email protected]
Subject: [SoftwareControlledHamRadio] TestMain.ico compile issues

?

I'm trying to run the TestMain code in MainBoardTestCodeAndDoc. I got a compile error as it was looking for Adafruit_MCP23X17. I installed that and now get another error from line 30 #include "si5351.h", so I installed the Adafruit Si5351 Library (version 1.4.2), but when I went to compile again it gave the same error. I see there are several other si5351 libraries, i.e. Adafruit, Etherkit Si5351,? and PU2REO Si5351 ArduinoLite. Not sure if I should install one of those instead, and if so should I uninstall the Adafruit one?
Compilation error: si5351.h: No such file or directory


Re: TestMain.ico compile issues

 

¿ªÔÆÌåÓý

John, the right libraries are given here:?

?

Scroll down and just follow the instructions¡­

?

?

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 John Owens K1JO via groups.io
Sent: Saturday, May 10, 2025 9:54 PM
To: [email protected]
Subject: [SoftwareControlledHamRadio] TestMain.ico compile issues

?

I'm trying to run the TestMain code in MainBoardTestCodeAndDoc. I got a compile error as it was looking for Adafruit_MCP23X17. I installed that and now get another error from line 30 #include "si5351.h", so I installed the Adafruit Si5351 Library (version 1.4.2), but when I went to compile again it gave the same error. I see there are several other si5351 libraries, i.e. Adafruit, Etherkit Si5351,? and PU2REO Si5351 ArduinoLite. Not sure if I should install one of those instead, and if so should I uninstall the Adafruit one?
Compilation error: si5351.h: No such file or directory


Re: BuyDisplay (EastRising) Display ER-TFTM070-5V4 connections

 

¿ªÔÆÌåÓý

Here is my connection on the same display¡­

?

?

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 John Owens K1JO via groups.io
Sent: Saturday, May 10, 2025 8:15 PM
To: [email protected]
Subject: Re: [SoftwareControlledHamRadio] BuyDisplay (EastRising) Display ER-TFTM070-5V4 connections

?


Re: TestMain.ico compile issues

 

oOops. Spoke too soon: I see there are links to the required libraries:
#include "si5351.h"
//#include <si5351.h> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? // https://github.com/etherkit/Si5351Arduino
#include <RA8875.h> ?// https://github.com/mjs513/RA8875/tree/RA8875_t4
#include <Rotary.h> ?// https://github.com/brianlow/Rotary
?


Re: TestMain.ico compile issues

 

Hi John, you need to install the Etherkit Si5351.
?
--
73 Greg KF5N


TestMain.ico compile issues

 

I'm trying to run the TestMain code in MainBoardTestCodeAndDoc. I got a compile error as it was looking for Adafruit_MCP23X17. I installed that and now get another error from line 30 #include "si5351.h", so I installed the Adafruit Si5351 Library (version 1.4.2), but when I went to compile again it gave the same error. I see there are several other si5351 libraries, i.e. Adafruit, Etherkit Si5351,? and PU2REO Si5351 ArduinoLite. Not sure if I should install one of those instead, and if so should I uninstall the Adafruit one?
Compilation error: si5351.h: No such file or directory


Re: BuyDisplay (EastRising) Display ER-TFTM070-5V4 connections

 

Thanks Bill. Yeah, I just cut off pins 11 and 12 so that a 10 pin connector will fit.
It looks like the T-41 display pinout is a mirror image of what it needs on the Display, so I think I can wire the cable normally but then plug in pin 1-2 of the cable into 9-10 of the display (both unused)
I'll double check, to make sure I'm not thinking crazy.


Re: BuyDisplay (EastRising) Display ER-TFTM070-5V4 connections

 

¿ªÔÆÌåÓý

That is¡­. Check the pins wired on each end to make SURE they match¡­

?

?

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 K9HZ
Sent: Saturday, May 10, 2025 8:30 PM
To: [email protected]
Subject: Re: [SoftwareControlledHamRadio] BuyDisplay (EastRising) Display ER-TFTM070-5V4 connections

?

The correct connector to use for interface is the 40 PIN connector.?? I cut pins 11 and 12 off the connector and then a 10 pin header fits on the first 10 pins of the 40 pins perfectly.? Make sure you wire them properly to match the display connector or you will blow out the RA 8875 Controller chip on the display board.

?

?

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 John Owens K1JO via groups.io
Sent: Saturday, May 10, 2025 8:19 PM
To: [email protected]
Subject: [SoftwareControlledHamRadio] BuyDisplay (EastRising) Display ER-TFTM070-5V4 connections

?

[Edited Message Follows]

I've been wrestling with the datasheet for this 7" display. I checked all the jumpers and it is configured as 4-wire serial.
It seems like there is a typo in the datasheet, as they have two J2 connectors, one with 10 pins and the other with 40 pins (labeled Parallel/Serial Interface and CTP (capacitive touch panel) interface.
I want to double check if my assumptions are correct in the following connections to the display:

Use only the first 8 pins of the 40 pin connector
Pin Number (J2 AKA J3 on the device)
1 and 2 VSSGroundGND
3 and 4 VDDPower SupplyVCC
5 /SCS Serial Mode Chip Select (/CS), Low activeC/S
6 SDO 4-wire SPI Data Output (MISO)MISO
7 SDI 4-wire SPI Data Input (MOSI)MOSI
8 SCLK SPI Clock (SCLK)SCLK

I've attached the datasheet.
Thanks for you help.


Re: BuyDisplay (EastRising) Display ER-TFTM070-5V4 connections

 

¿ªÔÆÌåÓý

The correct connector to use for interface is the 40 PIN connector.?? I cut pins 11 and 12 off the connector and then a 10 pin header fits on the first 10 pins of the 40 pins perfectly.? Make sure you wire them properly to match the display connector or you will blow out the RA 8875 Controller chip on the display board.

?

?

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 John Owens K1JO via groups.io
Sent: Saturday, May 10, 2025 8:19 PM
To: [email protected]
Subject: [SoftwareControlledHamRadio] BuyDisplay (EastRising) Display ER-TFTM070-5V4 connections

?

[Edited Message Follows]

I've been wrestling with the datasheet for this 7" display. I checked all the jumpers and it is configured as 4-wire serial.
It seems like there is a typo in the datasheet, as they have two J2 connectors, one with 10 pins and the other with 40 pins (labeled Parallel/Serial Interface and CTP (capacitive touch panel) interface.
I want to double check if my assumptions are correct in the following connections to the display:

Use only the first 8 pins of the 40 pin connector
Pin Number (J2 AKA J3 on the device)
1 and 2 VSSGroundGND
3 and 4 VDDPower SupplyVCC
5 /SCS Serial Mode Chip Select (/CS), Low activeC/S
6 SDO 4-wire SPI Data Output (MISO)MISO
7 SDI 4-wire SPI Data Input (MOSI)MOSI
8 SCLK SPI Clock (SCLK)SCLK

I've attached the datasheet.
Thanks for you help.


Re: BuyDisplay (EastRising) Display ER-TFTM070-5V4 connections

 


BuyDisplay (EastRising) Display ER-TFTM070-5V4 connections

 
Edited

I've been wrestling with the datasheet for this 7" display. I checked all the jumpers and it is configured as 4-wire serial.
It seems like there is a typo in the datasheet, as they have two J2 connectors, one with 10 pins and the other with 40 pins (labeled Parallel/Serial Interface and CTP (capacitive touch panel) interface.
I want to double check if my assumptions are correct in the following connections to the display:
Use only the first 8 pins of the 40 pin connector
Pin Number (J2 AKA J3 on the device)
1 and 2 VSSGroundGND
3 and 4 VDDPower SupplyVCC
5 /SCS Serial Mode Chip Select (/CS), Low activeC/S
6 SDO 4-wire SPI Data Output (MISO)MISO
7 SDI 4-wire SPI Data Input (MOSI)MOSI
8 SCLK SPI Clock (SCLK)SCLK

I've attached the datasheet.
Thanks for you help.


Re: Initial Test of Main V12.6 board

 

¿ªÔÆÌåÓý

Ah yes, the old switcher-roo¡­everyone does that.? At least you didn¡¯t plug the teensy backwards like I did on one of my 4 T41¡¯s¡­

?

?

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 John Owens K1JO via groups.io
Sent: Saturday, May 10, 2025 11:31 AM
To: [email protected]
Subject: Re: [SoftwareControlledHamRadio] Initial Test of Main V12.6 board

?

Embarrassed grin... I soldered the Audio Adapter board on reversed.
Good news, so far, is that it now recognizes WIRE at 0x0A on both boards. Hopefully, I didn't fry anything.

John K1JO?


Re: Initial Test of Main V12.6 board

 

Embarrassed grin... I soldered the Audio Adapter board on reversed.
Good news, so far, is that it now recognizes WIRE at 0x0A on both boards. Hopefully, I didn't fry anything.
John K1JO?


Re: Codec & ADC's

 

Interesting.? The Tympan library is still converting from/to I16.? Its quad object looks similar to mine.


Re: Codec & ADC's

 

I think the 2-channel works up to 32-bits without that "#define I2S_BUFFER_TO_USE_BYTES(...) ".??? That define? may be old code that got left behind, I'm not sure.?? Looking at the begin() for the I2S in it seems to address getting 32 bits per sample. I confess to not looking up the? hardware settings. ?? But, when I put in the PCM1808 to the unmodified code, it gives 24-bit data (see the histogram in my Codec study).? So, far, I'm just looking at the 2-channel.?


Re: Codec & ADC's

 

I tried the 2-channel Open Audio I2S objects as 32-bit but the output was distorted.? I might be missing something, but it appears to need more than just changing a define.? I found the Tympan library yesterday, but those are similar to the Open Audio library, set to 16-bit data.? I didn't notice anything different about the quad-channel object to indicate any other work had been done, so I don't think they'll be of help here.


Re: Codec & ADC's

 

Hi Greg and Terrance -? I'm catching up on this.? And, not looking at the begin() end() issue, but just at the Quad I/O in F32.? I'm reading as I get time today, but here are a couple of thoughts.
?
* I believe the 2-channel handles any number of I2S bits up to 32.
?
*I just looked at
?and he has 2, 4, 6, and 8 channel F32 I2S.? Knowing Chip, these are probably clean, and we may be able to save time and testing by just moving these over.?? Chip is the owner and creator of the OpenAudio_ArduinoLibrary.? The Tympan is the same thing with an emphasis on Hearing Aid technology.
?
More later, but I wanted to get this note out.? Bob? W7PUA


Re: Codec & ADC's

 

As we know the documentation is a bit sparse.? You can get some of the designer's intent from looking at the examples.? I guess I need to go back and look at more of them.
Beyond that and simply trying things out, it's a mystery.
?
--
73 Greg KF5N


Re: Codec & ADC's

 

I couldn't find the source, but I thought I read that the intent of the begin and end functions was to provide a quick, efficient way to start/stop the data flow.? The processing of the data, however, continued in the background.? The disconnect function had to be used to stop the processing.? Also, not many objects have a begin method and some that do, don't have an end method.
?
I want to examine how the intermediate objects in a long string of object behave when the lead object is stopped or disconnected.? My guess is that many continue doing something in either case.? Looking at this is on my to do list, but I've whittled down my audio configuration to such a minimum that it isn't an issue right now.


Re: Codec & ADC's

 

It would seem that the interface should be consistent, where applicable, to all of the objects.? So that means any sort of complex data consuming function should have a begin() and end() function.
An alternative would be that any data producing object should have begin() and end() functions, with the assumption that any consumer of data automatically goes into an idle state if the data stream ceases.
That could be how it was intended to be, but I have written code that breaks it.? The investigation continues.
?
--
73 Greg KF5N