PIC16LF723A-I/ML Microchip Technology, PIC16LF723A-I/ML Datasheet - Page 151

MCU PIC 3.5K FLASH XLP 28-QFN

PIC16LF723A-I/ML

Manufacturer Part Number
PIC16LF723A-I/ML
Description
MCU PIC 3.5K FLASH XLP 28-QFN
Manufacturer
Microchip Technology
Series
PIC® XLP™ 16Fr
Datasheets

Specifications of PIC16LF723A-I/ML

Core Size
8-Bit
Program Memory Size
7KB (4K x 14)
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Core Processor
PIC
Speed
20MHz
Connectivity
I²C, SPI, UART/USART
Number Of I /o
25
Program Memory Type
FLASH
Ram Size
192 x 8
Voltage - Supply (vcc/vdd)
1.8 V ~ 3.6 V
Data Converters
A/D 11x8b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
28-VQFN Exposed Pad, 28-HVQFN, 28-SQFN, 28-DHVQFN
Controller Family/series
PIC16LF
No. Of I/o's
25
Ram Memory Size
192Byte
Cpu Speed
20MHz
No. Of Timers
3
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Eeprom Size
-
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
16.3.2
The following bits are used to configure the AUSART
for Synchronous slave operation:
• SYNC = 1
• CSRC = 0
• SREN = 0 (for transmit); SREN = 1 (for receive)
• CREN = 0 (for transmit); CREN = 1 (for receive)
• SPEN = 1
Setting the SYNC bit of the TXSTA register configures
the device for synchronous operation. Clearing the
CSRC bit of the TXSTA register configures the device as
a slave. Clearing the SREN and CREN bits of the RCSTA
register ensures that the device is in the Transmit mode,
otherwise the device will be configured to receive. Setting
the SPEN bit of the RCSTA register enables the
AUSART.
16.3.2.1
The operation of the Synchronous Master and Slave
modes
“Synchronous Master Transmission”), except in the
case of the Sleep mode.
TABLE 16-8:
 2010 Microchip Technology Inc.
INTCON
PIE1
PIR1
RCSTA
TRISC
TXREG
TXSTA
Legend:
Name
are
x = unknown, - = unimplemented read as ‘0’. Shaded cells are not used for Synchronous Slave Transmission.
SYNCHRONOUS SLAVE MODE
AUSART Transmit Data Register
TMR1GIE
TMR1GIF
TRISC7
AUSART Synchronous Slave
Transmit
SPEN
CSRC
Bit 7
identical
GIE
REGISTERS ASSOCIATED WITH SYNCHRONOUS SLAVE TRANSMISSION
TRISC6
PEIE
ADIE
ADIF
Bit 6
RX9
TX9
(refer
TRISC5
to
SREN
TXEN
RCIE
RCIF
Bit 5
T0IE
Section 16.3.1.2
TRISC4
CREN
SYNC
Bit 4
INTE
TXIE
TXIF
ADDEN
TRISC3
SSPIE
SSPIF
RBIE
Bit 3
PIC16F/LF722A/723A
CCP1IE
CCP1IF
TRISC2
If two words are written to the TXREG and then the
SLEEP instruction is executed, the following will occur:
1.
2.
3.
4.
5.
16.3.2.2
1.
2.
3.
4.
5.
6.
7.
8.
BRGH
FERR
Bit 2
T0IF
The first character will immediately transfer to
the TSR register and transmit.
The second word will remain in TXREG register.
The TXIF bit will not be set.
After the first character has been shifted out of
TSR, the TXREG register will transfer the second
character to the TSR and the TXIF bit will now be
set.
If the PEIE and TXIE bits are set, the interrupt
will wake the device from Sleep and execute the
next instruction. If the GIE bit is also set, the
program will call the Interrupt Service Routine.
Set the SYNC and SPEN bits and clear the
CSRC bit.
Clear the CREN and SREN bits.
If using interrupts, ensure that the GIE and PEIE
bits of the INTCON register are set and set the
TXIE bit.
If 9-bit transmission is desired, set the TX9 bit.
Enable transmission by setting the TXEN bit.
Verify address detection is disabled by clearing
the ADDEN bit of the RCSTA register.
If 9-bit transmission is selected, insert the Most
Significant bit into the TX9D bit.
Start
Significant 8 bits to the TXREG register.
TMR2IE
TMR2IF
TRISC1
OERR
TRMT
Bit 1
INTF
transmission
Synchronous Slave Transmission
Set-up:
TMR1IE
TMR1IF
TRISC0
RX9D
TX9D
Bit 0
RBIF
by
0000 000x
0000 0000
0000 0000
0000 000X
1111 1111
0000 0000
0000 -010
POR, BOR
Value on
writing
DS41417A-page 151
the
0000 000x
0000 0000
0000 0000
0000 000X
1111 1111
0000 0000
0000 -010
Value on
all other
Resets
Least

Related parts for PIC16LF723A-I/ML