64
SWRU271H–October 2010–Revised April 2019
Submit Documentation Feedback
Copyright © 2010–2019, Texas Instruments Incorporated
Drivers
Chapter 6
SWRU271H–October 2010–Revised April 2019
Drivers
6.1 Overview
The hardware abstraction layer (HAL) of the CC254x software provides an interface of abstraction
between the physical hardware and the application and/or protocol stack. This HAL allows for the
development of new hardware (such as a new PCB) without making changes to the protocol stack or
application source code. The HAL includes software for the SPI and UART communication interfaces,
AES, keys, LCD, and LEDs. The HAL drivers that support the following hardware platforms include the
following:
• SmartRF05EB + CC2540EM
• SmartRF05EB + CC2541EM
• CC2540 Keyfob
• CC2541 Keyfob
• CC2541 SensorTag
• CC2540 USB Dongle
When developing with a different hardware platform, you might need to modify the HAL source for
compatablility.
Find the HAL files in the sample projects by doing the following:
1. Click HAL.
2. Click Target.
3. Click CC2540EB.
4. Click Drivers, see Figure 6-1.