Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronic 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.

Register Log in

[ARM] STM32F407 Dicovery Board

Status
Not open for further replies.

Ravindrakant Jha

Junior Member level 2
Joined
Nov 2, 2014
Messages
24
Helped
1
Reputation
2
Reaction score
1
Trophy points
3
Location
India
Activity points
274
Hello All,
I am getting this problem while using USART of STM32F407 discovery Board,I have configured the USART1 ,pin no PB6(Tx) and PB7(Rx) for the purpose,In the program whenever the USART something from terminal ,the led glows.But the STM32F407 is not receiving anything,
I configured the value of HSE_Value to 8000000
and PLL_M from 25 to 8?

I need help here I am using the CMSIS provided by the ST community.

Thanks in Advance!
 

pic.programmer

Advanced Member level 3
Joined
Aug 19, 2015
Messages
773
Helped
141
Reputation
284
Reaction score
140
Trophy points
43
Activity points
7,542
Are you using 8 MHz external Crystal ? What is the SYSCLK frequency ?

Use the attached Oscillator Configuration files (main.c). I have generated code for 8 MHz external Crystal and 96 MHz SYSCLK.
 

Attachments

Last edited:

chandu.kurapati

Full Member level 3
Joined
Oct 31, 2013
Messages
186
Helped
5
Reputation
10
Reaction score
5
Trophy points
18
Location
Bengaluru, India
Activity points
1,497
Hi,

First you need to check the beat of the system i.e configured clock frequency of the system.
I think in CMSIS code they configured it to 168Mhz.

Another thing you should check USART1 is connected to the which peripheral set APB1 (or) APB2, then there is a bit to enable the clock frequency for that particular (USART1) peripheral.

I think problem is you didn't enable clock for the peripheral, check this it will work....
 

Status
Not open for further replies.
Toggle Sidebar

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top