This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

IWRL6432: How to set IWRL6432 M4 CPU frequency?

Part Number: IWRL6432
Other Parts Discussed in Thread: SYSCONFIG

Hi, iwrl6432 teams  now sdk  I used  is 5.2 (latest)

 

How to set the frequency of the CPU?

 

I did not find any options set in SysConfig.

But I found a function SOC_ RcmSetM4Clock()

 

I use it to set CPU to 40MHz

 

 

 

The But log still shows that the CPU is 160MHz, which seems to be not working.

  • Hello, 

    I have tested this on my end and it appears that you are correct, SOC_rcmSetM4Clock does not appear to be working. I will inquire about this with our SDK team to see if we can get this fixed in a future update. 

    In the meantime, if you need the M4 clock to be 40MHz you should be able to use SOC_rcmSetM4ClockSrc(SOC_RcmM4ClockSource_OSC_CLK). I have tested this myself and it seems to be working. 

    Best Regards,

    Josh

  • Hi Josh

    Thanks Josh. 


    Could you provide a temporary solution to set the frequency of M4 at present?  If I want to set M4 to 8MHz.

    Also, when do you expect the next version of SDK to be released

  • Hi, 

    Let me check in with our SDK team to see if we have a fix for this right now. I will get back to you with a response on this tomorrow.

    when do you expect the next version of SDK to be released

    We expect next SDK release in middle to end of next month. 

    Regards,

    Josh

  • Hello, 

    Very sorry for the delayed response here. We do have a fix for this issue however unfortunately it is more than just updating a few lines of code. How urgent is this issue for you? Are you able to wait for the next SDK release next month?

    Best Regards,

    Josh