Project

General

Profile

Actions

Feature #4502

open

osmo-gsm-tester: support gpio controlled step attenuators of the LTHW main unit

Added by pespin almost 4 years ago. Updated 12 months ago.

Status:
New
Priority:
Low
Assignee:
Target version:
-
Start date:
04/18/2020
Due date:
% Done:

0%

Spec Reference:

Description

Patch [1] implements initial support for RF channel emulator for ENB objects. We should add support for the step attenuator connected to the sysmocom's osmo-gsm-tester setup.

According to laforge , dexter has written example code for this years ago.

[1] https://gerrit.osmocom.org/c/osmo-gsm-tester/+/17847


Files

pinouts.jpg View pinouts.jpg 985 KB dexter, 04/20/2020 09:48 AM
Actions #1

Updated by pespin almost 4 years ago

  • Status changed from New to Feedback
  • Assignee changed from pespin to dexter

Assigning to dexter to provide here with the information he has available for the device.

Actions #2

Updated by dexter almost 4 years ago

  • File pinouts.jpg pinouts.jpg added
  • Status changed from Feedback to New
  • Assignee changed from dexter to pespin

The step attenuator is controlled via the GPIO interface of the APU directly. As far as I know there are 4 attenuators. The synchronous serial interface is wired in parallel while the latch enable lines are wired individually. The attenuation value is shifted into the internal shift-register of all attenuator at once. The latch enable line latches the value to the outputs of the shift register to the register that controls the attenuation.

There is a git repository with a driver and a utility
git.sysmocom.de/sysmo-att-ctrl

The attenuator is an ZX76-31R5-SP+ from Mini-Circuits.

As far as I remember the GPIO chip in the APU is an NCT5104, some Info about the driver can be found here: https://github.com/tasanakorn/linux-gpio-nct5104d/pull/3/files

Actions #3

Updated by pespin 12 months ago

  • Priority changed from Normal to Low
Actions

Also available in: Atom PDF

Add picture from clipboard (Maximum size: 48.8 MB)