Announcements

Ever wondered how you could shape the future in collaboration with others? Join us at OktoberTech Asia Pacific and get inspired. Click here to sign up FREE of charge.

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

PSoC™ 6 Forum Discussions

aliissa02
Level 3
5 likes given 25 replies posted 50 sign-ins
Level 3

Hello,

I am trying to generate a frequency of 6 MHz using a Psoc 6 prototyping bord. Can you please check the attached project if this is correct?

Thank you

0 Likes
1 Solution
Srivastav
Moderator
Moderator 5 likes given 50 replies posted 25 solutions authored
Moderator

Hi,

Yes, In the project attached, The PWM component is getting a clock source of 6MHz and the effective counting frequency is 6250KHz. Also, for further information: In case you want to use some other frequency value make sure to use Clock Prescalar in the PWM Configurator. For more details refer to https://www.infineon.com/dgdl/Infineon-PSoC_6_MCU_PSoC_62_Architecture_Technical_Reference_Manual-Ad... Section 20.7 Peripheral Clock Divider

Kind Regards

Arpit Srivastav

View solution in original post

0 Likes
1 Reply
Srivastav
Moderator
Moderator 5 likes given 50 replies posted 25 solutions authored
Moderator

Hi,

Yes, In the project attached, The PWM component is getting a clock source of 6MHz and the effective counting frequency is 6250KHz. Also, for further information: In case you want to use some other frequency value make sure to use Clock Prescalar in the PWM Configurator. For more details refer to https://www.infineon.com/dgdl/Infineon-PSoC_6_MCU_PSoC_62_Architecture_Technical_Reference_Manual-Ad... Section 20.7 Peripheral Clock Divider

Kind Regards

Arpit Srivastav

0 Likes