DAC AD1862: Almost THT, I2S input, NOS, R-2R

miro, i need some help, the tda1540 plays over 3 months, something happen today, the offset led off, so i power off and power on again, the led is light 1 sec and turn off again, i measured the tpL and tpR, tpL is 1.5v, tpR is -1.5v, any idea of that situation? 

Check if the CPLD is working. I faced similar situation and after an hour of debugging and connecting another CPLD I found out, that my CPLD missed the GND connection :rofl:
My TDA1540 is in daily use (basically powered on even when I'm not at the PC, the psu warms my room 😁) and everything is still working flawlessly 😊
 
@zoom777 fixed, its the ground problem.
@miro1360 thanks for the hints.
The picture shows 4 i2s simultaneous boards, blue circle i bought from china, compare with cpld, i only can say its worth to try, if cpld is god mode, register is fairy mode, try it if anyone who did the tda1540.

Screenshot_20230714-181719~2.png
 
  • Like
Reactions: miro1360
@miro1360 tda1540 sounds smooth, warm, very very natural, specially the bass, the detail is unreasonable good.
and miro and zoom777, i recommand try i2s register sim board, airy feeling enhance everywhere, no easy to get this feeling.
i will try later to fix the 1702 pcb, but i dont want to do anything because 1540 let me stop to make any other dac, let me relax and listen music.
 
@miro1360 tda1540 sounds smooth, warm, very very natural, specially the bass, the detail is unreasonable good.
and miro and zoom777, i recommand try i2s register sim board, airy feeling enhance everywhere, no easy to get this feeling.
i will try later to fix the 1702 pcb, but i dont want to do anything because 1540 let me stop to make any other dac, let me relax and listen music.
Is what I am experiencing🤣 the tda1540 is really something different. And I even stop experimenting with the TDA1541 after trying 1540.
 
  • Like
Reactions: miro1360
Last edited:
  • Like
Reactions: miro1360
@zoom777 long story for short, search tda1540 on aliexpress, a lot white colour 1540 pcb, this pcb or fully assembly pcb developed since year 201x....., very famous in china if someone is a tda1540 big fans, this pcb you can plug 3 module cards, one is over sampling card, one is i2s sim board, last one is output module card, some diyer tailor made their module card, the blue adapter let me easy to plug these module for test.
 
  • Like
Reactions: zoom777
@miro1360
Finally received my CPLD boards yesterday, decided to "play" a bit with Google VHDL code, it is my first time having a go at VHDL, I wanted to attach a HD44780 LCD with CPLD in 4 bit mode without the RW pin, the purpose is to show string on the LCD "Input 1", "Input 2", "Input 3" by replacing the LEDs.
Later I might expand it to display bit rate as well from "F0,F1,F2,F3, DSD pins" of Amanero

It has given some good suggestions. Code attached as txt.
 

Attachments

@miro1360
Here is the code for 20 bit DAC, with three I2S input and 1 output, an LCD 20x4 in 4 bit mode without RW pin has been added.
It displays the Input selection as "Input 1", "Input 2" and "Input 3", they can be renamed as "USB", "Bluetooth", "Optical or Flac Player"

I finalized it last night but did not get the time to test it. I am out on a trip with family for a week. If someone wants to give it a try, please go ahead. Obviously pin configuration will have to be done.

A note on using Google Bard or ChatGPT, one have to have a good understanding of coding otherwise they do generate code which at times contains errors. The best coding it can do in my opinion is for Arduino. STM32duino code generated by these AI bot contain too many errors and deprecated libraries are often included in the code.
 

Attachments

Last edited: