03-23-2010 06:39 AM
Hello,
I'm a French student and I need your help for my project.
Actually I'm using labview ARM in order to develop my software in LM3S8962.
Every worked well since this problem : In fact, I can't use both screen & microSD in the same time.
Simply, I need to write a text in my microSD, then display it on screen.
If I don't display it on screen but on my VI interface, it's work well. But when I need to display it on OLED onboard it doesn't work anymore...
I think it's because of same SPI for screen & microSD ? But I really don't know how to chip select between screen & microSD.
Can you help me to find a solution ?
Thanks by advance,
Julien V.
03-23-2010 09:18 AM
Hi.
On the LM3S8962 dev board GPIO PG0 is CARDCSn -> active on logic '0', and GPIO PA3 is OLEDCSn, also active-low. You can incorporate this logic into your application using EIO nodes for PA3 and PG0. I will look into it more in a couple of hours and I`ll be back with another post.
Paul
03-23-2010 09:45 AM
Thanks for your help 🙂
Actually I use this VI :
But it doesn't work.
03-23-2010 09:50 AM
1st thing I notice is that you are not using the chip select signals properly. CS for SDcard operation should be G0 false and A3 true; reverse for OLED operation.
2nd I don`t think NI`s file handling utilities can be used directly like that for the SDcard filesystem. It would be great if they did work, someone from NI support please enlighten us. I belive you should develop your own VIs for SPI communication as per the SDcard's specific communication commands/protocol.
03-23-2010 09:54 AM
Yes, it work simply like that - at least for the microSD part.
If I don't use the OLED screen, the file is written properly.
I have checked the file with the microSD player on my PC.
03-23-2010 09:57 AM
Let`s find a way to communicate easier ... my skype/yahoo/googletalk ID is harfaspaul. Please add me to your contact list. I am sure we can solve this SPI problem.
Paul
03-23-2010 10:08 AM
03-24-2010 04:54 AM
Any luck with the chipselect signals? I'm interested in this too, please post an update when you have some time.
Paul
03-26-2010 03:23 AM
Hello,
I tried many many thing, but I haven't managed to use together OLED Screen & SD.
Have you managed to do something ?
Best regards
Julien V.
03-26-2010 03:47 AM
Hi.
No, I haven't tried it yet, I was busy with another project. If possible, please post your VIs here, so I don`t have to reprouce the code.
Also, as I said above, let's find a way to communicate through an IM program as yahoo, skype, googletalk ...