In the 8-bit SDK, the capsense library has been updated from SDK versions 4.08 to 4.09. This update primarily changed how capsense thresholds are assigned. Previously, threshold values were global - one set of threshold values applied to all capsense inputs. This works fine for situations where all capsense inputs are approximately the same size, but it is incompatible with systems with varying capsense input button sizes, or for situations where different thresholds are needed on a per-button basis.
This change was reflected in Hardware Configurator.
Previously, the global thresholds were located in the Capsense Library peripheral screen:
Now, the individual thresholds are located in each pin's settings, in the Port I/O tab.
The settings that were moved are: Average Touch Delta, Active Threshold, and Inactive Threshold.
On the Application Note webpage, the example code is organized by topic, such as ADC or UART. Check the beginning of the application note to determine if the application note is applicable to your MCU.
If the IDE is installed to the default directory, the example code is installed at:
C:\SiLabs\MCU\Examples
In the Examples directory, the example code is organized by the MCU family. There are over 1000 pieces of example code currently available in this directory.
Where can I find Ethernet examples for Silicon Labs MCUs?
Answer
Ethernet examples for the 'F12x and the 'F34x are attached to this article. These are the lowest layer, hardware-level routines intended to be interfaced with a Ethernet stack.
8-bit Knowledge Base
EFM8SB1 Capsense Library / Configurator update
In the 8-bit SDK, the capsense library has been updated from SDK versions 4.08 to 4.09. This update primarily changed how capsense thresholds are assigned. Previously, threshold values were global - one set of threshold values applied to all capsense inputs. This works fine for situations where all capsense inputs are approximately the same size, but it is incompatible with systems with varying capsense input button sizes, or for situations where different thresholds are needed on a per-button basis.
This change was reflected in Hardware Configurator.
Previously, the global thresholds were located in the Capsense Library peripheral screen:
The settings that were moved are: Average Touch Delta, Active Threshold, and Inactive Threshold.
复位时 Port I/O 状态
问题
端口I/O引脚在设备复位时状态是怎样的?
答案
在任何复位源(比如把复位引脚拉低)确认阶段,所有端口I/O引脚默认配置为数字输入且弱上拉状态。
English version: Port I/O State at Reset
Keil uVision查看不同存储器的值
问题
Keil uVision debug MCU时,如何查看直接寻址的片内RAM、间接寻址的片内RAM、扩展的外部RAM和代码存储空间 ?
答案
使用Keil uVision对MCU进行debug时,可通过其memory窗口查看不同存储器的值。
以debug EFM8UB2为例,
查看直接寻址的片内RAM时,在memory窗口输入D:0x00, 即可以查看从0x00地址开始的直接寻址的片内RAM的值
查看间接寻址的片内RAM时,在memory窗口输入I:0x00
查看扩展的外部RAM,在memory窗口输入X:0x0000
查看代码存储区域时,在memory窗口输入C:0x0000
建议在debug时使用Silabs推出的Simplicity Studio V4, 其界面更为直观,debug更为高效。
MCU Example Code
Question
Where can I find example code for the C8051xxxx MCU?
Answer
Example code for Silicon Labs's MCUs is available in two main locations.
The first is the Application Note webpage:
https://www.silabs.com/products/mcu/Pages/ApplicationNotes.aspx
On the Application Note webpage, the example code is organized by topic, such as ADC or UART. Check the beginning of the application note to determine if the application note is applicable to your MCU.
Example code is also part of the Silicon Labs IDE. The Silicon Labs IDE is available for download at:
https://www.silabs.com/products/mcu/Pages/SoftwareDownloads.aspx
If the IDE is installed to the default directory, the example code is installed at:
C:\SiLabs\MCU\Examples
In the Examples directory, the example code is organized by the MCU family. There are over 1000 pieces of example code currently available in this directory.
Ethernet Examples
Question
Where can I find Ethernet examples for Silicon Labs MCUs?
Answer
Ethernet examples for the 'F12x and the 'F34x are attached to this article. These are the lowest layer, hardware-level routines intended to be interfaced with a Ethernet stack.