Search found 13 matches

by midihenry
Wed Dec 11, 2013 7:13 pm
Forum: STM32 Support
Topic: Multiple timers problem
Replies: 5
Views: 4556

Re: Multiple timers problem

It wasn't a compiler error it's just that timers 1,2 and 8 wouldn't work for me even when I tried to use them one at a time.
They wouldn't give me any output..
by midihenry
Wed Dec 11, 2013 5:54 pm
Forum: STM32 Support
Topic: Multiple timers problem
Replies: 5
Views: 4556

Re: Multiple timers problem

Well I'm using the STM32 F4 Discovery board using chibios 2.4.2
I need to configure 4 timers but I could only use 3 at a time.
by midihenry
Wed Dec 11, 2013 5:39 pm
Forum: STM32 Support
Topic: Multiple timers problem
Replies: 5
Views: 4556

Multiple timers problem

Hello,

I'm building a line-following robot that also avoids obstacles. So, I wanted to use an ultra-sound sensor mounted on a servomotor to check for the obstacles. However, i encountered a problem when trying to assign 4 timers: 1 for the motors TIM4 (pwm output), 1 for the servomotor (pwm output ...
by midihenry
Fri Oct 18, 2013 8:47 pm
Forum: STM32 Support
Topic: STM32F3 Discovery - IAR
Replies: 17
Views: 13752

Re: STM32F3 Discovery - IAR

Thank you Giovani I really appreciate your help and especially your patience :D
I got it working finally.
I realised tha I missed out on those settings.
Image
by midihenry
Fri Oct 18, 2013 8:11 pm
Forum: STM32 Support
Topic: STM32F3 Discovery - IAR
Replies: 17
Views: 13752

Re: STM32F3 Discovery - IAR

No it doesn't enter the main function,In fact I can't even debug step by step ..
by midihenry
Fri Oct 18, 2013 2:09 pm
Forum: STM32 Support
Topic: STM32F3 Discovery - IAR
Replies: 17
Views: 13752

Re: STM32F3 Discovery - IAR

Well I managed to get rid of all errors finally :D
But when I download the code it just doesn't run on the board.. I was using the demo main.c provided for the STM32F3 Discovery board.
That's awkward..
by midihenry
Wed Oct 16, 2013 9:31 pm
Forum: STM32 Support
Topic: STM32F3 Discovery - IAR
Replies: 17
Views: 13752

Re: STM32F3 Discovery - IAR

Thank you :)
Well I finally could get rid of all errors but the code doesn't seem to be downloaded to the board :/
Is there anything else that I must enable in the halconf.h file?
by midihenry
Wed Oct 16, 2013 7:25 pm
Forum: STM32 Support
Topic: STM32F3 Discovery - IAR
Replies: 17
Views: 13752

Re: STM32F3 Discovery - IAR

Thank you :D
But I still only have this error..
Error[Pe020]: identifier "SPI_CR1_DFF" is undefined C:\Users\toshiba\Desktop\Robotique\ChibiOS_2.6.1\os\hal\platforms\STM32\SPIv1\spi_lld.c 272


I really appreciate your help
by midihenry
Tue Oct 15, 2013 1:29 am
Forum: STM32 Support
Topic: STM32F3 Discovery - IAR
Replies: 17
Views: 13752

Re: STM32F3 Discovery - IAR

I tried to enable it but I got this error
Fatal Error[Pe035]: #error directive: "SPI driver activated but no SPI peripheral assigned" C:\Users\toshiba\Desktop\Robotique\ChibiOS_2.6.1\os\hal\platforms\STM32\SPIv1\spi_lld.h 208

Well anyway here is the original halconf.h file

#ifndef _HALCONF_H ...
by midihenry
Mon Oct 14, 2013 4:17 pm
Forum: STM32 Support
Topic: STM32F3 Discovery - IAR
Replies: 17
Views: 13752

Re: STM32F3 Discovery - IAR

Thank you Well there is stil only a problem apparently with the spi_lld.h file eventhough I included it :/
lis302dl.c
Error[Pe020]: identifier "SPIDriver" is undefined C:\Users\toshiba\Desktop\Robotique\ChibiOS_2.6.1\os\various\devices_lib\accel\lis302dl.h 85
Error[Pe020]: identifier "SPIDriver ...