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

PSoC™ 4 Forum Discussions

GuoXiangH_21
Employee
Employee
10 replies posted 5 replies posted 5 questions asked

Dears:

     customer use PSOC as main controller,and they need to modify the SCB bandrate when running application

     do we have the API can fit the requirement ?

0 Likes
1 Solution
MotooTanaka
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

Hi,

Although I have not tried it by myself, following strategy might work

(1) Set the SCB module has "Clock from terminal"

000-Config-UART.JPG

(2) Connect clock to the SCB module

003-schematic.JPG

(3) Configure the Clock for fractional divider

  check "Use fractional divider"

001-Clock-Config.JPG

(4) Then an API called Clock_SetFractionalDividerRegister will be available.

In my sample the name will be "Clock_12MHz_SetFractionalDividerRegister",

and I'm not sure if "UART" was right sample for this kind of test...

002-Clock_SetFractionalDividerRegister.JPG

moto

View solution in original post

0 Likes
1 Reply
MotooTanaka
Level 9
Level 9
First comment on KBA 1000 replies posted 750 replies posted

Hi,

Although I have not tried it by myself, following strategy might work

(1) Set the SCB module has "Clock from terminal"

000-Config-UART.JPG

(2) Connect clock to the SCB module

003-schematic.JPG

(3) Configure the Clock for fractional divider

  check "Use fractional divider"

001-Clock-Config.JPG

(4) Then an API called Clock_SetFractionalDividerRegister will be available.

In my sample the name will be "Clock_12MHz_SetFractionalDividerRegister",

and I'm not sure if "UART" was right sample for this kind of test...

002-Clock_SetFractionalDividerRegister.JPG

moto

0 Likes