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.

CC2530, Linux SPI driver, BeagleBone Black.

Other Parts Discussed in Thread: CC2530

Has anyone made a Linux SPI driver, to communicate with CC2530 ZNP?
I am having a hard time finding a driver, taking advantage of the SRDY pin.

Thanks
John

  • Hi John,

    Can you please explain why do you need to communicate with CC2530 ZNP via SPI ? You can very well communicate with CC2530 over UART. Please consult RF4CE linux driver for reference: https://github.com/TI-LPRF-Software/RemoTI-Linux 

    Thanks,

    Saurabh

  • Hello Saurabh,

    I was hoping for a better performance.
    Concerning RemoTI-Linux-1.0.15, it would have been nice if all the device tree files where included. The "dts" files are missing. It is better to edit a fuctional "dts" file, rater then creating a new one.

    Thanks
    John

  • Hello John,

    The link provided by Saurabh has the SPI driver as well.  The SPI driver code in this link is stable and you can migrate this piece of code for your system.

  • Hi Karthikeya,

    Yes, - it is up  and running.  I commented on the missing device tree files "dts", there are only compiled "dtbo" files available in the ~/RemoTI-Linux-1.0.15/Projects/tools/LinuxHost/configuration/BeagleBoneBlack/devicetreefolder. It is more convenient to alter the device tree if you have the source file.

    Thanks,
    John

  • when I run a make to make binaries for x86 using gcc I am getting the following error
    make[1]: *** No rule to make target `ipclib/server/hal_dbg_ifc.c', needed by `out/hal_dbg_ifc.o'.  Stop.
    make[1]: Leaving directory `/home/hari/Desktop/remoteTI/RemoTI-Linux/Projects/tools/LinuxHost'
    make: *** [arch-all-x86] Error 2
    In the out folder NPI_SERVER is not present
    Do I have to make any changes in any files to rectify this

  • Hi John,

    Could you let me know how you connect CC2530 to Beaglebone Black and Linux driver modified by you?  I am trying to use Beaglebone Black with CC2530 and have difficulties.

    Thank you.

    JKim

  • Hi,

        I'm trying to connect AM437x GP EVM to cc2530 zigbee module through SPI interface. I want to test the wireless communication between 2 zigbee modules connected to AM437x. I do not have a dongle. Can I configure one module as a remote controller and another module as an target Node and test the pairing? Or do you suggest to check the functionality to pair using a dongle.

    Regards,

      Asha