-
-
Notifications
You must be signed in to change notification settings - Fork 70
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
K1 AIOC Hardware Rev 1.2 #93
base: master
Are you sure you want to change the base?
Conversation
Any rough estimates of a timeline for finalizing this variant? I'd definitely be interested in giving it a try, happy to tinker or help with the design a bit if needed! |
I am planning to do testing and required firmware work around Christmas. |
so i shouldn't buy 1.2 from jlcpcb at this moment? |
You can, but it will only work after I get those changes in and there is even a slight chance I did a boo-boo. 😁 So in short: you shouldn't, yet |
I've tested most of the current features, working well obviously you're the professional and will improve the firmware and possibly find bugs however for me I've not hit any brick walls yet. 1.3.0 RC2 |
If you are okay with the audio output being line level and not mic level and the audio input probably being distorted due to the missing DC bias with the old firmware, sure go ahead 😅 |
…ted, when a TRS connector is used. If not, then both pads can be used separately
…o supply DC bias using the internal offset calibration feature
…om alternative sources
Alrighty, Hardware V1.2 looks very promising. I have had some time to play around and implement the RX gain and TX boost features in firmware. Sorry for not getting to that earlier, looks like I got myself the cold on the Christmas holidays. This allows the K1 AIOC now to have configurable RX gain (1x,2x,4x,8x,16x) and a TX signal booster (switch to line level instead of default mic level output). See this updated script from the release page (removed all the GPIO and PTT stuff)
Attached is the required firmware: aioc-fw-1.3.0-hw1.2.zip After changing the RXGAIN/TXBOOST value in the register map, you need to re-start your audio application since this setting is applied on the AIOC upon opening the audio stream. I also welcome you to try out this firmware on older hardware version. Obviously you don't have those new features, but the default settings are designed such that they work on older hardware versions as well. This means that the new features will be integrated into the standard firmware and will be available publicly upon next official release. |
As you might know I am still in the works for an updated K1 AIOC Hardware. This is still untested!
There have been requests that allow the input/output gain/attenuation be set by software e.g. to control radios that have line level inputs/outputs.
I have started to make changes and named them rev. 1.2. See this schematic
The idea is to use the internal OPAMP to add gain to the 1:2 divider on the input. However the biasing needs to be adjusted to be always at mid-level of the full-scale, so I am planning to use the second OPAMP and the internal calibration feature to do just that.
For the output, I changed to having line-level output if the DAC_ATTEN signal is open drain, and if it is pulled to ground, it should output mic levels.
Let me know if you are interested in this feature and would be able to test the line-level portion, but maybe also the "old" functionality with regular K1 HTs.