Problem with SPI

ChibiOS public support forum for all topics not covered by a specific support forum.

Moderators: RoccoMarco, lbednarz, tfAteba

User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Problem with SPI

Post by Giovanni »

Changing PLLM is sufficient, I assume you set the HSE speed too 25000000 in your board.h file.

Did you try what I suggested in my previous post?

Giovanni
sapan
Posts: 56
Joined: Sat Dec 24, 2011 1:22 pm

Re: Problem with SPI

Post by sapan »

Yup i have set 25000000 value in board.h file as well. Just finished debugging the board and it seems that there is some hardware issue in it, just resoldered some components and its giving proper output. Still I need to look into divisor value for SPI clock..

Thanks for ur help
sapan
Posts: 56
Joined: Sat Dec 24, 2011 1:22 pm

Re: Problem with SPI

Post by sapan »

Got the problem. It turns out to be hardware issue. Just got tried the code on new board and its working fine...:)
User avatar
Giovanni
Site Admin
Posts: 14895
Joined: Wed May 27, 2009 8:48 am
Has thanked: 1202 times
Been thanked: 997 times

Re: Problem with SPI

Post by Giovanni »

Good, anyway, I still recommend setting the SPI-related signals to high speed.

Giovanni
Post Reply