DSPIC30F5011-20I/PTG Microchip Technology, DSPIC30F5011-20I/PTG Datasheet - Page 105
![no-image](/images/manufacturer_photos/0/4/439/microchip_technology_sml.jpg)
DSPIC30F5011-20I/PTG
Manufacturer Part Number
DSPIC30F5011-20I/PTG
Description
IC, DSC, 16BIT, 66KB, 40MHZ 5.5V TQFP-64
Manufacturer
Microchip Technology
Series
DsPIC30Fr
Datasheet
1.DSPIC30F5011-20IPTG.pdf
(222 pages)
Specifications of DSPIC30F5011-20I/PTG
Core Frequency
40MHz
Core Supply Voltage
5.5V
Embedded Interface Type
CAN, I2C, SPI, UART
No. Of I/o's
52
Flash Memory Size
66KB
Supply Voltage Range
2.5V To 5.5V
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
- Current page: 105 of 222
- Download datasheet (4Mb)
16.5.2
The FERR bit (UxSTA<2>) is set if a ‘0’ is detected
instead of a Stop bit. If two Stop bits are selected, both
Stop bits must be ‘1’, otherwise FERR will be set. The
read-only FERR bit is buffered along with the received
data. It is cleared on any Reset.
16.5.3
The PERR bit (UxSTA<3>) is set if the parity of the
received word is incorrect. This error bit is applicable
only if a Parity mode (odd or even) is selected. The
read-only PERR bit is buffered along with the received
data bytes. It is cleared on any Reset.
16.5.4
When the receiver is active (i.e., between the initial
detection of the Start bit and the completion of the Stop
bit), the RIDLE bit (UxSTA<4>) is ‘0’. Between the com-
pletion of the Stop bit and detection of the next Start bit,
the RIDLE bit is ‘1’, indicating that the UART is Idle.
16.5.5
The receiver will count and expect a certain number of
bit times based on the values programmed in the
PDSEL (UxMODE<2:1>) and STSEL (UxMODE<0>)
bits.
If the break is longer than 13 bit times, the reception is
considered complete after the number of bit times
specified by PDSEL and STSEL. The URXDA bit is set,
FERR is set, zeros are loaded into the receive FIFO,
interrupts are generated if appropriate and the RIDLE
bit is set.
When the module receives a long break signal and the
receiver has detected the Start bit, the data bits and the
invalid Stop bit (which sets the FERR), the receiver
must wait for a valid Stop bit before looking for the next
Start bit. It cannot assume that the break condition on
the line is the next Start bit.
Break is regarded as a character containing all ‘0’s with
the FERR bit set. The break character is loaded into the
buffer. No further reception can occur until a Stop bit is
received. Note that RIDLE goes high when the Stop bit
has not yet been received.
© 2008 Microchip Technology Inc.
FRAMING ERROR (FERR)
PARITY ERROR (PERR)
IDLE STATUS
RECEIVE BREAK
16.6
Setting the ADDEN bit (UxSTA<5>) enables this
special mode in which a 9th bit (URX8) value of ‘1’
identifies the received word as an address, rather than
data. This mode is only applicable for 9-bit data
communication. The URXISEL control bit does not
have any impact on interrupt generation in this mode
since an interrupt (if enabled) will be generated every
time the received word has the 9th bit set.
16.7
Setting the LPBACK bit enables this special mode in
which the UxTX pin is internally connected to the UxRX
pin. When configured for the Loopback mode, the
UxRX pin is disconnected from the internal UART
receive logic. However, the UxTX pin still functions as
in a normal operation.
To select this mode:
a)
b)
c)
16.8
The UART has a 16-bit Baud Rate Generator to allow
maximum flexibility in baud rate generation. The Baud
Rate Generator register (UxBRG) is readable and
writable. The baud rate is computed as follows:
BRG = 16-bit value held in UxBRG register
F
The Baud Rate is given by Equation 16-1.
EQUATION 16-1:
Therefore, the maximum baud rate possible is
F
and the minimum baud rate possible is
F
With a full 16-bit Baud Rate Generator at 30 MIPS
operation, the minimum baud rate achievable is
28.5 bps.
CY
CY
CY
dsPIC30F5011/5013
Configure UART for desired mode of operation.
Set LPBACK = 1 to enable Loopback mode.
Enable transmission as defined in Section 16.3
“Transmitting Data”.
/16 (if BRG = 0),
/ (16* 65536).
= Instruction Clock Rate (1/T
(0 through 65535)
Address Detect Mode
Loopback Mode
Baud Rate Generator
Baud Rate = F
BAUD RATE
CY
/ (16*(BRG+1))
CY
DS70116H-page 105
)
Related parts for DSPIC30F5011-20I/PTG
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![DSPIC30F5011-20I/PT](/photos/6/81/68123/c04-066_pf_tmb.jpg)
Part Number:
Description:
IC DSPIC MCU/DSP 66K 64TQFP
Manufacturer:
Microchip Technology
Datasheet:
![DSPIC30F5011-20E/PT](/photos/6/81/68123/c04-066_pf_tmb.jpg)
Part Number:
Description:
IC,DSP,16-BIT,CMOS,TQFP,64PIN,PLASTIC
Manufacturer:
Microchip Technology
Datasheet:
![DSPIC30F5011-30I/PT](/photos/6/81/68123/c04-066_pf_tmb.jpg)
Part Number:
Description:
IC DSPIC MCU/DSP 66K 64TQFP
Manufacturer:
Microchip Technology
Datasheet:
![DSPIC30F5011](/images/no-image3.png)
Part Number:
Description:
High-Performance Digital Signal Controllers
Manufacturer:
MICROCHIP [Microchip Technology]
Datasheet:
![DSPIC30F5011-30I/PTG](/photos/19/3/190367/42268274_tmb.jpg)
Part Number:
Description:
16BIT MCU-DSP 30MHZ, SMD, 30F5011
Manufacturer:
Microchip Technology
Datasheet:
![DSPIC30F5011-20E/PTG](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
Digital Signal Processors & Controllers - DSP, DSC 16 Bit MCU/DSP 64LD 20M 66KB FL
Manufacturer:
Microchip Technology
![DSPIC30F501130IP](/images/manufacturer_photos/0/4/439/microchip_technology_tmb.jpg)
Part Number:
Description:
IC DSPIC MCU/DSP 66K 64TQFP
Manufacturer:
Microchip Technology
Datasheet:
![DSPIC30F5013](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Dspic30f5011/5013 High-performance Digital Signal Controllers
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1014-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1014-5.0VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.5VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet:
![TC1055-2.7VCT](/images/manufacturer_photos/0/4/440/microchip_technology_inc__tmb.jpg)
Part Number:
Description:
Manufacturer:
Microchip Technology Inc.
Datasheet: