Quantcast
Channel: Forums - Recent Threads
Viewing all articles
Browse latest Browse all 262198

CC2531 USB HID examples problem

$
0
0

Hello,

 

I purchased CC2531 usb dongle and CC-Debugger.. And I couldnt send an ASCII string to PC or get it from PC.

To learn a USB HID example, we have 2 ways:

 

1- CC2531 examples (keyboard and mouse example)

It's ok. ı spent too much time to figure it out how a keyboard example works. At least, I could send "bcdef" to PC. It acted as a keyboard. When I run notepad, it always printed "bcdef" and also my compilers screen ! I erased "bcdef"s in my CC2531 program.

BUT, I converted my descriptor to send "bcdef" characters instead of acting as a keyboard. But it continued acting as a keyboard. 

So, it failed, lets dont waste time anymore and try MSP430 DevPack

 

2- MSP430 DevPack examples

There are lots of useful examples in folders (for HID). But when I want to open them with IAR Embedded it fails. I read html page and saw that there is a version difference. 

I downloaded suitable version of IAR but failure continued.

On the ohter hand, I tried to make a new software using both MSP430 DevPack examples and CC2531 examples. But I couldnt make it. 

 

So, I dont have other eval devices to plug in my CC2531. I want to communicate with my PC using HID interface (not CDC). I want to send simple characters.

Do you have any suggestions? 

Thank you,

 

Onur


Viewing all articles
Browse latest Browse all 262198

Trending Articles