Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

PSoC™ 4

ErBU_1372276
Level 2
First like received
Level 2

Hi,

   

I have a time of 500ms between reset and calling the main function. It is the function in start_c init_libc_array taking all this time? How to reduce this time?
I created a test project for moving only one output to test this time.

   

Thank you,

   

Eric

0 Likes
1 Solution
Bob_Marlowe
Level 10
50 questions asked 10 questions asked 1000 solutions authored
Level 10

All the programming of the internal registers which include components and wiring is done after stabilization of the clocks and PLL. All registers get a value, so setup time is independent of the components used,

   

In cydwr-file, System tab there is a "Device Configuration Mode" setting which allows for using more flash but faster setup.

   

 

   

Bob

View solution in original post

0 Likes
3 Replies
Bob_Marlowe
Level 10
50 questions asked 10 questions asked 1000 solutions authored
Level 10

All the programming of the internal registers which include components and wiring is done after stabilization of the clocks and PLL. All registers get a value, so setup time is independent of the components used,

   

In cydwr-file, System tab there is a "Device Configuration Mode" setting which allows for using more flash but faster setup.

   

 

   

Bob

0 Likes
ErBU_1372276
Level 2
First like received
Level 2

thank you for your help, I'll try.

0 Likes
ErBU_1372276
Level 2
First like received
Level 2

Thanks Bob,

   

I disable the WCO clock and now I have 5ms between reset and the main function.

   


Thank you again for your help.

   

Eric
 

0 Likes