do we have API that can modify the SCB bandrate when PSOC 4 running applicaiton

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

cross mob
GuoXiangH_21
Employee
Employee
25 sign-ins 10 questions asked 10 sign-ins

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
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

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
Distributor - Marubun (Japan)
First comment on blog Beta tester First comment on KBA

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