# LPC5500 Benchmark Dualcore CoreMark & PQ demo

1. Open and build the hello_world_cm33_core1.eww located at:
boards\lpcxpresso55s69\multicore_examples\dualcore_powerquad\cm33_core1\iar

2. Open, build and download the hello_world_cm33_core0.eww located at:
boards\lpcxpresso55s69\multicore_examples\dualcore_powerquad\cm33_core0\iar

3. Setup the UART terminal with 115200 baudrate.

4. Reset board with RESET button to run the application.

5. Just follow the guide in UART terminal, to "press any key to continue ..."

The log would be like:

********** REPORT **********
 CORE 0 coremark: 338
 CORE 1 coremark: 372
 PQ Task C/sec  : 28807
*********** DONE ***********

"PQ Task C/sec" means how many times of doing the PowerQuad Computing task.

===================================

LPC5500 Benchmark Dualcore CoreMark & PQ DEMO
Press any key to continue ...
-> task_pq_fft_512
CORE0_System Running on RAM0
CORE1_System Running on RAM-X
Coremark of m33_core0 result:
2K performance run parameters for coremark.
CoreMark Size    : 666
Total ticks      : 11820
Total time (secs): 11.820000
Iterations/Sec   : 338.409475
Iterations       : 4000
Compiler version : IAR 8.30.1
Compiler flags   : High, Speed, No size constraints
Memory location  : STACK
seedcrc          : 0xe9f5
[0]crclist       : 0xe714
[0]crcmatrix     : 0x1fd7
[0]crcstate      : 0x8e3a
[0]crcfinal      : 0x65c5
Correct operation validated. See readme.txt for run and reporting rules.
CoreMark 1.0 : 338.409475 / IAR 8.30.1 High, Speed, No size constraints / STACK
DONE


********** REPORT **********
 CORE 0 coremark: 338
 CORE 1 coremark: 372
 PQ Task C/sec  : 28807
*********** DONE ***********

 Press any key to continue ...


-> task_pq_fft_256
CORE0_System Running on RAM0
CORE1_System Running on RAM-X
Coremark of m33_core0 result:
2K performance run parameters for coremark.
CoreMark Size    : 666
Total ticks      : 12392
Total time (secs): 12.392000
Iterations/Sec   : 322.788896
Iterations       : 4000
Compiler version : IAR 8.30.1
Compiler flags   : High, Speed, No size constraints
Memory location  : STACK
seedcrc          : 0xe9f5
[0]crclist       : 0xe714
[0]crcmatrix     : 0x1fd7
[0]crcstate      : 0x8e3a
[0]crcfinal      : 0x65c5
Correct operation validated. See readme.txt for run and reporting rules.
CoreMark 1.0 : 322.788896 / IAR 8.30.1 High, Speed, No size constraints / STACK
DONE


********** REPORT **********
 CORE 0 coremark: 322
 CORE 1 coremark: 372
 PQ Task C/sec  : 54795
*********** DONE ***********

 Press any key to continue ...


-> task_pq_fft_128
CORE0_System Running on RAM0
CORE1_System Running on RAM-X
Coremark of m33_core0 result:
2K performance run parameters for coremark.
CoreMark Size    : 666
Total ticks      : 13048
Total time (secs): 13.048000
Iterations/Sec   : 306.560392
Iterations       : 4000
Compiler version : IAR 8.30.1
Compiler flags   : High, Speed, No size constraints
Memory location  : STACK
seedcrc          : 0xe9f5
[0]crclist       : 0xe714
[0]crcmatrix     : 0x1fd7
[0]crcstate      : 0x8e3a
[0]crcfinal      : 0x65c5
Correct operation validated. See readme.txt for run and reporting rules.
CoreMark 1.0 : 306.560392 / IAR 8.30.1 High, Speed, No size constraints / STACK
DONE


********** REPORT **********
 CORE 0 coremark: 306
 CORE 1 coremark: 372
 PQ Task C/sec  : 103153
*********** DONE ***********

 Press any key to continue ...


task_end