-
8000
Notifications
You must be signed in to change notification settings - Fork 0
LGT8F328P vs ATmega328P - potential processor upgrade & replacement in ATS-20 - question/discussion (not issue) + some fixes in firmware #42
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
Comments
Firmware Modification to Eliminate Audio Pops in ATS-20 ReceiverWith certainty I can say that the modification with the connection of pin 1 (from md8002a) to the arduino pin (in my way it's a3 pin) (25). And modification of the firmware remained quite working - I lost all the impulse jumps when switching the internal amplifier si4732 - you just need to modify a little bit of firmware in some places. It is important to avoid disrupting the work of the oled configs as well. But since this amplifier is used for the speaker, there will be no result on the headphones - because the 3.5 mm jack is BEFORE this amplifier. Modifications Made
This solution effectively eliminates audio pops when switching between different modulation modes. Note that this improvement only affects speaker output, not headphones, as the 3.5mm headphone jack is connected before this amplifier in the signal chain. Upgrade archieve with firmareIt is necessary to fix the clicking when switching to SYNC MODE - but this is still in process :) And yes, please put a 100 nf capacitor between pin 1 and ground, just in case. |
Hi diqezit: I have implemented your audio pops fix. It works fine but the display also goes down every time the md8002a does, and come back to life with the amplifier. I dont know if it is normal behaviour or any thing goes wrong with my fix... |
Comparing ATmega328P vs LGT8F328P for SI4732
As an alternative to the Arduino Nano 328P, the LGT8F328P microcontroller is gaining more and more attention
It remains instruction-compatible with the ATmega328P, and provides slightly higher performance with several advantages for battery-powered applications
1. Arduino Nano 328P Overview
2. LGT8F328P Overview
3. Performance Comparison
4. Memory & EEPROM
5. Other Key Differences
6. Pin Compatibility Comparison
LGT8F328P can effectively control the shutdown mode of MD8002A (pin 1 in the schematic)
Approximately 1.5× longer battery life while maintaining all functions
SI4732 uses a 3.3V I²C/SPI interface, and the LGT8F328P can work directly with this voltage without level converters
Additional LGT8F328P interrupts allow more efficient processing of SI4732 events (RDS data, signal level changes)
Сonditionally if the built-in DAC in LGT8F328P will be able to add smooth volume rise and fade when turning the radio on and off
This will get rid of the unpleasant clicking noise that comes from the abrupt level changes in the SI4732
Essentially, will be feeding another analog signal to the MD8002A's input for smooth gain control, which will give a more pleasant interaction with the unit
inline void setI2CStandardMode(void) { Wire.setClock(100000); }; inline void setI2CFastMode(void) { Wire.setClock(400000); }; inline void setI2CFastModeCustom(long value = 500000) { Wire.setClock(value); };
loading patches for SSB mode + а frequent updates of RDS data and rapid changes of frequency and operating modes
But to the disadvantages
Critical disadvantage - Emulated EEPROM reduces the available code space, potentially when EEPROM is actively used then the memory may degrade faster (write/rewrite cycles).
Noise reduction
I also recommend to use ferrite flat beads for the connector loop, in my case it significantly reduced the noise on the si4732 from running oled display.
The text was updated successfully, but these errors were encountered: