Linux HAM/Amateur Radio development
 help / color / mirror / Atom feed
From: Ray Wells <vk2tv@exemail.com.au>
To: "Curt, WE7U" <curt.we7u@gmail.com>
Cc: linux-hams@vger.kernel.org
Subject: Re: YAM modems at higher (shared) IRQ's
Date: Sat, 12 Mar 2011 08:28:26 +1100	[thread overview]
Message-ID: <4D7A93FA.8060306@exemail.com.au> (raw)
In-Reply-To: <alpine.LNX.2.00.1103110815240.4745@wapiti.we7u.net>

On 12/03/11 03:26, Curt, WE7U wrote:
>
> I'm about done WRT further progress on the YAM driver, at least for now.
> I'm getting ancy to get something on the air, so have a 220 MHz mobile
> rig in to work with me today to redo the
> coax taps, then will hook it to one of: YAM / PK-232 / DSP-232. I can
> get one YAM going reliably on the motherboard serial port, then with the
> 4-port board talking to various TNC's I
> can do the other 1200 and 9600-baud links I want to do for now.
>
> As of last night I can get one of the YAM's configured every time on the
> motherboard's serial port, but never using the 9835/9845 cards. The
> second YAM board is being finicky in all cases but I don't know if it's
> the driver or the board.
>
> I tweaked the driver yesterday to better supply power to the board.
> During programming the PWR LED stays lit now instead of flashing, and
> that LED is always on nice and strong. Power is supplied via two
> handshake lines that need to be at opposite states to keep +12V/-12V
> supplied. One of those is used during programming and also controls PTT.
> Weird, but some people do anything to save a buck. I've seen worse!
>
> I may add a function to the driver for controlling the two handshakes so
> that they are always kept at opposite states. Right now it's all done
> with bit-twiddling of both lines on the spot, and you have to keep the
> opposite-states thing in mind while tweaking any of those spots.
>
> Also: I was wrong about the driver using UART loopback mode during
> operation. It only uses loopback mode to decide what sort of UART is out
> there, then switches back to normal operation. The trick they're doing
> in order to accomplish synchronous programming of the Xilinx: They set
> the data line (RTS in this case), then throw $0xFC into the transmit
> buffer which causes this bit pattern to be sent out on the CLOCK line:
>
> 1 1111 1100 0
>
> That first 1 is a start bit, then 8 bits of data, then a stop bit. This
> produces a nice clock pulse to program the data bit into the Xilinx
> with. Not a bad trick to use an asynchronous port to do synchronous
> programming of a part.
>
> Another thing I found out yesterday is that there's a v1.7 YAM and a
> v1.10 YAM. I have two v1.10b boards. They require different MCS firmware
> loads because Xilinx pins have been moved and the board layout has been
> changed. I don't know which firmware is in the Linux driver now. It
> would be nice to have that documented and the firmware added to the
> kernel so people would
> know to choose the proper one for their board. The driver appears to
> have the capability to use an alternate file, but there aren't any
> alternate files to be had in the kernel. I just found an MCS file for
> the v1.10 board, but it's just a single one, so they might have combined
> the 1200 and the 9600 baud circuits into one now. How they are chosen
> via software is something I have yet to figure out.
>
> Any pointers as to who to submit the patches to? Probably the
> kernel-hackers list? How to submit them? It might be a few more days or
> weeks before I get around to it though. I've tested the driver on 64-bit
> and 32-bit, but will do so again before I send any patches upstream.
>

Curt,

Have sent you some YAM files I've collected over the years. Have other 
documentation
in hard copy format including connections to various parts of the FPGA. 
I'm still
looking for an article on a modification to the YAM to help it cope with 
varying
DC voltage that might be applied to the input from the radio 
discriminator with DC
coupling. Another modification was to use a separate power supply to 
overcome some
comports supplying insufficient voltage - I had one that provides only 3.5V.

Ray vk2tv


  reply	other threads:[~2011-03-11 21:28 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-06 19:30 YAM modems at higher (shared) IRQ's Curt, WE7U
2011-03-06 20:28 ` Curt, WE7U
     [not found] ` <4D73F262.6000703@exemail.com.au>
2011-03-07  6:22   ` Curt, WE7U
2011-03-07 10:49     ` walter harms
2011-03-08  7:01       ` Curt, WE7U
2011-03-08 16:06         ` Curt, WE7U
2011-03-09 16:32           ` Curt, WE7U
2011-03-10  3:07             ` Curt, WE7U
2011-03-11 16:14               ` Curt, WE7U
2011-03-11 19:59                 ` Robin Gilks
2011-03-11 16:26               ` Curt, WE7U
2011-03-11 21:28                 ` Ray Wells [this message]
     [not found]                 ` <4D7A8FAF.7070400@exemail.com.au>
2011-03-11 21:40                   ` Curt, WE7U
2011-03-12 16:40                 ` David Ranch
2011-03-11 21:36               ` Dave Platt
2011-03-11 22:32                 ` Curt, WE7U
     [not found]     ` <4D75430C.10508@exemail.com.au>
2011-03-07 21:06       ` Curt, WE7U

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4D7A93FA.8060306@exemail.com.au \
    --to=vk2tv@exemail.com.au \
    --cc=curt.we7u@gmail.com \
    --cc=linux-hams@vger.kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox