The CC2540F256RHAR is a Bluetooth Low Energy (BLE) SoC (System on Chip) developed by Texas Instruments (TI). This specific model is part of the CC2540 series and features a 256KB flash memory and 8KB RAM. Below is the detailed explanation you requested for its pin function specifications, the package, and the corresponding pin function list.
Package and Pinout
The CC2540F256RHAR is available in a QFN-48 (Quad Flat No-leads) package with 48 pins. Here is a breakdown of the pinout, followed by the corresponding functions:
Pin Function Table for CC2540F256RHAR (QFN-48)
The CC2540F256RHAR has 48 pins. The detailed function of each pin is as follows:
Pin Number Pin Name Function 1 VDD Power Supply (2.0 - 3.6V) 2 P1.0 General I/O (GPIO), UART RX, Timer Input 3 P1.1 General I/O (GPIO), UART TX, Timer Output 4 P1.2 General I/O (GPIO), SPI MISO 5 P1.3 General I/O (GPIO), SPI MOSI 6 P1.4 General I/O (GPIO), SPI SCK 7 P1.5 General I/O (GPIO), SPI Chip Select 8 P1.6 General I/O (GPIO), Timer Input 9 P1.7 General I/O (GPIO), Timer Output 10 P2.0 General I/O (GPIO), PWM Output 11 P2.1 General I/O (GPIO), PWM Input 12 P2.2 General I/O (GPIO), ADC Input 13 P2.3 General I/O (GPIO), ADC Input 14 P2.4 General I/O (GPIO), ADC Input 15 P2.5 General I/O (GPIO), ADC Input 16 P2.6 General I/O (GPIO), External Interrupt 17 P2.7 General I/O (GPIO), External Interrupt 18 P3.0 General I/O (GPIO), I2C SDA (Data Line) 19 P3.1 General I/O (GPIO), I2C SCL ( Clock Line) 20 P3.2 General I/O (GPIO), UART RTS (Request to Send) 21 P3.3 General I/O (GPIO), UART CTS (Clear to Send) 22 P3.4 General I/O (GPIO), SPI MISO 23 P3.5 General I/O (GPIO), SPI MOSI 24 P3.6 General I/O (GPIO), SPI SCK 25 P3.7 General I/O (GPIO), SPI Chip Select 26 RST Reset Pin (Active Low) 27 XOSC1 External Oscillator Pin (High-Speed Crystal Input) 28 XOSC2 External Oscillator Pin (High-Speed Crystal Output) 29 VSS Ground Pin 30 VDD Power Supply (2.0 - 3.6V) 31 RF _P RF Signal (Output, connected to antenna ) 32 RF_N RF Signal (Grounded, used for antenna matching) 33 NC No Connection (Reserved for future use) 34 NC No Connection (Reserved for future use) 35 NC No Connection (Reserved for future use) 36 NC No Connection (Reserved for future use) 37 NC No Connection (Reserved for future use) 38 NC No Connection (Reserved for future use) 39 NC No Connection (Reserved for future use) 40 NC No Connection (Reserved for future use) 41 NC No Connection (Reserved for future use) 42 NC No Connection (Reserved for future use) 43 NC No Connection (Reserved for future use) 44 NC No Connection (Reserved for future use) 45 NC No Connection (Reserved for future use) 46 NC No Connection (Reserved for future use) 47 NC No Connection (Reserved for future use) 48 NC No Connection (Reserved for future use)Pin Function Details
P1.x pins (Pin 2-9): These pins are general-purpose I/O pins. They can be used for multiple functions like UART, SPI, or Timer I/O. The exact functionality is configured via software. P2.x pins (Pin 10-17): These pins are general-purpose I/O pins. Some of these pins are capable of PWM outputs, ADC inputs, and external interrupt functionality. P3.x pins (Pin 18-25): Similar to P1.x and P2.x, these pins are general-purpose I/O pins that can be used for I2C, UART, and SPI. XOSC1, XOSC2 (Pin 27-28): These are the crystal oscillator pins for connecting an external oscillator. RFP, RFN (Pin 31-32): These are used for the RF signal in Bluetooth communication, typically connected to an antenna.FAQ - 20 Common Questions About CC2540F256RHAR
What is the supply voltage for the CC2540F256RHAR? The supply voltage should be between 2.0V and 3.6V. How many pins does the CC2540F256RHAR have? It has 48 pins in the QFN-48 package. What are the main communication protocols supported by CC2540F256RHAR? It supports UART, SPI, I2C, and PWM for communication. Can I use the CC2540F256RHAR with an external crystal oscillator? Yes, it supports external crystal oscillators via the XOSC1 and XOSC2 pins. What is the RF functionality of the CC2540F256RHAR? The RF functionality is provided through the RFP and RFN pins, which are connected to the antenna for Bluetooth communication. What does the RST pin do? The RST pin is the reset pin, and it must be pulled low to reset the device. What is the maximum clock frequency for the CC2540F256RHAR? The maximum clock frequency is 32 MHz when using an external crystal oscillator. Can I use the GPIO pins for ADC inputs? Yes, some of the GPIO pins (e.g., P2.x) can be used as ADC inputs. Does the CC2540F256RHAR support PWM? Yes, it supports PWM on several GPIO pins (e.g., P2.0, P2.1).How many UART interface s does the CC2540F256RHAR support?
It supports one UART interface that can be configured for RX, TX, RTS, and CTS.Can the CC2540F256RHAR communicate via SPI?
Yes, it supports SPI communication using pins P1.2 to P1.5.How many I2C interfaces does the CC2540F256RHAR have?
It has one I2C interface, with pins P3.0 and P3.1 dedicated to the SDA and SCL lines, respectively.How do I reset the CC2540F256RHAR?
You can reset the chip by pulling the RST pin low and then releasing it.What is the typical power consumption of the CC2540F256RHAR?
The power consumption varies depending on the mode. In active mode, it typically consumes around 10mA.What is the storage capacity of the CC2540F256RHAR?
It has 256KB of flash memory and 8KB of RAM.Can the CC2540F256RHAR be used in a battery-powered application?
Yes, it is designed to be power-efficient, making it suitable for battery-powered devices.What is the operating temperature range of the CC2540F256RHAR?
The typical operating temperature range is from -40°C to 85°C.Is the CC2540F256RHAR compatible with Bluetooth 5.0?
No, it supports Bluetooth 4.0 (BLE).What type of antenna can be used with the CC2540F256RHAR?
It can be used with various external antennas connected to the RFP and RFN pins.How do I program the CC2540F256RHAR?
It can be programmed via the UART or JTAG interface using Texas Instruments’ development tools.This detailed explanation covers the essential pin functions and FAQ for the CC2540F256RHAR, ensuring you have a comprehensive understanding of the chip's capabilities and use.