Search found 8 matches

by MySOL
Sat Apr 25, 2015 5:41 pm
Forum: STM32 Support
Topic: stm32f407 SDIO problem
Replies: 11
Views: 9963

Re: stm32f407 SDIO problem

I use internal pullups, its OK.

For test you'd better try SDC example testhal\STM32F4xx\SDC, you may throw out everythyng from main.c and use only the folowing functions:
halInit
chSysInit
sdcStart
sdcConnect
and finally sdcRead / sdcWrite

no need in any pin manipulations in this case ...
by MySOL
Sun Apr 19, 2015 10:58 am
Forum: STM32 Support
Topic: stm32f407 SDIO problem
Replies: 11
Views: 9963

Re: stm32f407 SDIO problem

You mean that there may be no resistors can strongly affect the SDIO, if instead they use a software pull up?
Giovanni wrote:Hi,

Many schematics I have see have resistive terminations on SDIO lines.

Giovanni

STM32-E407_Rev_B1_sch.zip
by MySOL
Sun Apr 19, 2015 10:00 am
Forum: STM32 Support
Topic: stm32f407 SDIO problem
Replies: 11
Views: 9963

Re: stm32f407 SDIO problem

can you explaine, what do you mean by lack? theoretically can i test the SDIO without connecting the sd card?
Hi,

In the past problems with SDIO were caused by:

1) Wrong GPIO initialization.
2) Long wires.
3) Lack of terminations.
4) Problems with card power.

About GPIO initialization, look at ...
by MySOL
Sat Apr 18, 2015 11:00 pm
Forum: STM32 Support
Topic: stm32f407 SDIO problem
Replies: 11
Views: 9963

stm32f407 SDIO problem

Hello! Sorry to trouble, but i can't find solving my problem on forum. I'm trying to connect my discovery board to 2 gb micro sd card via SDIO interface. I found examples in chibios archive and many others on other sources, but i've got some problem with it. Firstly i try to send any data from stm ...
by MySOL
Thu Mar 12, 2015 7:48 pm
Forum: STM32 Support
Topic: Timers accuracy
Replies: 3
Views: 2979

Re: Timers accuracy

Giovanni wrote:That function is as accurate as the system clock is. If you try any provided demo you can see it is accurate. There must be a problem in your setup.

Giovanni


Thank you!
by MySOL
Tue Mar 10, 2015 2:16 pm
Forum: STM32 Support
Topic: Timers accuracy
Replies: 3
Views: 2979

Timers accuracy

Hello! I never checked the accuracy of the "Sleeps" functions, but today there was one problem , when I wrote PWM programm

Confgi funcion is:

static PWMConfig pwmcfg = {
10000, /* 10kHz PWM clock frequency. */
1000, /* Initial PWM period 100 ms. */
pwmpcb,
{
{PWM_OUTPUT_DISABLED ...
by MySOL
Thu Mar 05, 2015 3:12 pm
Forum: STM32 Support
Topic: Problem with chThdSleepSeconds() STM32F407
Replies: 2
Views: 2699

Re: Problem with chThdSleepSeconds() STM32F407

Perfectly working! Thank you for your help and please forgive me for concern=)
by MySOL
Wed Mar 04, 2015 10:59 pm
Forum: STM32 Support
Topic: Problem with chThdSleepSeconds() STM32F407
Replies: 2
Views: 2699

Problem with chThdSleepSeconds() STM32F407

Hello gentelmens! Really need your help. I studied CHIBIOS and now there is a problem with the function call chThdSleepMilliseconds(). Actually, it works fine, as in the main thread, and in the simple regular threads (like led blinking). But now there was a need revival thread on the external ...