Go to advanced search

by Sniper435
Thu Apr 27, 2017 8:03 am
Forum: Bare metal, Assembly language
Topic: Circle - C++ bare metal environment (with USB)
Replies: 239
Views: 64903

Re: Circle - C++ bare metal environment (with USB)

Thanks for the feedback, sounds like there's some things I can try - certainly powering off peripherals could work as currently I'm not using USB, ethernet or HDMI - just lots of GPIO/I2C and SPI
by Sniper435
Wed Apr 26, 2017 11:46 am
Forum: Bare metal, Assembly language
Topic: Circle - C++ bare metal environment (with USB)
Replies: 239
Views: 64903

Re: Circle - C++ bare metal environment (with USB)

resurrecting an old thread here but... I'm currently starting to port an application I've been running in raspbian to run on bare metal using circle.. one piece of functionality I'd like to try and support would be the ability to slow the PI down as much as possible (reduce power consumption) until ...
by Sniper435
Fri May 22, 2015 9:15 am
Forum: Bare metal, Assembly language
Topic: Circle - C++ bare metal environment (with USB)
Replies: 239
Views: 64903

Re: Circle - C++ bare metal environment (with USB)

Just thought I'd let you know, I am still very interested in using circle on the PI but my work on it is on hold for a short while. One thing I'd be interested in getting into when I pick it up again is using it on the compute module, do you foresee any problems using circle on the computer module a...
by Sniper435
Tue Jan 06, 2015 3:11 pm
Forum: Bare metal, Assembly language
Topic: Circle - C++ bare metal environment (with USB)
Replies: 239
Views: 64903

Re: Circle - C++ bare metal environment (with USB)

OK, I'll tackle that one when I get to it then and if suitable feed any code back to you. having done a little research it seems that a few people have managed to get access to the SD card via the eMMC so I'm hopeful I'll be able to work it out.
by Sniper435
Tue Jan 06, 2015 9:41 am
Forum: Bare metal, Assembly language
Topic: Circle - C++ bare metal environment (with USB)
Replies: 239
Views: 64903

Re: Circle - C++ bare metal environment (with USB)

One other thing I'd be interested in, and I don't know whether you have plans for, is access to the SD card as one thing I'm hoping to achieve is a USB update system which will allow me to update the software via a USB drive. I see you've already got some code for accessing FAT file systems on USB w...
by Sniper435
Mon Jan 05, 2015 2:46 pm
Forum: Bare metal, Assembly language
Topic: Circle - C++ bare metal environment (with USB)
Replies: 239
Views: 64903

Re: Circle - C++ bare metal environment (with USB)

as rst mentioned my problems have been solved - thanks to some help. I would like to add though that in testing I found that while my code worked fine with the ScreenDevice and Logger present and a HDMI screen plugged in, it didn't seem to work when the HDMI screen was removed. Due to specifics of m...
by Sniper435
Sat Jan 03, 2015 10:57 pm
Forum: Bare metal, Assembly language
Topic: Circle - C++ bare metal environment (with USB)
Replies: 239
Views: 64903

Re: Circle - C++ bare metal environment (with USB)

Been trying to make some simple programs work but seem to be hitting a problem when initialising my CTimer object - execution just stops when I get the the command "m_Timer.Initialize()". been over and over the examples but can't find the problem.
by Sniper435
Mon May 20, 2013 10:43 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 926
Views: 474685

Re: I2S: Anyone got it running? (answer is yes!)

Ok so kernel successfully built and loaded onto the pi, all the modules load without any warnings or errors but.. if I try to play a file I get this: High Performance MPEG 1.0/2.0/2.5 Audio Player for Layer 1, 2, and 3. Version 0.3.2-1 (2012/03/25). Written and copyrights by Joe Drew, now maintained...
by Sniper435
Thu May 16, 2013 2:40 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 926
Views: 474685

Re: I2S: Anyone got it running? (answer is yes!)

No problem :-) The way that I use (because it is proposed at elinux.org): mkdir linux cd linux git init git fetch git://github.com/koalo/linux.git \ rpi-3.8.y-asocdev:refs/remotes/origin/rpi-3.8.y-asocdev git checkout rpi-3.8.y-asocdev I used that method but it didn't make it do easy to pull down u...
by Sniper435
Thu May 16, 2013 2:10 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 926
Views: 474685

Re: I2S: Anyone got it running? (answer is yes!)

doh - I didn't think of that, it just ended up with that name when I cloned the repo (doh!) thanks for being patient with my silly error...
by Sniper435
Thu May 16, 2013 1:57 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 926
Views: 474685

Re: I2S: Anyone got it running? (answer is yes!)

koalo wrote:Please run a full command sequence and put everything (commands and outputs) into pastebin.
http://pastebin.com/r2xFuepU
by Sniper435
Thu May 16, 2013 1:50 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 926
Views: 474685

Re: I2S: Anyone got it running? (answer is yes!)

koalo wrote:What is your CCPREFIX etc?
that's my CCPREFIX, I don't have anything else defined..
export CCPREFIX=/usr/bin/arm-linux-gnueabi-
by Sniper435
Thu May 16, 2013 1:33 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 926
Views: 474685

Re: I2S: Anyone got it running? (answer is yes!)

I get that error when just running the initial commands:

make mrproper
make ARCH=arm CROSS_COMPILE=${CCPREFIX} oldconfig
etc..
by Sniper435
Thu May 16, 2013 1:01 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 926
Views: 474685

Re: I2S: Anyone got it running? (answer is yes!)

just a quick one for koalo... I'm trying to compile the kernel based on the latest git (checked out today, 2pm) and I'm getting this error: Makefile:114: *** multiple target patterns. Stop. I'm not familiar enough with makefiles to be able to pin this down myself, any thoughts? If I can get this bui...
by Sniper435
Wed May 01, 2013 1:02 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 926
Views: 474685

Re: I2S: Anyone got it running?

thank you so much :)
I'll get cracking on the build and let you know how things work out both with the build and with out breadboard prototype (actual hardware being soldered up atm)
by Sniper435
Wed May 01, 2013 11:25 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 926
Views: 474685

Re: I2S: Anyone got it running?

I've not played with compiling kernels for the pi yet - if you could point me to any helpful documents for setting up to cross compile on a ubuntu system then I can probably handle it, I'll look into it and see if I can work it out. :)
by Sniper435
Wed May 01, 2013 10:53 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 926
Views: 474685

Re: I2S: Anyone got it running?

I think due to the complexity of our setup and our ideas for how we plan on controlling everything the best option will be the first one, a dummy codec and machine driver. this seems like the easiest to get going an would allow us to test the pi's i2s in our setup. maybe further down the line I'll w...
by Sniper435
Wed May 01, 2013 10:21 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 926
Views: 474685

Re: I2S: Anyone got it running?

essentially the system isn't just the pi and a dac.. what we've got is a little more complex.. essentially we're building a digital crossover with multiple selectable inputs of which the pi is just one.. we also have optical and coaxial digital inputs via the DIR9001 and analogue inputs via a PCM151...
by Sniper435
Wed May 01, 2013 9:37 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 926
Views: 474685

Re: I2S: Anyone got it running?

Greetings, I've been watching this thread for quite a while now in anticipation of a working I2S driver for a project I'm working on. could either Philpoole or koalo fill me in with what changes or driver options need to be supplied to run the Pi as an I2S slave? From what I understand (and more imp...
by Sniper435
Mon Jan 14, 2013 2:30 pm
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 926
Views: 474685

Re: I2S: Anyone got it running?

sorry I wasn't very clear - I was meaning that we'll be supplying our own master clock rather than using the onboard oscillator
by Sniper435
Mon Jan 14, 2013 11:28 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 926
Views: 474685

Re: I2S: Anyone got it running?

thanks for the code and work you've done so far phil, just a quick question - do you know what I need to change in the driver if I plan on using an external clock for I2S?

cheers.
by Sniper435
Fri Jan 11, 2013 11:11 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 926
Views: 474685

Re: I2S: Anyone got it running?

This sounds really positive, I'm looking forward to seeing some code and seeing if I can make it work with the DAC I've got.
by Sniper435
Wed Dec 05, 2012 10:41 am
Forum: Interfacing (DSI, CSI, I2C, etc.)
Topic: STICKY: The I2S sound thread.
Replies: 926
Views: 474685

Re: I2S: Anyone got it running?

I don't know if that patch has been included in the raspbian kernel but it certainly looks relevant...
by Sniper435
Fri Nov 02, 2012 1:36 pm
Forum: Linux Kernel
Topic: PCM module (I2S) drivers?
Replies: 20
Views: 20036

Re: PCM module (I2S) drivers?

I'm also very interested in this as I've got a project in the works that will use the I2S output of the pi to provide high quality audio.

Go to advanced search