Go Back   Home > Forums > > >
Home Forums Rules Articles diyAudio Store Blogs Gallery Wiki Register Donations FAQ Calendar Search Today's Posts Mark Forums Read

Twisted Pear Superior quality electronic kits

Thread Tools Search this Thread
Old 20th March 2020, 09:28 AM   #21
drone is offline drone  Germany
diyAudio Member
Join Date: Jan 2006
Location: Germany Rheinarea

this is a very interesting project. Keep posting your results

At the moment I test some display types for my DAC case.
As I am trying to learn some more programming I concentrate on the "hardware.side" of things for now.

But would need some C++ code for reading the sampling rate (and print it out),to put in Poni's fine code base. Which I am not capable of writing by myself (for now )


Attached Images
File Type: jpg IMG_5148.jpg (140.3 KB, 29 views)
  Reply With Quote
Old 20th March 2020, 02:35 PM   #22
francolargo is offline francolargo  United States
diyAudio Member
Join Date: Mar 2007
Location: Twin Cities, MN
If you want to display the signal sample rate, it can be read and computed from DAC registers 66-69. This will be simple if you use the on-board 100MHz master clock in the Buffalo. However, if you wish to supply the Cronus clock as master - i.e. like 'true sync' - that will introduce uncertainty because the DAC will slave to frequencies that are multiples of either 44.1 or 48kHz. I do not see how the DAC chip would know which frequency it is being fed, although presumably the I2S renderer *will* know what frequency is specified in the music file. So for synchronous operation, if you want to display the signal frequency your C++ software will have to read some data from whatever digital source is creating the I2S. (I have that working with Python on the BBB - sorry but no clue with C++).

  Reply With Quote
Old 30th March 2020, 05:06 PM   #23
drone is offline drone  Germany
diyAudio Member
Join Date: Jan 2006
Location: Germany Rheinarea
Hello Poni,

hope you are well.

Any chance you found some time for the "sampling rate" thing.

Sorry if I am bothering too much.


  Reply With Quote


C++ Easy and Scalable Software for BIII38ProHide this!Advertise here!
Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Scalable PSU/regulator GB BobEllis Group Buys 655 2nd June 2015 09:52 PM
Easy, simple to use software for measuring FR, impulse, etc? makingmoney Multi-Way 7 6th July 2010 09:45 AM
Easy PCB Software Bonanza Software Tools 3 31st May 2010 10:23 AM

New To Site? Need Help?

All times are GMT. The time now is 06:10 AM.

Search Engine Optimisation provided by DragonByte SEO (Pro) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
Resources saved on this page: MySQL 15.00%
vBulletin Optimisation provided by vB Optimise (Pro) - vBulletin Mods & Addons Copyright © 2020 DragonByte Technologies Ltd.
Copyright ©1999-2020 diyAudio