Support for the Firefly board. More...
Support for the Firefly board.
The Firefly platform (Revision A) is a IoT Hardware development platform based on TI's CC2538 system on chip (SoC), featuring an ARM Cortex-M3 with 512KiB flash, 32KiB RAM, double RF interface (Sub-1GHz CC1200 RF transceiver), and the following goodies:
In terms of hardware support, the following drivers have been implemented for the CC2538 System-on-Chip:
And under work or pending at CC2538 base CPU:
The toolchain used to build is arm-gcc, to check if it is currently installed run:
$ arm-none-eabi-gcc -v Using built-in specs. Target: arm-none-eabi Configured with: /scratch/julian/lite-respin/eabi/src/gcc-4.3/configure ... (skip) ... Thread model: single gcc version 4.3.2 (Sourcery G++ Lite 2008q3-66)
Else install from https://launchpad.net/gcc-arm-embedded
The Firefly features a CP2104 serial-to-USB module, the driver is commonly found in most OS, but if required it can be downloaded from https://www.silabs.com/products/development-tools/software/usb-to-uart-bridge-vcp-drivers
The Firefly has built-in support for USB 2.0 USB, Vendor and Product IDs are the following:
VID 0x0451 PID 0x16C8
On Linux and macOS this is straightforward, on windows you need to install the following driver:
And replace the IDs accordingly.
For the UART, serial line settings are 115200 8N1, no flow control.
Once all drivers have been installed correctly:
On windows, devices will appear as a virtual
On Linux, devices will appear under
ttyACMn(n=0, 1, ....)
To emulate this board you need an updated version of renode installed, at least version 1.9.
|Board specific configuration of direct mapped ADC. |
|Support for the Firefly board. |
|Board specific configuration of direct mapped GPIOs. |
|Peripheral MCU configuration for the Firefly board revision A. |