Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

output the CLK on an external mcu pin

Status
Not open for further replies.

mariuszoll

Member level 5
Joined
Aug 28, 2012
Messages
82
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
2,147
Hi,

I use on my project a STM8S207K8 mcu from ST, I configured the internal oscillator, HSI to work at 16Mhz. I use IAR embedded workbench.
I want to output the CLK signal on an external CCO pin.
Could you help me please how to do it? Since now I haven't work with STM8S mcus.

Thank you in advance.
 

Page no. 47 says something about remapping alternate function. AFR2. Where can I find detailed datasheet which provides details about the registers?
 

I found that I have to set the OPT bit from the FLASH_CR2 register in order to have access to option bytes, but how to set AFR2, I haven't found yet.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top