Keyboard Shortcuts
Likes
- SoftwareControlledHamRadio
- Messages
Search
Re: RA8875 display problems with T4.x - a visual study
In the T41, there is also crosstalk on the display cable.? In the image below, the shorter ribbon cable does not work.? You need a cable of this type with about half this length to work.? The longer cable has the SPI signals reordered and separated by the ground and power wires.? It does work.? Perhaps it can be longer.? I didn't test that.
?
|
Re: RA8875 display problems with T4.x - a visual study
¿ªÔÆÌåÓýSo we designed those resistors into the V12.6 main board after reading the same posts you read¡ and that is what everyone has today (see the main board schematic out on my github). ?After a lot pf experimentation, i found the ISO7241 driver specifically designed to buffer/drive/isolate the SPI bus. ? You might have a look at it to see if it works for your projects. ?Dr.?William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ ? Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois ? Owner ¨C Operator Villa Grand Piton - J68HZ Soufriere, St. Lucia W.I. Rent it: www.VillaGrandPiton.com email:??bill@... ? On Mar 25, 2025, at 10:01?AM, Mark J Culross <mjculross@...> wrote:
|
RA8875 display problems with T4.x - a visual study
The subject of problems with the SPI interface between the T4.x & RA8875 displays comes up quite often on the Teensy forum.? I would like to point out that the SPI interface is not anything that PJRC has much control over (it's baked into the processor that NXP created).? I'm not defending PJRC, just suggesting that any angst should almost certainly be directed to NXP rather than PJRC. I personally am using an RA8875 display from buydisplay.com in my TeensyMIDIPolySynth (TMPS) project, & my experience with incorporating this display included some significant challenges.? I initially wire-wrapped a prototype of my TMPS & everything worked like a champ.? When I took the design to PCB, I transitioned through multiple (very expensive, with the PCB being 5.5" x 8.5" !!) versions of the PCB (with additional decoupling caps, with additional ground plane, with no ground plane, with two ground planes sandwiching everything else & a very large number of thru-vias stitching them closely together, with shorter SPI signal traces, with orthagonal SPI signal traces, etc.). I was very frustrated until I found a few posts on the Teensy forum suggesting placing small value resistors (50-100ohm) inline with some of the SPI signals.? So, I cut traces on one of my non-working PCBs & patched in some resistors.? Doing so actually resolved my specific display problems.? I determined (thru experimentation & by observing the signals on my o-scope) that 100ohm resistors resulted in the cleanest SPI signals for my particular setup, so that's what the final PCB version for my TMPS successfully includes.? I am using the SPI interface connected to the RA8875 display at native speeds, with no software slowdown.? I have not had any RA8875 display problems of any kind since. To me, this is very counter-intuitive: how could a very sloppy wire-wrapped board work just fine, but a very clean looking PCB not allow the display to work ??? Signal ringing & signal cross-talk were the major contributors to my display failures.? I know that there's some controversy with this "solution" of using inline small value resistors, but, for reference, here's a very recent Teensy forum post that visually shows the difference in the quality of the SPI signals before & after the use of inline small value resistors: For comparison, I'd be interested in testing one of my non-working TMPS PCBs with the K9HZ buffer chip, if that's still an available option. Mark J Culross KD5RXT P.S. As a side note (since the subject of using serial interconnects between processors has also recently been discussed), my TMPS makes use of two Teensy boards: T4.1 runs the display & manages traditional 5-pin DIN serial MIDI, USBmidi, & USBhostMIDI, while a T4.0 manages all of the audio thru a Teensy Audio Adapter.? The two Teensy boards communicate over a shared 500Kbps serial port (settings flow T4.1-to-T4.0, audio/performance status flows T4.0-to-T4.1, & debug info flows both ways).? The device is a 3-voice, multi-waveform, multi-modulator (selectable FM & PM), 12-poly synth, with filtering & envelope control of all generators, where all of the controls are digitally displayed as buttons & sliders on the RA8875 display, switching between & among multiple menu screens, & everything can be adjusted in real time with no degradation of the resulting sound while it is being generated, & no induced delays in the MIDI response.? I am continually impressed with what a beast the T4.x actually is.? MJC |
Re: Oscillations on high bands
In ver 50.0 in SSB and CW modes, TX_BPF_SEL
and TR_BPF_SEL both switch states when PTT or Key engaged In ver 66.4 in CW mode, TX_BPF_SEL
and TR_BPF_SEL both switch states when Key engaged. In SSB mode, only
TX_BPF_SEL
switches state. I am going to sweep the RX and TX paths to try to find blown
MASWSS0179's dave, n3ds On Tue, Mar 25, 2025 at 6:44?AM Oliver KI3P via <oliver=[email protected]> wrote:
|
Re: I/O Weirdness
¿ªÔÆÌåÓýMight consult Al. ?He may have stuck some code back in to work with the legacy V11 LPF. ?I recall there was some discussion of that several months ago. ?Dr.?William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ ? Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois ? Owner ¨C Operator Villa Grand Piton - J68HZ Soufriere, St. Lucia W.I. Rent it: www.VillaGrandPiton.com email:??bill@... ? On Mar 24, 2025, at 7:32?PM, jerry-KF6VB <jerry@...> wrote:
|
Re: boards and kits and stuff
¿ªÔÆÌåÓýSPI on the Teensy today is in fractions of the (600 MHz) clock speed and that can be very high (eg 50 MHZ). ?There is a way to set it in software but i have not experimented with it. ?That certainly has the ability to interfere with some of the operations of the radio. ?Dr.?William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ ? Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois ? Owner ¨C Operator Villa Grand Piton - J68HZ Soufriere, St. Lucia W.I. Rent it: www.VillaGrandPiton.com email:??bill@... ? On Mar 24, 2025, at 9:14?PM, ken WA2MZE <wa2mze@...> wrote:
|
Re: Oscillations on high bands
What is a SWAG? On Tue, Mar 25, 2025 at 9:19?AM Greg KF5N via <greg.electricity=[email protected]> wrote:
|
Re: Oscillations on high bands
¿ªÔÆÌåÓýSince its a SWAG¡ explain why it happens with V69 of the software but not with V50. ?Dr.?William J. Schmidt - K9HZ J68HZ 8P6HK ZF2HZ PJ4/K9HZ VP5/K9HZ PJ2/K9HZ ? Owner - Operator Big Signal Ranch ¨C K9ZC Staunton, Illinois ? Owner ¨C Operator Villa Grand Piton - J68HZ Soufriere, St. Lucia W.I. Rent it: www.VillaGrandPiton.com email:??bill@... ? On Mar 25, 2025, at 9:19?AM, Greg KF5N via groups.io <greg.electricity@...> wrote:
|
Re: Oscillations on high bands
So that would be a reason for the isolation to degrade versus increasing frequency.
Because the module has common ground inductances on the input and output.
Just a SWAG here, it's hard to tell without having a good visualization of the hardware. But it's a common problem with any RF thing which has an input and an output and connectors.
?
--
73 Greg KF5N |
Re: Oscillations on high bands
toggle quoted message
Show quoted text
On Mar 25, 2025, at 8:45?AM, Greg KF5N via groups.io <greg.electricity@...> wrote:
|
Re: Oscillations on high bands
It is here: https://github.com/DRWJSCHMIDT/K9HZ/blob/main/K9HZ_LPF_Module/K9HZ_LPF_V1.00_Schematic_PDFs/K9HZ_LPF-Carrier_Relay_Board_Schematic_V1.00_07-25-24_KiCad.pdf -------- Original Message -------- On 3/25/25 5:59 AM, Greg KF5N via groups.io wrote:
|
Re: Oscillations on high bands
By comparing your final plot (Isolation PA Out to PA In, LPF Cntl SN1, 25 MHz SSB, ver 50.0) to the plot of the same configuration with oscillating software loaded (Isolation PA Out to PA In, LPF Cntl SN1, 25 MHz SSB, ver 66.4), we see that the isolation is different between these two versions even though they have nominally identical configurations. Are you able to probe the control signals on the LPF board to see how they might differ? I did notice that the Ver 66.4 CW isolation (which does not oscillate, IIRC) is identical to the Ver 50.0 SSB isolation (which also does not oscillate). So that is the configuration we should be seeking to replicate. Regardless, the isolation is a lot worse than it should be, regardless of the configuration. Something is not right. We should expect about 48 dB of isolation from the MASWSS0179 switch alone: This makes it seem like the TR switch is not working -- we should measure the TR switch performance on its own outside of the control board circuit.
On Monday, March 24th, 2025 at 3:55 PM, D Solt via groups.io <davesolt@...> wrote:
|
Re: I/O Weirdness
On 2025-03-24 18:30, Terrance Robertson, KN6ZDE via groups.io wrote:
search on bandswitchPinsDid that. #ifdef'd them all out. Then commented them out for good measure. I commented out the actual definition in SDT.h, and let the compiler find all the occurrences for me. Also excised the #defines for FILTERPIN80M, FILTERPIN40M, FILTERPIN20M, and FILTERPIN15M. - Jerry, KF6VB Links: |
Re: boards and kits and stuff
Years ago I worked for Niles Audio, and we produced a product that used plug in cards on a short bus.? The interconnect was via SPI between AVR ATmega128 and ATmega32 processors.? The bus had a buffer at the master side (mega128), the mega32 mcus on the cards were connected unbuffered.? The bus had the usual 3 SPI signals plus one? CS for each of the cards, IIRC there were a max of 4 cards on the bus.? We never had any issues with communication on the bus, I don't recall what the clock speed was, I think it was around 500khz.
|
I/O Weirdness
Working with the Version 66.9 T41 software.
This particular weirdness affects nobody but me.... I use four unused i/o bits to control my homebrew linear amplifier. They tell the amplifier what band the transceiver is on. These bits ( 28,29,30,31 ) were used in the V11 system to control its four-band LPF. There was an 80M pin, a 40M pin etc. They are not used at all in the V12 system. So I hooked them up to some transistor buffers and hence out to the linear. V12 does have internal Yaesu codes in the LPF control card, but they are the wrong polarity. Instead of adding hardware inverters, I just used those other four pins. Now - with the V66.9 software, I am unable to write to those pins! The linear stays at its default - 6M. The reason for that particular default is that it minimizes the risk of transmitting on the wrong band. If you use an LPF that is too high, you run the risk of annoying the FCC. If OTOH you transmit through an LPF that's too low, you run the risk of frying the expensive LDMOS final. I do have protection against that in the linear, but I am a "belt & suspenders" guy... Back to the problem: I have verified that the code to write to those pins is being executed. ALSO, I wrote separate code at the top of loop() to write to them. No joy, no output. BUT - I wrote a throwaway sketch - not a radio at all - to just write to those pins - actually an incrementing count. Yup, they work fine. And the linear cycles through its bands. SO; Something in the code is preventing me from writing those pins. Gotta be one of two things: 1. Something else is writing to them. or 2) Something is pinMode-ing them to INPUTs. Darned if I can find it though. There are some legacy places where those pins are written, but I'm pretty sure I found them all. It has worked on other versions, just not this one. - Jerry, KF6VB |