myMPX
Advertisement


Go Back MyMPx.org > MyMPx.org Forum > General Discussion

Hooray!!! Rockchip SDK!
Like Tree1Likes
Reply
Post New Thread
 
LinkBack Thread Tools
  #241 (permalink)  
Old 12th Sep 2009, 11:49 am
sid6581's Avatar
Member
Keen on MPx players
 
Join Date: Sep 2009
Posts: 54
Default


I cannot promize I am going to make it work.
The more I look at the code the more I think it is "messy"

You have been very brave to rename all those BMPS and resource files ! There are a lot of them !!!
I cannot do this work right now right now, but I will try to do this tomorrow.

So far when I try to print what's happening on the LCD I just had a small 8x8 square graphic haha, but that's because my BMP0 was not correct.
Trying an other BMP0 downloaded from the net showed 3 big planes from a game it seems.
I guess it makes sense if the BMP0.bin objects are in a particular order with particular IDs specific to the firmware we compile...

So, we'll see ......

I have a question now.
Regarding compilation for the actual player (ARM + ZSP), is there an actual compilator for the ZSP400 or is the ZSP400 related libraries pre-compiled ?
__________________
Rockchip Powah !
Reply With Quote
  #242 (permalink)  
Old 12th Sep 2009, 12:00 pm
Member
I love my MPx player
 
Join Date: Jun 2009
Posts: 174
Default

Nemesis, do you know something more about eKT8100 driver? I tried to figute this on my own buts its too complicated.
Reply With Quote
  #243 (permalink)  
Old 12th Sep 2009, 10:28 pm
sid6581's Avatar
Member
Keen on MPx players
 
Join Date: Sep 2009
Posts: 54
Default

Flasher, you have to look at the datasheet and make sure you know how those pins are connected to the Rockchip.
Like I said in a previous post, it looks like one of the pin is connected to USB DP, which seems not right (????)
It looks like the eKT8100 can communicate with the host MCU in different fashion (SPI, UART and straight GPIO ?) ...
First you need to know how the two are hooked together before even thinking about making a driver for that chip ...
__________________
Rockchip Powah !
Reply With Quote
  #244 (permalink)  
Old 13th Sep 2009, 2:20 am
Member
I love my MPx player
 
Join Date: Jun 2009
Posts: 174
Default

Ok, so based on the picture I posted, which numer of pins are used. Because I dont see any USB pins on my datasheet.

BTW. Oscilator would have helped? I would ask my friend to lend it to me. Or if that wouldnt be too lame, use sound card as a oscilator? I can record at 96kHz. Is it possible to use the soundcard?
Reply With Quote
  #245 (permalink)  
Old 13th Sep 2009, 2:36 am
knob's Avatar
Senior Member
Valued Member
 
Join Date: May 2007
Posts: 1,285
Default

I know it's not much help but
Usb is pin 64 on Rockchip. I attached a Schematic in case yours in different.
Usb connecter is J1 on this.
Attached Files
File Type: pdf Rockchip2606.pdf (79.9 KB, 14 views)
__________________
-----------------------------------------------------------------------------------------------------------
Reply With Quote
  #246 (permalink)  
Old 13th Sep 2009, 5:18 am
Member
I love my MPx player
 
Join Date: Jun 2009
Posts: 174
Default

But even in the picture I posted it shows that it isn't 64 Pin, 64 pin is the first one from the right, my calculations shows that they start from 5th pin, not 1st.
Reply With Quote
  #247 (permalink)  
Old 13th Sep 2009, 11:36 am
Member
I love my MPx player
 
Join Date: Jun 2009
Posts: 174
Default

Well, its too hard for me. I don't know even where to start with communicating with eKT8100.

Anyway, I've been trying to get some signal from Microphone in the RKP file, and I got it successfully. What I am trying to do is to make a guitar tuner. I think many people would appreciate such thing, because standalone tuners are expensive and here we can do it as an application.

But I don't know much about audio processing. I got an array of 1000 int values of pitch and I must calculate the most fundamental frequency of the sample.

BTW, what I've done also proves that spectrum analyzer can be applied to the FM radio. But first I need to know how to calculate these frequencies.

Is anyone familiar with such operations on audio data?

Last edited by flasher86; 13th Sep 2009 at 12:46 pm.
Reply With Quote
Sponsored Links
  #248 (permalink)  
Old 13th Sep 2009, 11:54 am
knob's Avatar
Senior Member
Valued Member
 
Join Date: May 2007
Posts: 1,285
Default

Well would this be any help?
http://www.thejazzchameleon.com/guit...tar-tuner.html
__________________
-----------------------------------------------------------------------------------------------------------
Reply With Quote
  #249 (permalink)  
Old 13th Sep 2009, 12:47 pm
Member
Keen on MPx players
 
Join Date: Sep 2007
Posts: 68
Default

Well i guess you might want to look up Fourier Transformation. Thats a transform from time to frequency domain. So you will get the spectrum of frequencies present in the signal. Here is what wikipedia says: Fourier transform - Wikipedia, the free encyclopedia. Basically you need to compute the Fourier-coeffs. for all the frequencies that might be present (depends on the quality of your data), replace integration by summation since your data is in discrete form anyway and remember what time duration corresponds to the length of your buffer so you get the correct Hertzs in the end. Im pretty sure youll find a lot of code on the net, search for "FFT" or sth. (... Ive never done this )

Regards
Reply With Quote
  #250 (permalink)  
Old 13th Sep 2009, 1:44 pm
Member
I love my MPx player
 
Join Date: Jun 2009
Posts: 174
Default

Everywhere I look I find FFT algorithm but based on Double data type. But this data type is not supported by RK260X compiler. Also I have buffer which consists of Integer values, not Float/Double. Could you give me some more hints about that?
Reply With Quote
Reply

Sponsored Links



Similar Threads
Thread Thread Starter Forum Replies Last Post
NEW rockchip player (Rockchip RK27xx series) availability knob General Discussion 38 12th Nov 2008 10:47 am
Rockchip Editor: for Rockchip 27xx ALP1987 Support and How To 6 17th Oct 2008 5:25 pm


All times are GMT -7. The time now is 5:38 pm.


Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2015, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.6.0 RC 2
Back to Top

Designed by indiqo.media