It is likely to be the inputs at the tda1540 causing this. Nothing was done on it before this happened?@zoom777 yes, and plug to pcm63, everything ok.
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

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 😊
@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.
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.@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.
These my kids definitely sold out AD1862 from ebay and raised the price of TDA1540 from 5 dollars to 20 and it looks like the price will go even higher than TDA1541 

Hello RA7,Where do you get the 1540 chip from?
This seller in eBay is where Miro bought his tda1540.
https://www.ebay.com/itm/1529434865...9111X1517312X8b2cca673e513984410c47ef19212681
I do have a spare complete set of DAC with programmed CPLD board if you are keen,
https://www.diyaudio.com/community/...dac-in-simultaneous-mode.397914/#post-7373370
Last edited:
hello tame, i bought from aliexpress many years ago, i search again, it seems no longer available."i2s simultaneous board" link, please.
@chi0001 @tame ,
Not much info provided but i wonder if this board would work for the TDA1540 simultaneous mode.
https://www.aliexpress.com/item/100...!sea!SG!1757846789&curPageLogUid=6nvA2TUC1ddR
Not much info provided but i wonder if this board would work for the TDA1540 simultaneous mode.
https://www.aliexpress.com/item/100...!sea!SG!1757846789&curPageLogUid=6nvA2TUC1ddR
@chi0001 Why is the blue adaptor board needed for connection between the i2s sim board to the DAC board?hello tame, i bought from aliexpress many years ago, i search again, it seems no longer available.
Last edited:
no, need 14bit.@chi0001 @tame ,
Not much info provided but i wonder if this board would work for the TDA1540 simultaneous mode.
https://www.aliexpress.com/item/1005003976111853.html?spm=a2g0o.productlist.main.3.7f757261NxfPZV&algo_pvid=51d98666-069e-4afe-860c-d74843cc60bd&algo_exp_id=51d98666-069e-4afe-860c-d74843cc60bd-1&pdp_npi=3@dis!SGD!33.61!28.9!!!24.70!!@212278bd16893930999361098d0721!12000027619617608!sea!SG!1757846789&curPageLogUid=6nvA2TUC1ddR
@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.
@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.
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
https://www.ebay.com/itm/264664104715?hash=item3d9f35bf0b:g:t6UAAOSwSLlgNts-&amdata=enc:AQAIAAAAwERzi+Jbhcofud6bL1B2/P6gtxSS43rizYy7btiboA8qLsSrGhVZpMKkmgB3Gmhvfcokd/zeqVqBa38KS5DN2OmcBTryM2TMN9A9t2asc8x4lZ17slHC/cWCmuOMD32ZocLlI9cIyx7rNyDL+tME1BGtc1+l/1Pp7FmkqvdqRzlLXtpUFbuDDBUbXD/RnHloLF0CWrqHph6mYcQq+8Z+LUEdLoWRS9q2WTsX1MTGs9ycr8XsFuCNGRImXIozxP9FBQ==|tkp:Bk9SR8a-3oWvYg
TDA1387 parallel module, replacement for TDA1541, TDA1541A
TDA1387 parallel module, replacement for TDA1541, TDA1541A
@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.
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:
- Home
- Source & Line
- Digital Line Level
- DAC AD1862: Almost THT, I2S input, NOS, R-2R