Hi Dimdim
I could not find clock defintion section so tried changing
#define MCLK 10 // value of clock used (in 10s of MHZ) .10=100MHZ. to
#define MCLK 8 //value of clock used (in 10s of MHZ).8=80MHZ.
byte i2cStat =myEEPROM .begin(my.twiClock100KHZ); to
byte i2Stat=myEEPROM .begin(my.twiClock80KHZ);
But just got a error on twiclock80KHZ.
I will change the clock to a 100MHZ clock what is a good make of clock to buy please.
Thanks Dimdim
I could not find clock defintion section so tried changing
#define MCLK 10 // value of clock used (in 10s of MHZ) .10=100MHZ. to
#define MCLK 8 //value of clock used (in 10s of MHZ).8=80MHZ.
byte i2cStat =myEEPROM .begin(my.twiClock100KHZ); to
byte i2Stat=myEEPROM .begin(my.twiClock80KHZ);
But just got a error on twiclock80KHZ.
I will change the clock to a 100MHZ clock what is a good make of clock to buy please.
Thanks Dimdim
All you need to do is change #define MCLK 10 to #define MCLK 8, you don't need to do anything to the i2cStat line. That should do the trick.
Regarding a good 100MHz clock, you are constrained by your board's smd footprint, combined with the availability of a 100MHz clock at that footprint. A Crystek would be a very good choice, but it won't fit your board (which has an NDK 2.5mm by 2mm clock). I'm not sure that you can find a proper 100MHz clock for that footprint.
Regarding a good 100MHz clock, you are constrained by your board's smd footprint, combined with the availability of a 100MHz clock at that footprint. A Crystek would be a very good choice, but it won't fit your board (which has an NDK 2.5mm by 2mm clock). I'm not sure that you can find a proper 100MHz clock for that footprint.
All you need to do is change #define MCLK 10 to #define MCLK 8, you don't need to do anything to the i2cStat line. That should do the trick.
Regarding a good 100MHz clock, you are constrained by your board's smd footprint, combined with the availability of a 100MHz clock at that footprint. A Crystek would be a very good choice, but it won't fit your board (which has an NDK 2.5mm by 2mm clock). I'm not sure that you can find a proper 100MHz clock for that footprint.
Thank you Dimdim i have changed #define MCLK from 10 to 8 but same problem.
There is also another problem of when I change to next song or file it goes to full volume until I manually adjust volume.
All other settings and display are working great its on default of -10 but goes to full volume I move my volume to say -9 or -11 and it lowers volume to normal level.
I am wondering if its a problem with DYINHK xmos still trying to control dac.
SDA /SCL lines are not connected between xmos and dac though so not sure how its controlling it.
Thank you Dave.
Thank you Dimdim i have changed #define MCLK from 10 to 8 but same problem.
Can you copy/paste your Due's serial port's output here while you're changing sampling rates? So I can see what's going on.
There is also another problem of when I change to next song or file it goes to full volume until I manually adjust volume.
All other settings and display are working great its on default of -10 but goes to full volume I move my volume to say -9 or -11 and it lowers volume to normal level.
I am wondering if its a problem with DYINHK xmos still trying to control dac.
SDA /SCL lines are not connected between xmos and dac though so not sure how its controlling it.
Thank you Dave.
When you're "moving your volume", are you referring to your PC's media player's volume control or to the DUE's (rot. enc. or IR remote)?
Almost done with my shield! Waiting for ADUM1250. 4.3" TFT on the way. DUE waiting for instructions...
Our cat got mad at me for spending too much time at the bench. Chewed up my hot air station hose. Using solder station, small tip and Hakko deoldering gun.
Our cat got mad at me for spending too much time at the bench. Chewed up my hot air station hose. Using solder station, small tip and Hakko deoldering gun.
Attachments
Dimitris, I'm a little confused. On the BIIIse Pro ES9028, do I connect I2C to the header (SDA/SDL and GND) or to the GPIO pins?
Waiting for my TFT screen.
Thanks!
Waiting for my TFT screen.
Thanks!
If things are like they were on the BIIIse, it's the same, the pins are connected in parallel. Don't forget to also get 3.3V for the isolator plus a signal from the lock LED pin.
Yes. Also don't forget the +3.3V.
Right. I figured I'd snag 3.3v from the DUE. I'll be powering the DUE with 9v through its DC in jack.
Do you have a preferred encoder? I have an extra Bourns like HiFiDunio used.
Same with the IR receiver, any fav? I'll be using the Apple remote.
Thanks so much for your help!
Same with the IR receiver, any fav? I'll be using the Apple remote.
Thanks so much for your help!
Right. I figured I'd snag 3.3v from the DUE. I'll be powering the DUE with 9v through its DC in jack.
The 3.3V must be "clean", so it can't be from the DUE, it must be from the DAC's side.
Do you have a preferred encoder? I have an extra Bourns like HiFiDunio used.
Same with the IR receiver, any fav? I'll be using the Apple remote.
Thanks so much for your help!
The one HiFiDuino uses will do just fine, same for the IR receiver.
The 3.3V must be "clean", so it can't be from the DUE, it must be from the DAC's side.
Ah, 10-4, thanks!
Is there a specific version of Arduino software I must use with your code? I downloaded 1.8.5 and it gives me fits about DUE. I installed the updates to add DUE to the list of boards.
I get "error compiling for board arduino due (programming port)."
I get "error compiling for board arduino due (programming port)."
I always use the current IDE so 1.8.5 will do just fine.
I'll need to see what errors you are getting to tell you what's wrong / missing.
I'll need to see what errors you are getting to tell you what's wrong / missing.
You should start by putting the necessary libraries in the folder C:\Users\<your user name>\Documents\Arduino\libraries
OK I started over. Duh!
Now I just get this
Arduino: 1.8.5 (Windows 10), Board: "Arduino Due (Programming Port)"
sketch\Wire.cpp:26:19: fatal error: twi.h: No such file or directory
#include "twi.h"
^
compilation terminated.
exit status 1
Error compiling for board Arduino Due (Programming Port).
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
Now I just get this
Arduino: 1.8.5 (Windows 10), Board: "Arduino Due (Programming Port)"
sketch\Wire.cpp:26:19: fatal error: twi.h: No such file or directory
#include "twi.h"
^
compilation terminated.
exit status 1
Error compiling for board Arduino Due (Programming Port).
This report would have more information with
"Show verbose output during compilation"
option enabled in File -> Preferences.
- Home
- Source & Line
- Digital Line Level
- Buffalo III upgraded with ES9028Pro