VoCore and IOT ( SPI Issue )
Posted: Wed Nov 19, 2014 6:03 pm
Hi,
I'm doing a project including a clock i want to link to internet.
I have a CC2500 2.4GHz chip from TI to make a little network between my clocks.
There is some option for the internet gateway, Raspberry PI, BeagleBone Black.
I was interested in VoCore. I got two, one of which has the dock.
I tested the CC2500 on R-Pi and BBB. I managed to send/receive data between the two with a simple setup.
I'm using SPIDEV. The SPIDEV_TEST app works on R-PI and BBB.
Last night, I wanted to test the CC2500 chip with VoCore. First I tried to run the SPIDEV_TEST but I could get it to work.
I have either all ones or all zeros which means i have the MISO correct. Despite connecting the MOSI to the MISO i didn't get back any data i am sending. For some reason the MOSI seems to be low when MISO is sampling.
I connected the CLK and MOSI to a serial port to see if i have anything going on and the serial console showed some stuff. This may not be the best test ever but from this I'm guessing i have the CLK and MOSI identified and correct.
I'm using the default installation that came with the VoCore and i built a ramdisk image from the OpenWRT Source. Same result in both case.
The OpenWRT source has the patches for SPI.
Does anyone has the SPIDEV_TEST working on the release version of the VoCore ?
Regards
I'm doing a project including a clock i want to link to internet.
I have a CC2500 2.4GHz chip from TI to make a little network between my clocks.
There is some option for the internet gateway, Raspberry PI, BeagleBone Black.
I was interested in VoCore. I got two, one of which has the dock.
I tested the CC2500 on R-Pi and BBB. I managed to send/receive data between the two with a simple setup.
I'm using SPIDEV. The SPIDEV_TEST app works on R-PI and BBB.
Last night, I wanted to test the CC2500 chip with VoCore. First I tried to run the SPIDEV_TEST but I could get it to work.
I have either all ones or all zeros which means i have the MISO correct. Despite connecting the MOSI to the MISO i didn't get back any data i am sending. For some reason the MOSI seems to be low when MISO is sampling.
I connected the CLK and MOSI to a serial port to see if i have anything going on and the serial console showed some stuff. This may not be the best test ever but from this I'm guessing i have the CLK and MOSI identified and correct.
I'm using the default installation that came with the VoCore and i built a ramdisk image from the OpenWRT Source. Same result in both case.
The OpenWRT source has the patches for SPI.
Does anyone has the SPIDEV_TEST working on the release version of the VoCore ?
Regards