0% found this document useful (0 votes)
124 views5 pages

Micro Controlador PIC 12F675

The document compares the performance of different microcontrollers when using various data types. It shows the RAM and ROM used, execution cycles, and execution time for functions that initialize and calculate the square of variables of signed char, unsigned short, signed short, unsigned int, signed int, unsigned long, signed long and float types on the PIC12F675, PIC16F887, PIC18F4550 and dsPIC33FJ128GP802 microcontrollers. In general, larger data types require more RAM and ROM, have higher execution cycles and take longer execution times.

Uploaded by

Edy Escorcia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
124 views5 pages

Micro Controlador PIC 12F675

The document compares the performance of different microcontrollers when using various data types. It shows the RAM and ROM used, execution cycles, and execution time for functions that initialize and calculate the square of variables of signed char, unsigned short, signed short, unsigned int, signed int, unsigned long, signed long and float types on the PIC12F675, PIC16F887, PIC18F4550 and dsPIC33FJ128GP802 microcontrollers. In general, larger data types require more RAM and ROM, have higher execution cycles and take longer execution times.

Uploaded by

Edy Escorcia
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 5

Micro controlador PIC 12F675

Tipo de
variable
vectores

Ciclos De
Ejecucin
Func.
Inicializar

Ciclos De
Ejecucin
Func.
Inicializar

1.926

Tiempo
De
Ejecucin
Func.
Cuadrado
1.93 ms

256

256.00 us

1.926

1.93 ms

256

256.00 us

93 program
words
(9%)

1.926

1.93 ms

256

256.00 us

***

***

***

***

***

***

***

***

***

***

***

***

***

***

***

***

***

***

***

***

RAM
Utilizada

ROM
Utilizada

signed
char
(1 byte)
unsigned
short
(1 byte)

47 bytes
(98%)

93 program
words
(9%)
93 program
words
(9%)

signed
short
(1 byte)
unsigned
int
(2 byte)

47 bytes
(98%)

signed int
(2 byte)
unsigned
long
(4 byte)

signed
long
(4 byte)

47 bytes
(98%)

Not enough
RAM
'vector2'
Not enough
RAM
'vector2'
Not enough
RAM
'vector1'
Not enough
RAM
'vector2'
Not
enough
RAM 'm'
Not enough
RAM
'vector1'
Not enough
RAM
'vector2'
Not
enough
RAM 'm'

Ciclos De
Ejecucin
Func.
Cuadrado

float
(4 byte)

Not enough
RAM
'vector1'
Not enough
RAM
'vector2'
Not
enough
RAM 'm'

***

***

***

***

***

Ciclos De
Ejecucin
Func.
Cuadrado

Ciclos De
Ejecucin
Func.
Inicializar

Ciclos De
Ejecucin
Func.
Inicializar

258

258.00 us

Micro controlador PIC 16F887


Tipo de
variable
vectores

RAM
Utilizada

ROM
Utilizada

signed
char
(1 byte)
unsigned
short
(1 byte)

47 bytes
(13%)

97 program
words
(1%)
97 program
words
(1%)

1.927

Tiempo
De
Ejecucin
Func.
Cuadrado
1.93 ms

1.927

1.93 ms

258

258.00 us

signed
short
(1 byte)
unsigned
int
(2 byte)

47 bytes
(13%)

1.927

1.93 ms

258

258.00 us

3.678

3.68 ms

318

318.00 us

signed int
(2 byte)

87 bytes
(25%)

3.678

3.68 ms

318

318.00 us

unsigned
long

167 bytes
(47%)

97 program
words
(1%)
128
program
words
(2%)
128
program
words
(2%)
160
program

11.376

11.38 ms

398

398.00 us

47 bytes
(13%)

87 bytes
(25%)

(4 byte)
signed
long
(4 byte)

167 bytes
(47%)

float
(4 byte)

168 bytes
(48%)

words
(2%)
160
program
words
(2%)
349
program
words
(4%)

11.376

11.38 ms

398

398.00 us

1.850

1.85 ms

2.916

2.92 ms

Ciclos De
Ejecucin
Func.
Cuadrado

Ciclos De
Ejecucin
Func.
Inicializar

Ciclos De
Ejecucin
Func.
Inicializar

295

295.00 us

Micro controlador PIC 18F4550


Tipo de
variable
vectores

RAM
Utilizada

ROM
Utilizada

signed
char
(1 byte)
unsigned
short
(1 byte)

94 bytes
(5%)

166 bytes
(1%)

539

Tiempo
De
Ejecucin
Func.
Cuadrado
539.00 us

94 bytes
(5%)

162 bytes
(1%)

499

499.00 us

295

295.00 us

signed
short
(1 byte)
unsigned
int
(2 byte)
signed int
(2 byte)

94 bytes
(5%)

166 bytes
(1%)

539

539.00 us

295

295.00 us

134 bytes
(7%)

278 bytes
(1%)

1.560

1.56 ms

397

397.00 us

134 bytes
(7%)

278 bytes
(1%)

1.560

1.56 ms

397

397.00 us

unsigned
long
(4 byte)

214 bytes
(11%)

308 bytes
(1%)

11.440

11.44 ms

437

437.00 us

signed
long
(4 byte)
float
(4 byte)

214 bytes
(11%)

308 bytes
(1%)

11.440

11.44 ms

437

437.00 us

214 bytes
(11%)

1106 bytes
(3%)

3.110

3.11 ms

2.440

2.44 ms

Ciclos De
Ejecucin
Func.
Cuadrado

Ciclos De
Ejecucin
Func.
Inicializar

Ciclos De
Ejecucin
Func.
Inicializar

294

Tiempo
De
Ejecucin
Func.
Cuadrado
147.00 us

175

87.50 us

294

147.00 us

175

87.50 us

294

147.00 us

175

87.50 us

255

127.50 us

195

97.50 us

Micro controlador dsPIC 33FJ128GP802


Tipo de
variable
vectores

RAM
Utilizada

ROM
Utilizada

signed
char
(1 byte)

Used Rx 23
bytes
(72%)

unsigned
short
(1 byte)

Used Rx 23
bytes
(72%)

signed
short
(1 byte)

Used Rx 23
bytes
(72%)

unsigned
int

Used Rx 23
bytes

612 bytes
(1%)
Dinamic
Ram 16384
612 bytes
(1%)
Dinamic
Ram 16384
612 bytes
(1%)
Dinamic
Ram 16384
612 bytes
(1%)

(2 byte)

(72%)

signed int
(2 byte)

Used Rx
23bytes
(72%)

unsigned
long
(4 byte)

Used Rx
27bytes
(84%)

signed
long
(4 byte)

Used Rx
27bytes
(84%)

float
(4 byte)

Used Rx
32bytes
(100%)

Dinamic
Ram 16384
612 bytes
(1%)
Dinamic
Ram 16384
634 bytes
(1%)
Dinamic
Ram 16384
634 bytes
(1%)
Dinamic
Ram 16384
1102 bytes
(1%)
Dinamic
Ram 16384

255

127.50 us

195

97.50 us

575

287.50 us

234

117.00 us

575

287.50 us

234

117.00 us

2.853

1.43 ms

3.801

1.90 ms

You might also like