BS86C08C/BS86D12C/BS86E16C/BS86D20C
Enhanced Touch A/D Flash MCU with LED Driver
I2C Interface – BS86C08C/BS86D12C/BS86E16C...........................................138
I2C Interface Operation..............................................................................................................138
I2C Registers .............................................................................................................................139
I2C Bus Communication ............................................................................................................142
I2C Time-out Control..................................................................................................................145
Serial Interface Module – SIM – BS86D20C....................................................146
SPI Interface .............................................................................................................................146
I2C Interface ..............................................................................................................................154
UART Interfaces................................................................................................163
UARTn External Pins ................................................................................................................164
UARTn Data Transfer Scheme .................................................................................................164
UARTn Status and Control Registers .......................................................................................164
Baud Rate Generator................................................................................................................170
UARTn Setup and Control ........................................................................................................170
UARTn Transmitter ...................................................................................................................172
UARTn Receiver .......................................................................................................................173
Managing Receiver Errors ........................................................................................................174
UARTn Interrupt Structure ........................................................................................................175
UARTn Power Down and Wake-up...........................................................................................176
Low Voltage Detector – LVD ............................................................................177
LVD Register.............................................................................................................................177
LVD Operation...........................................................................................................................178
Interrupts...........................................................................................................179
Interrupt Registers.....................................................................................................................181
Interrupt Operation....................................................................................................................187
External Interrupt.......................................................................................................................188
Touch Key Module Interrupt ......................................................................................................188
Time Base Interrupts.................................................................................................................188
I2C Interrupt – BS86C08C/BS86D12C/BS86E16C ...................................................................191
Serial Interface Module Interrupt – BS86D20C.........................................................................191
EEPROM Interrupt ....................................................................................................................191
UART Transfer Interrupts..........................................................................................................191
LVD Interrupt.............................................................................................................................192
A/D Converter Interrupt.............................................................................................................192
Multi-function Interrupt – BS86E16C/BS86D20C......................................................................192
TM Interrupts.............................................................................................................................192
Interrupt Wake-up Function.......................................................................................................193
Programming Considerations....................................................................................................193
Configuration Options......................................................................................194
Application Circuits..........................................................................................194
Instruction Set...................................................................................................195
Introduction ...............................................................................................................................195
Instruction Timing......................................................................................................................195
Rev. 1.41
5
November 10, 2023