Search found 444 matches

by pjde
Wed Apr 10, 2019 10:29 pm
Forum: General
Topic: i2s and digital microphones
Replies: 27
Views: 15007

Re: i2s and digital microphones

Hi Garry

Have been looking through the DMA code.

The DMATransferRequestEx() requires a DMAHost value. Is there a default value we can use for all transfers or do we need to create our own for our specfic tasks.

Regards

Paul
by pjde
Tue Apr 09, 2019 7:02 am
Forum: General
Topic: i2s and digital microphones
Replies: 27
Views: 15007

Re: i2s and digital microphones

Thanks Garry

Getting a little more translucent.

Do any of the examples use the Ultibo DMA functions? I did a quick text search but nothing came up.

Regards

Paul
by pjde
Mon Apr 08, 2019 8:38 pm
Forum: General
Topic: i2s and digital microphones
Replies: 27
Views: 15007

Re: i2s and digital microphones

Thanks Piotr

Clear as mud. I have a bit more research to do.

Regards

Paul
by pjde
Mon Apr 08, 2019 7:16 am
Forum: General
Topic: i2s and digital microphones
Replies: 27
Views: 15007

Re: i2s and digital microphones

Hi Piotr Currently looking through the code. I have one question at the moment regarding the base address for DMA channels. According to the BCM 2835 and 2837 ARM Peripheral documents the base for the DMA channels is $7E00700 but if I read it correctly, your code uses (_dma_cs) $3F007000. // DMA con...
by pjde
Sun Apr 07, 2019 6:45 am
Forum: General
Topic: i2s and digital microphones
Replies: 27
Views: 15007

Re: i2s and digital microphones

Thanks Piotr

I will give it a try.

Regards

Paul
by pjde
Sun Apr 07, 2019 1:35 am
Forum: General
Topic: i2s and digital microphones
Replies: 27
Views: 15007

Re: i2s and digital microphones

I am looking to get the PiFi DAC+ v2.0 working with Ultibo.

In order not to re-invent the wheel, is it possible to get any prelim code on I2s however unfinished it is?

Regards

Paul
by pjde
Sat Apr 06, 2019 1:40 am
Forum: General
Topic: Servo Hat
Replies: 1
Views: 3752

Servo Hat

Greetings All

I have been playing around with the Sparkfun Pi Servo Shield that can drive 16 servo motors.

For anyone interested, the code can be found here.

https://github.com/pjde-ultibo/Servo

Enjoy

Paul
by pjde
Thu Mar 28, 2019 8:19 pm
Forum: Libraries
Topic: UDP with pure Ultibo?
Replies: 4
Views: 5785

Re: UDP with pure Ultibo?

Hi Piotr This is what I use. Hope it helps. 1) Add a couuple of glable variables var BroadcastAddr : PSockAddr = nil; BroadcastAddrLength : integer = 0; 2) Create a class inherited from TWinsock2UDPListener TMyListener = class (TWinsock2UDPListener) protected function DoExecute (aThread : TWinsock2U...
by pjde
Fri Dec 28, 2018 8:27 pm
Forum: Discussion
Topic: TWinsock2TcpListener.DoExecute test for data available
Replies: 4
Views: 670

Re: TWinsock2TcpListener.DoExecute test for data available

Hi Mark This is what I do. Don't know if it helps. function TMyListener.DoExecute (aThread: TWinsock2TCPServerThread): Boolean; var d : boolean; b : array [0..255] of byte; c : integer; closed : boolean; begin Result := inherited DoExecute (aThread); if not Result then exit; c := 256; closed := fals...
by pjde
Sun Dec 09, 2018 5:39 am
Forum: Graphics
Topic: Ultibo game programming
Replies: 75
Views: 38758

Re: Ultibo game programming

Or maybe use Stretch on a Raspberry Pi?

Go to advanced search