2020-04-27 05:01 AM
Hi,
please help me out!!!
I am trying to sort of an array in descending order with the help of test.cpp and
external user defined header file.
STM32F407VGTx
And it is working properly with STM32F407VGTx dev board
main.c --->
STM32F407VGT_TEST/SRC/main.c
TEST.cpp --->
MDK-ARM/TEST/TEST.cpp
TEST.h
--->MDK-ARM/TEST/TEST.h
STM32F423CHUx
But when we are using STM32F423CHUx its not working and with same code and its get stuck in array initialization with zero and
it got stuck while doing assignment. Below is the snippet
for(int k=0; k<FRAME_SIZE/2; k++){
objects[k].value = off_set_final_ptr[k];
objects[k].index = k;
}
main.c
--->STM32F423CH_TEST/SRC/main.c
TEST.cpp
--->MDK-ARM/TEST/TEST.cpp
TEST.h
--->MDK-ARM/TEST/TEST.h
both code is genrated from stmcube mx
2020-04-27 05:30 AM
Check clocks and wait states.
Check stack size allocation.
2020-04-27 05:36 AM
I have set clock 168 Mhz for stm32f407
I have set clock 100Mhz for stm32f423ch
I wanted to know how stack size will affect ?