8 years, 5 months ago.

Will there be LESENSE mbed support for the Leopard Gecko?

Will there be LESENSE mbed support for the Leopard Gecko?

Also, will there be mbed Leopard Gecko SDK examples using its ambient light sensor and the LC sensor?

Question relating to:

Silicon Labs' EFM32™ Leopard Gecko ARM® Cortex®-M3 based 32-bit microcontrollers (MCUs) provide flash memory configurations up to 256 kB, 32 kB of RAM and CPU speeds up to 48 MHz. …

1 Answer

8 years, 4 months ago.

Hi Keith,

because LESENSE is a very chip/vendor-specific construct, it will likely never have an 'official' API provided by mbed. Quite simply because it wouldn't be implementable by all vendors. However, we do have example code for LESENSE in our application note library, for example AN0029 and its supporting files. You can access those through our Simplicity Studio IDE.

You can take a look at how vendor-specific functionality like this could be implemented by having a peek at the capsense-driver posted on our team page: https://developer.mbed.org/teams/SiliconLabs/code/EFM32_CapSenseSlider/

For the time being, we don't have immediate plans to wrap the LESENSE functionality in an mbed-specific library. Since it is so widely applicable, we encourage you to use the available emlib functions instead, which are automatically included in the mbed build. For emlib documentation, check the 'Software Documentation' tile in Simplicity Studio.

Accepted Answer

Thank you for the feedback. I will explore the CapSenseSlider example as well as AN0029.

posted by Keith Graham 07 Dec 2015