Other Parts Discussed in Thread: CC2541, CC2540
Hi,
I have two questions about the CC2541.
1.) What pins do I connect Analog Inputs?
2.) Does it have an on board oscrillator? and Does it have to run from a crystal?
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.
1. GPIOs P0.0-P0.7 (read chapter 7 in CC2540/41 userguide)
2. The real time clock accuracy requirement for BLE means you'd need the 32kHz crystal, as the internal RC oscillator is not accurate enough. The 32MHz crystal is mandatory and used as system clock.
Thank you for the answer. Can you please help me with something else? 1.) What pins do I connect Analog I/O inputs? The guide said there is 8 channels but I only see 5 and 2 of those are being used by the crystal oscillator (XOSC_Q1 & XOSC_Q2). The other 3 i found where on Pin 33,32 & 30. Where are the other 3?
Miguel
Port P0.0-P0.7 are your analog inputs. Pins 12 to 19 on the chip. Pg 88 in the user guide has info about the different registers that you'd have to set to use the port P0 as an analog port.
Chatto,
Thank you. Do you now a lot about the CC2540/41? The company I work for wants to use the chip for a volume remote control. THey want to use bluetooth. So they have asked me to program the chip but I have no idea how to program the chip. I got the CC2540Mini DK and was able to run the examples they gave me but I dont know how to program the chip in order to be used for volume control?? We have CCS. Do i write the program on there or something else? To tell you the truth I dont even know where to start. Is there already a program written that I could download on to the CC2540 for volume control?
Miguel
Miguel
My focus is more HW/RF. I know we have made CC2541 based remote controls for set top boxes. A good starting point for you would be the link below. You will find a ton of relevant info that you can start your project with.
Hello,
You need IAR compiler for 8051 to program the CC2540/CC2541 chips. Another option is to load them with HostTestRelease and interface with UART or SPI from another micro controller. We will have remote control reference design and kit released 1-2 months. This operates over HID over GATT. To get started, I recommend downloading IAR compiler 30 day trial, and go through some of the sample projects included with 1.3 release.
BR,
-Greg
Hi Randy,
That is correct. The only supported compiler/debugger is IAR. Our next generation RF devices will be supported by Code Composer.
/Fredrik