SystemInit() for CLK_FAST

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

cross mob
FeGo_4706256
Employee
Employee
5 questions asked 10 sign-ins 5 sign-ins

hi,

i am using SDL 7.0 with Starter Kit board and GHS Multi. Using GPIO example in SDL, we program only cpu CM4 using Lauterbach Power Debug tool. After modifying gpio port/pin to ones connected to Traveo II SK board, we are able to toggle LED1 and LED4 and read input button (SW1). In GPIO example uses GPIO interrupt where LED is toggled in interrupt handler when button is pressed. However this example (GPIO interrupt) does not work as expected. It is noted cpu (CM4) does not enter interrupt handler when breakpoint is set in the handler/ISR.

in my troubleshooting, CLK_FAST frequency is only 50 MHz. this CLK_FAST is configured in SystemInit() function. how can we configure it to 160 MHz ?

Best Regards,

Felix

 

0 Likes
2 Replies
Swathi
Moderator
Moderator
Moderator
25 replies posted 25 sign-ins 10 solutions authored

Hello Felix,

Is the interrupt example working as expected on the CM0p core?

0 Likes
FeGo_4706256
Employee
Employee
5 questions asked 10 sign-ins 5 sign-ins

Hello Swathi,

Yes, the interrupt example is working as expectedly on CM0+. CM0+ core works at 80MHz clock in the configuration. But it’s not for CM4. So it is suspected due to clock for CM4 core.

Best Regards,

Felix

0 Likes