UART issue if i selected the FULL clock frequency

Post your requests and ideas on the future development of mikroC PRO for ARM.
Post Reply
Author
Message
RAMASUBBU
Posts: 58
Joined: 19 Nov 2016 06:26

UART issue if i selected the FULL clock frequency

#1 Post by RAMASUBBU » 02 May 2017 08:00

Hi all,

I am working with NUCLEO-412G board.In this i have replaced the chip with STM32F407 .
My issue with UART it was working fine when i select the frequency 8 MHZ as its osc pin.if i switched to the full speed of the controller 168 MHZ it was not working

I would like know if any configuration i have to do for this .in the attachment you can find my project setting screen shots ..



Note:
The clock input is come from the ST_link mc_out . not from the crystals

Regards & Thanks,
Ramasubbu.V :)
Attachments
cfg2_screenshot.png
cfg2_screenshot.png (76.52 KiB) Viewed 7831 times
cfg1_screenshot.png
cfg1_screenshot.png (82.84 KiB) Viewed 7831 times
Thanks & Regards,
Ramasubbu.V:)

User avatar
dusan.poluga
mikroElektronika team
Posts: 780
Joined: 02 Feb 2017 14:21

Re: UART issue if i selected the FULL clock frequency

#2 Post by dusan.poluga » 04 May 2017 16:37

Hi,

You can find the clock configuration for stm32f407zg in the attachments.

Regards,
Attachments
stm32f407zg_PLL_16_to_168_USB.zip
(1022 Bytes) Downloaded 256 times
Dusan Poluga.

RAMASUBBU
Posts: 58
Joined: 19 Nov 2016 06:26

Re: UART issue if i selected the FULL clock frequency

#3 Post by RAMASUBBU » 10 May 2017 08:02

Hi dusan,

In your attachment MCU clock frequency is 8.00 mhz

But in my case i need 168 MHZ


Redards & Tnanks,
Rama subbu.V :)
Thanks & Regards,
Ramasubbu.V:)

User avatar
dusan.poluga
mikroElektronika team
Posts: 780
Joined: 02 Feb 2017 14:21

Re: UART issue if i selected the FULL clock frequency

#4 Post by dusan.poluga » 10 May 2017 15:24

Hi,

The clock configuration is for 168MHz.
The number does not changed when you load the scheme so it needs to be changed manually.

Regards,
Dusan Poluga.

RAMASUBBU
Posts: 58
Joined: 19 Nov 2016 06:26

Re: UART issue if i selected the FULL clock frequency

#5 Post by RAMASUBBU » 11 May 2017 12:01

Hi,

Thank you now its working ...
Thanks & Regards,
Ramasubbu.V:)

User avatar
dusan.poluga
mikroElektronika team
Posts: 780
Joined: 02 Feb 2017 14:21

Re: UART issue if i selected the FULL clock frequency

#6 Post by dusan.poluga » 11 May 2017 13:56

Hi,

I am glad i could help

Regards,
Dusan Poluga.

Post Reply

Return to “mikroC PRO for ARM Wish List”