-
Notifications
You must be signed in to change notification settings - Fork 128
Feature/nbfm tx tone #243
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
Habraken
wants to merge
48
commits into
cariboulabs:main
Choose a base branch
from
Habraken:feature/nbfm_tx_tone
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Feature/nbfm tx tone #243
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Minor corrections
Update smi_stream_dev.c
Added a markdown file with a detailed description of how the CaribouLite can be install on a Pi0 or a Pi4, running the latest and up-to-date Raspberry Pi 64 bit OS: Bookworm (lite).
…_EN bit is always set in the IQ data to the modem. Gap functionality untested!
Awesome! Congrats on your progress!! |
… in the fpga programming handling.
…rflows the destination' warning in hat.c.
kfifo_out() in the kernel is annotated __must_check (via that __kfifo_uint_must_check_helper macro), therfore the retrun value must be used.
… headroom and prevent tx sample under runs.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Completed the TX path: audio (usb/ALSA) -> (UserSpace)->SMI->FPGA-MODEM. Rough first try to get TX to work. (Other than CW.) This is the first pass very crude approach, many things are still ‘hacky’ or hard coded. The goal was to prove I could push IQ data at 4 mega samples per second containing a 600 Hz pure tone that is frequency modulated with a max. deviation of 2500 Hz.
In pursuit of this goal I modified the cariboulite_test_app, to include a modem status monitor, so that I could watch the modem registers in real time. I had to rewrite the lvds_tx fpga module to ensure the modem would sync to the IQ data. I also had to modify the SMI driver on the kernel side as well as the user space side. It was a long and winding road with many false starts. The current state of the source code will still reflect that. (I am not a professional programmer.)
I have tested this code on a Raspberry Pi 4, running an up-to-date version of Bookworm. The test consisted of starting the cariboulite_test_app, selection menu option 12 (modem status monitor and starting TX with tapping t on the keyboard. Through a ALSA loopback device and a running speaker-test I was able to transmit a narrow band fm modulated tone of 600 Hz on 430.1 MHz.