Hello,
Can you provide Linux driver for CC3000?
Igor
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Igor,
The CC3000 driver is very simple, just 2 GPIO - Enable and IRQ handler + SPI. Linux has SPI user-mode API that.
You can use the http://processors.wiki.ti.com/index.php/CC3000_Host_Driver_Porting_Guide
- Elad
Hi,
And what about the IRQ handler in userspace??? I think it must be an SPI driver in kernel space not using the SPI user-mode API.
Revisiting the CS signal osciloscope graphics from http://processors.wiki.ti.com/index.php/CC3000_Serial_Port_Interface_%28SPI%29
it seems that the CS signal must be connected through a GPIO instead of leave the SPI driver to handle it, because it must be low between several writes.
Does it means that the CC3000 needs a dedicated SPI bus?
Any information is welcome!
Hi,
The CC3000 can not be configured over a shared SPI bus, as the CS line is acting differently.
Regards,
Tomer
In TI's wiki there's a page that describes the process of porting the driver to linux. http://processors.wiki.ti.com/index.php/CC3000_Module_with_AM335x_Using_Linux
It describes the changed needed to be made to the MSP driver in order to make it run on linux, but I haven't been able to find the new source/patch/diff/whatever.
Does anybody know where to get it? Alternatively - it was written by a user named "Agarcia", does anybody know how to reach him?
Thanks! :)
Hi Daniel,
I will check this and get back to you.
Thanks & Regards,
Raghavendra
Hi Raghavendra,
Any news?The link http://processors.wiki.ti.com/index.php/CC3000_Module_with_AM335x_Using_Linux is not very clear. Two questions:
The kernel code from the latest am335x SDK, ti-sdk-am335x-evm-06.00.00.00-Linux-x86-Install is linux-3.2.0-psp04.06.00.11 but I've not found any reference to cc3000...
Where is the 'web' application? The link said:
$ cd /server2 $ make $ sudo cp ./web /media/rootfs/home/root/ $ eject /media/rootfs/
but, where is server2 ???
Regards
Hi,
I have the same question, where we can find that example?
Where is the 'web' application? The link said:
$ cd /server2 $ make $ sudo cp ./web /media/rootfs/home/root/ $ eject /media/rootfs/
but, where is server2 ???
Kind regards
Hi, Tomer.
We saw this comment of yours stating that the SPI CS is acting differently and were concerned. How is that so? I failed to see differences when I looked into the datasheet.
Cheers,
Mali
Hi Mali,
CC3000 MISO line (the SPI output line of CC3000) cannot do tri-state, which would be required for proper SPI-communication with 2+ bus nodes. When only SPI master and CC3000 (SPI slave) are on the SPI bus, there is no problem, because only CC3000 will use the MISO (Master-In-Slave-Out) line.
If you connect CC3000 on a bus with other SPI slaves, then the MISO line will be shorted between CC3000 and other slaves in case they want to output something on the MISO line.
Adafruit has an example how to work around this CC3000 behaviour using an extra 74AHC1G125 chip:
https://learn.adafruit.com/system/assets/assets/000/017/835/original/adafruit_products_cc3000v2.png
Cheers,
Risto
Hello Risto!
Thanks for your thorough response. It has definitely aided our design process and most probably drew attention to something that we could easily miss.
One extra question, will this be the issue with the upcoming cc3100 and cc3200 also? Is it too early to tell?
Cheers,
Mali
Hi Raghavendra,
I am also looking for the same server2 source, just want to know did you got the source code ??
regards
Nitesh