MA160014 Microchip Technology, MA160014 Datasheet - Page 284

MOD PLUG-IN 44PIN PIC18LF45K22

MA160014

Manufacturer Part Number
MA160014
Description
MOD PLUG-IN 44PIN PIC18LF45K22
Manufacturer
Microchip Technology
Series
PIC® XLP™ 18Fr
Datasheet

Specifications of MA160014

Accessory Type
Plug-In Module (PIM) - PIC18LF45K10
Product
Microcontroller Modules
Data Bus Width
8 bit
Core Processor
PIC18LF45K22
Interface Type
I2C, SPI
Operating Supply Voltage
1.8 V to 5.5 V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
PICDEM PIC18 Explorer, DM183032
Lead Free Status / Rohs Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
MA160014
Manufacturer:
Microchip Technology
Quantity:
135
Part Number:
MA160014
Manufacturer:
MICROCHIP
Quantity:
12 000
PIC18(L)F2X/4XK22
16.4.1.5
1.
2.
3.
FIGURE 16-10:
FIGURE 16-11:
DS41412D-page 284
TXx/CKx pin
(SCKP = 1)
TXx/CKx pin
(SCKP = 0)
TRMT bit
RXx/DTx
pin
Write to
TXREGx Reg
TXxIF bit
(Interrupt Flag)
TXEN bit
Note:
Initialize the SPBRGHx, SPBRGx register pair
and the BRGH and BRG16 bits to achieve the
desired baud rate (see
Baud Rate Generator
Set the RXx/DTx and TXx/CKx TRIS controls to
‘1’.
Enable the synchronous master serial port by
setting bits SYNC, SPEN and CSRC. Set the
TRIS bits corresponding to the RXx/DTx and
TXx/CKx I/O pins.
‘1’
Synchronous Master Transmission
Setup:
Sync Master mode, SPBRGx = 0, continuous transmission of two 8-bit words.
Write Word 1
TXREGx reg
RXx/DTx pin
TXx/CKx pin
TRMT bit
TXxIF bit
TXEN bit
Write to
SYNCHRONOUS TRANSMISSION
SYNCHRONOUS TRANSMISSION (THROUGH TXEN)
bit 0
Section 16.3 “EUSART
(BRG)”).
Write Word 2
bit 1
Word 1
bit 0
bit 2
Preliminary
bit 1
bit 7
4.
5.
6.
7.
8.
9.
Disable Receive mode by clearing bits SREN
and CREN.
Enable Transmit mode by setting the TXEN bit.
If 9-bit transmission is desired, set the TX9 bit.
If interrupts are desired, set the TXxIE, GIE/
GIEH and PEIE/GIEL interrupt enable bits.
If 9-bit transmission is selected, the ninth bit
should be loaded in the TX9D bit.
Start transmission by loading data to the
TXREGx register.
bit 2
bit 0
Word 2
bit 1
bit 6
 2010 Microchip Technology Inc.
bit 7
bit 7
‘1’

Related parts for MA160014