Hi Giovanni,
By using the Chibi Studio with start.bat has solved my problem. Compiling my code takes about 4 sec.
Thanks
Search found 26 matches
- Mon Aug 13, 2012 5:26 pm
- Forum: General Support
- Topic: Chibios 2.4.1 : Eclipse Invoking Command : make all
- Replies: 3
- Views: 3503
- Wed Aug 01, 2012 9:13 pm
- Forum: General Support
- Topic: Chibios 2.4.1 : Eclipse Invoking Command : make all
- Replies: 3
- Views: 3503
Chibios 2.4.1 : Eclipse Invoking Command : make all
Hi all,
I encounter a problem using Eclpise Helios with the 2.4.1 chibios rev. (this was not the case with the old chibios 2.2 rev)
When I build my project (or a testhal example), eclipse (CDT) spent time during the "Building project...: Invoking Command : make all". I wait about 1 min for the ...
I encounter a problem using Eclpise Helios with the 2.4.1 chibios rev. (this was not the case with the old chibios 2.2 rev)
When I build my project (or a testhal example), eclipse (CDT) spent time during the "Building project...: Invoking Command : make all". I wait about 1 min for the ...
- Sun Jan 15, 2012 5:38 pm
- Forum: General Support
- Topic: PWM config on STM32
- Replies: 1
- Views: 3711
PWM config on STM32
Hi,
How to configure PWM driver on stm32 ?
I have tested the following code without success.
In halconf.h : HAL_USE_PWM TRUE
In mcuconf.h : STM32_PWM_USE_TIM2 TRUE
In my code
//PWM
static PWMConfig pwmcfg = {
10000, /* Hz PWM clock frequency. */
US2ST(20), /* PWM period 20us. */
NULL ...
How to configure PWM driver on stm32 ?
I have tested the following code without success.
In halconf.h : HAL_USE_PWM TRUE
In mcuconf.h : STM32_PWM_USE_TIM2 TRUE
In my code
//PWM
static PWMConfig pwmcfg = {
10000, /* Hz PWM clock frequency. */
US2ST(20), /* PWM period 20us. */
NULL ...
- Tue Oct 25, 2011 2:14 pm
- Forum: User Projects
- Topic: Using bmp085 pressure sensor
- Replies: 11
- Views: 17927
Re: Using bmp085 pressure sensor
Hi,
Some comments:
1- To read coeff it's necessary to run twice the init_bmp085(); : may be for synchro problem...
2- To read coeff I change the original code
#define read_cal(adr, dest){\
txbuf[0] = adr;\
i2cMasterTransmit(&I2CD_bmp085, &bmp085, bmp085_addr, txbuf, 1, rxbuf, 2 ...
Some comments:
1- To read coeff it's necessary to run twice the init_bmp085(); : may be for synchro problem...
2- To read coeff I change the original code
#define read_cal(adr, dest){\
txbuf[0] = adr;\
i2cMasterTransmit(&I2CD_bmp085, &bmp085, bmp085_addr, txbuf, 1, rxbuf, 2 ...
- Sun Oct 23, 2011 1:08 pm
- Forum: User Projects
- Topic: Using bmp085 pressure sensor
- Replies: 11
- Views: 17927
Re: Using bmp085 pressure sensor
Hi Barthess,
As explain in a previous post, I have some problems with the EEPROM coeff.
I have tried many different tests (slow down bus, only read one coeff, add delay between read...) and coeff are not at each time the same.
As I don't know the order of magnitude of coeff, it is difficult to ...
As explain in a previous post, I have some problems with the EEPROM coeff.
I have tried many different tests (slow down bus, only read one coeff, add delay between read...) and coeff are not at each time the same.
As I don't know the order of magnitude of coeff, it is difficult to ...
- Sun Oct 16, 2011 11:31 pm
- Forum: Development and Feedback
- Topic: I2C implementation for STM32
- Replies: 346
- Views: 285040
Re: I2C implementation for STM32
Hi Barthess,
I have tried your code to communicate with BMP085 via the i2c driver, and I think that my calibration coeff are wrong : the first coeff is equal to 0 and the other are very similar (0; -1055; -1055; 33570; 33570; 22539; 22539; 54; 54; -11075; -11075) . As you have a good experience ...
I have tried your code to communicate with BMP085 via the i2c driver, and I think that my calibration coeff are wrong : the first coeff is equal to 0 and the other are very similar (0; -1055; -1055; 33570; 33570; 22539; 22539; 54; 54; -11075; -11075) . As you have a good experience ...
- Sun Oct 09, 2011 10:35 pm
- Forum: Development and Feedback
- Topic: I2C implementation for STM32
- Replies: 346
- Views: 285040
Re: I2C implementation for STM32
barthess wrote:Hi Cyrille,
Driver works fine with my BMP085 sensor. Also, I can submit my code communicates with it. The sensor is a bit tricky.
Hi Barthess,
I don't see in your code where you initialize the i2c port with i2CConfig, i2Cinit, i2cstart ?
So how do you initialize it ?
thanks
Cyrille
- Sat Oct 08, 2011 5:48 pm
- Forum: Development and Feedback
- Topic: Multipilot32 branch and ChibiOS need developer ..
- Replies: 30
- Views: 31566
Re: Multipilot32 branch and ChibiOS need developer ..
Hi Giovanni,
I follow your advices, and I work on board.h for MULTIPILOT32. Concerning the GPIO configuration I have some difficulties to understand what is alternate function. I have understood that there is various function for each pin, and it is possible to attibuate specific function to pin ...
I follow your advices, and I work on board.h for MULTIPILOT32. Concerning the GPIO configuration I have some difficulties to understand what is alternate function. I have understood that there is various function for each pin, and it is possible to attibuate specific function to pin ...
- Thu Oct 06, 2011 9:46 pm
- Forum: Development and Feedback
- Topic: Multipilot32 branch and ChibiOS need developer ..
- Replies: 30
- Views: 31566
Re: Multipilot32 branch and ChibiOS need developer ..
Hi giovanni,
I have tried also OLIMEX_STM32_P103, but this boad apparently used only 3 serial ports, and I use 4 ports (GPS is in port 4), I have tried in mcuconf to set to the TRUE USART 4, but no result.
I have also tried to include to the boards directory of unstable version the MULTIPILOT32 ...
I have tried also OLIMEX_STM32_P103, but this boad apparently used only 3 serial ports, and I use 4 ports (GPS is in port 4), I have tried in mcuconf to set to the TRUE USART 4, but no result.
I have also tried to include to the boards directory of unstable version the MULTIPILOT32 ...
- Thu Oct 06, 2011 8:58 pm
- Forum: Development and Feedback
- Topic: Multipilot32 branch and ChibiOS need developer ..
- Replies: 30
- Views: 31566
Re: Multipilot32 branch and ChibiOS need developer ..
Hi,
I'm looking for users who use chibios with the multipilot32 and oilpan. I'm interrested to exchange experiences, dev problems...
My project starts, and currently I'm able to acquire and to parse gps data via serial port, to acquire gyro and accelerometer via spi port.
Currently I try to work ...
I'm looking for users who use chibios with the multipilot32 and oilpan. I'm interrested to exchange experiences, dev problems...
My project starts, and currently I'm able to acquire and to parse gps data via serial port, to acquire gyro and accelerometer via spi port.
Currently I try to work ...