BS66F3x0 and BS67F3x0 Enhanced Touch Flash MCU Application Guidelines AN0431E V1.00 1 / 20 December 11, 2016 BS66F3x0 and BS67F3x0 Enhanced Touch Flash MCU Application Guidelines D/N:AN0431E Introduction Holtek’s Enhanced Touch A/D Flash MCUs, the BS66F340/350/360/370, and Enhanced Touch A/D LCD Flash MCUs, the BS67F340/350/360/370, integrate the enhanced Touch Key Engine V3.2 version, which with its hardware acceleration circuitry, offers superior Touch Key algorithm efficiency. These devices also provide highly integrated SoC solutions, which can allow both master control MCU and touch key functions to be implemented in the same MCU. Some of the special characteristics of the devices can be seen in their industrial quality specification of -40°C~85°C, operating voltage range of 2.2V~5.5V, Flash Program Memory capacity of 4K/8K/16K/32K words, SRAM Data Memory capacity of 512/768/1024/1536 bytes, touch keys pin-shared with I/O ports, I²C, SPI and UART interfaces, fully integrated high accuracy RC oscillator, four selectable Low Voltage Reset voltages and eight selectable Low Voltage Detector voltages. Containing 16, 20, 28 or 36 touch keys and in addition to the advantages of the previous generation devices, these new devices have an enhanced touch detection rate and improved anti-interference abilities. The BS66F3x0 internal LED drivers support four segments with current output control which can drive LED displays directly without requiring additional external current-limiting resistors or transistors. With fewer components and lower costs, the devices will find excellent use in small appliances which require more touch keys and include LED display as well as multiple functions, such as thermostats, electric cookers, microwave ovens, consumer electronic products and others. The BS67F3x0 internal 1/3 Bias R-Type and C-Type LCD drivers, which are able to drive LCD panel display directly, support 24SEG × 4COM, 32SEG × 4COM, 40SEG × 4COM and 48SEG × 4COM. With fewer components and lower costs, the devices will find excellent use in small appliances which require more touch keys and include LCD display as well as multiple functions, such as thermostats, electric cookers, microwave ovens, consumer electronic products and others. The BS66F3x0 and BS67F3x0 devices also include an 8-channel 12-bit A/D converter for temperature, humidity and other voltage measurements for products such as thermostats, electric cookers, electric ovens and other products. With their integrated 128×8 EEPROM, the devices can store application parameters and settings directly. By also including
20
Embed
BS66F3x0 and BS67F3x0 Enhanced Touch Flash MCU Application ... · BS66F3x0 and BS67F3x0 Enhanced Touch Flash MCU Application Guidelines. AN0431E V1.00 1 / 20 December 11, 2016 . BS66F3x0
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
BS66F3x0 and BS67F3x0 Enhanced Touch Flash MCU Application Guidelines
AN0431E V1.00 1 / 20 December 11, 2016
BS66F3x0 and BS67F3x0 Enhanced Touch Flash MCU Application Guidelines
D/N:AN0431E
Introduction Holtek’s Enhanced Touch A/D Flash MCUs, the BS66F340/350/360/370, and Enhanced
Touch A/D LCD Flash MCUs, the BS67F340/350/360/370, integrate the enhanced Touch
Key Engine V3.2 version, which with its hardware acceleration circuitry, offers superior
Touch Key algorithm efficiency. These devices also provide highly integrated SoC solutions,
which can allow both master control MCU and touch key functions to be implemented in the
same MCU. Some of the special characteristics of the devices can be seen in their
industrial quality specification of -40°C~85°C, operating voltage range of 2.2V~5.5V, Flash
Program Memory capacity of 4K/8K/16K/32K words, SRAM Data Memory capacity of
512/768/1024/1536 bytes, touch keys pin-shared with I/O ports, I²C, SPI and UART
interfaces, fully integrated high accuracy RC oscillator, four selectable Low Voltage Reset
voltages and eight selectable Low Voltage Detector voltages. Containing 16, 20, 28 or 36
touch keys and in addition to the advantages of the previous generation devices, these new
devices have an enhanced touch detection rate and improved anti-interference abilities.
The BS66F3x0 internal LED drivers support four segments with current output control
which can drive LED displays directly without requiring additional external current-limiting
resistors or transistors. With fewer components and lower costs, the devices will find
excellent use in small appliances which require more touch keys and include LED display
as well as multiple functions, such as thermostats, electric cookers, microwave ovens,
consumer electronic products and others.
The BS67F3x0 internal 1/3 Bias R-Type and C-Type LCD drivers, which are able to drive
These settings should be rewritten by the software before each key is scanned.
Before the key scan operations, all key settings should be written to the RAM, and then these settings will be automatically loaded in sequence by the hardware.
C/F counter values
These values should be re-read by the software after each key is scanned.
In the key scan process, the C/F counter results will be automatically written to the RAM in sequence by the hardware, and then read from the RAM by the software.
Touch Key scanning sequence
One key in each module will be scanned. The scanning sequence is switched by the software.
The hardware will automatically scan all the four keys in each module in a specific sequence which can be adjusted flexibly.
Interrupts
After one key in each module has been scanned, an interrupt request flag will be generated. That is, four interrupts for one scan cycle.
After the last key in all modules has been scanned, an interrupt request flag will be generated. That is, one interrupt for one scan cycle.
Touch Key RAM None
The used RAM size is different according to the number of touch keys. When the Touch Key function is not used, the RAM can be used for normal user RAM storage.
The number of registers
Common: 28 bit register Each Module: 41 bit register
Common: 31 bit register Each Module: 47 bit register
Operation modes Firmware (V3.0) control Firmware (V3.0) / Auto control (V3.2)
Touch MCU Development Platform – Touch MCU Workshop In order to help customers rapidly develop their touch products, Holtek provides a Touch
MCU Workshop to assist customers to quickly implement BS66F3x0 and BS67F3x0 touch
switch functions. The main features are as follows:
Customers do not need to develop the underlying touch program code themselves
Easy to use, allowing entry-level developers to get started quickly
The touch key functions can be implemented using drag and drop operations
Based on the program framework generated by the platform, users can modify or
expand their program
Easy to add other MCU functions besides touch key function for fast application
development
Open libraries for which users can add their own MCU functional program
Can be an assistive tool for project management
BS66F3x0 and BS67F3x0 Enhanced Touch Flash MCU Application Guidelines