I am curious if there is a minimum SPI Clock rate on the FEZ Domino. I have been experimenting with Newhaven Displays which apparently want a SPI clock of 100Khz. If I try to run the display with a higher clock rate, it drops characters, but if I try to reduce the clock to 100Khz, I get a System.InvalidOperationException when I try to write to the Display.
Hi, I was wondering if there has been any progress on lowering the clock rate, I’m trying to talk to one of these http://www.sparkfun.com/products/760 and it has a minimum clock speed of 125KHz, I’m trying to run at 150Hz (the lowest I can seem to set) but it’s dropping data.
I’m also interested in low SPI clock. I was happy to find the nbew framework (from April 21th).
Unfortinatly I found that the minimun clock frequnecy ist still around 150kHz.
I also found that the version number of the assemlby is still 4.1.5.0 instead of 4.1.5.1
Could that be the reason that the new version does not work?
I’m using FEZ Panda II board. The code I use is the following:
using System;
using System.Threading;
using Microsoft.SPOT;
using Microsoft.SPOT.Hardware;
using GHIElectronics.NETMF.FEZ;
namespace FEZ_Panda_II_Application1
{
public class Program
{
public static void Main()
{
SPI.Configuration MyConfig = new SPI.Configuration((Cpu.Pin)FEZ_Pin.Digital.Di0,false,0,0,false,true,10,SPI.SPI_module.SPI1);
SPI MySPI = new SPI(MyConfig);
byte[] tx_data = new byte[8];
byte[] rx_data = new byte[8];
while (true) {
MySPI.WriteRead(tx_data, rx_data);
}
}
}
}
With frequency o 150kHz instead of the used 10kHz no expection is raised.
I checked the version and it is definitely 4.1.5.0
I desintalled the GHI SDK, checked that all files are gone and installed the latest SDK again with the same results.
I checked the versions of all DLL files in the assemblies directory and all are with version 4.1.5.0 except of the file “GHIElectronics.NETMF.W5100.Dhcp.dll” which has 4.1.5.1
There is a file called “release notes” right in the GHI SDK installed on your PC. Please open it and match it to this http://www.tinyclr.com/release-notes/
Please update the firmware and then recheck the firmware version number using MFDeploy. There is a video under the download page on how to do that. Firmware version number should be 4.1.5.1
[quote]SDK Version 1.0.14 April 11, 2011
• USBizi (FEZ Mini, FEZ Domino, FEZ Rhino, FEZ Panda) V 4.1.5.1
[/quote]