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.

cc2540 and Hal_Uart function

Other Parts Discussed in Thread: CC2540

Hello everyone!

I'm univ. student. Plz help me. 

 

I have operated CC2540... I'd like to communicate cc2540's RS232 port and my PC (by Labview program...)

I think that i have to use several function, for example , HalUartopen(), HalUartread() etc.

 

But i have no idea how to use this function :(

 

If someone is aware my situation , please tell me just way!

And I wish a few example code that operated successful!!

  • Hello Kim,

    I am also working on same IC. did you get any further developement on Labview? I want to communicate through SPI from my pc to CC2540 using Labview. Please help me if you got any help till now.

    Thanks.

  • Shishir, I am also interested in integrating the chip with labview.

    Going through the example code I don't see where the HAL functions are called, and how I ferry info from the chip and to the chip.

    Molly : )

  • Hi Molly,

    In HostTestRelease example, look at "hci_ext_app.c" file. In this code, there is function definition HCI_EXT_App_Init(  ) . This function is always called when the device initialization takes place. Now if you put HAL functions or even any HCI command defined in hci.h file, then you can get results.

    I am trying in this way to write code for SPI communication between my pc and chip through LabView. I am using NI USB-8451 as intermidiate SPI interface for my pc.

    Please write me here if you get any success with SPI communication through LabView.

    Thanks and Regards,

    Shishir 

  • Hi Molly,

    I also found some SPI read and Write functions defined under KeyFob project under "cma3000d.c" file. Check it out please. May be helpful. :)