Go to advanced search

by basp
Wed May 13, 2015 11:45 am
Forum: Windows 10 for IoT
Topic: Fastest way of writing to an SPI device
Replies: 17
Views: 4237

Re: Fastest way of writing to an SPI device

Thanks mikronauts, but I read that product page before getting started on this. Unfortunately, it doesn't actually contain or link to a datasheet for the LPD8806 as they state on the page itself. I then found this LPD8806 datasheet elsewhere, and read it through as well. I then found this tutorial o...
by basp
Mon May 11, 2015 9:36 pm
Forum: Windows 10 for IoT
Topic: Fastest way of writing to an SPI device
Replies: 17
Views: 4237

Re: Fastest way of writing to an SPI device

It's an LPD8806 LED strip. The data sheet tells me the max speed is 20MHz. I'm using the winiot library. I've created an SpiDevice instance like they've shown in the WinIoT documentation, and set it to 20MHz. Theoretically, I'd be able to change an LED's color 20,000,000 times a second, correct? I'd...
by basp
Mon May 11, 2015 3:52 pm
Forum: Windows 10 for IoT
Topic: Fastest way of writing to an SPI device
Replies: 17
Views: 4237

Re: Fastest way of writing to an SPI device

I feel like I'm not getting my point across. I'm not asking "at what speed should I write to my LED strip", I'm asking "how do I achieve fast write speeds in .NET". But alright: the LED strip has a clock rating of 20MHz. What's the best way of writing data to the spi device at 20MHz? A DispatcherTim...
by basp
Mon May 11, 2015 7:56 am
Forum: Windows 10 for IoT
Topic: Fastest way of writing to an SPI device
Replies: 17
Views: 4237

Re: Fastest way of writing to an SPI device

The LED strip isn't the point, this applies to any SPI device connected to the Pi. Suppose a device has a clock speed up to 20MHz. How would I write to the device at that rate, or at least as fast as possible? DispatcherTimer is never going to reach 20MHz or even 10MHz, but maybe something else (wit...
by basp
Mon May 11, 2015 7:17 am
Forum: Windows 10 for IoT
Topic: Fastest way of writing to an SPI device
Replies: 17
Views: 4237

Fastest way of writing to an SPI device

I have an SPI device (an addressable LED strip) that I'm controlling via the Pi. From what I've read here and there, the maximum frequency for the SPI device is the CPU's clock rate, so in the case of the Pi 2, 900MHz. All the samples provided for Windows 10 update SPI devices by setting a Dispatche...
by basp
Thu May 07, 2015 7:00 pm
Forum: Beginners
Topic: Best practice: separate power supply for electronics?
Replies: 5
Views: 1742

Re: Best practice: separate power supply for electronics?

Thanks guys, I'll make sure to power everything separately from the Pi then.
by basp
Thu May 07, 2015 10:40 am
Forum: Beginners
Topic: Best practice: separate power supply for electronics?
Replies: 5
Views: 1742

Best practice: separate power supply for electronics?

I'm just getting started with electronics on the Pi and I'm wondering about some best practices. Suppose I have some electronics, in my case a heating element that runs on 5V and a small air pump that runs on 3.2V. I'm aware that the GPIO pins offer both 5V and 3.2V outputs, but is it okay to just h...

Go to advanced search