I've looked through the NETMF source, and AT91 code is doing what CW2 indicated. I could send you a saleae analyzer SPI capture where you can see how MISO/MOSI/CS are being asserted, at very different times ... basically the signal just looks "dirty". It's probably because of the initialization that takes place at each SPI transfer. That SPI code leaves a lot to desire.CW2, does it still do this in the newest firmware releases (v4.1.0.6 RC2, v4.1.1 a7, and v4.1.2 a0)?
We found a few bugs in the .NET MF AT91 SPI code which were fixed about a month ago...
If there are specific issues, we should start a thread about them and see if we can get them resolved in the v4.1.1 beta.
Chris
Well, from what I understand the published code in the downloads section is still a few alphas/betas behind, so it doesn't include some of the code fixes. I'd assume hackers would still like to have the latest source, but I can understand the time lag until you guys make it to CodePlex. Probably more important, would be a Wiki where people could post tutorials and recipes for doing different things. I struggled all afternoon and last night to build 4.1.0.5 using GCC 4.4 and 4.2, with no success, I keep getting errors. There are scattered posts with bits and pieces on how this task could be achieved but ... it seems that what works for someone does not work for someone else. That unfortunate... I've been trying to build this source so I could start figuring out how to write a native SPI driver of some kind to fit my needs.Hey FelixEmman,
What do you need? The latest production source should be posted. We are working on getting alpha/beta source up soon too so you can always build the latest "daily" code. The only things I know of which aren't posted right now are beta code.
Really quick...we have the source for 4.1.0.6 all ready to go. If you want to PM me with your e-mail address, I can send it to you. We're planning on calling 4.1.0.6 "gold" and changing RC2 to RTM in the next few days...we're just waiting the traditional 2 weeks to make sure no critical last-minute issues crop up.
Chris
Either way please consider a Wiki in the near future. It's very time consuming to find good information in the forum, and it's often very scattered. The bigger this forum gets, the harder that will become. Again, no hard feelings.
I can wait a few more days for the next code release. I'll keep on trying to build the existing source in the meantime, that's my priority right now.