Search found 100 matches

by aster
Mon Oct 09, 2017 8:53 pm
Forum: Projects
Topic: F405 & F411 versions of the BluePill
Replies: 182
Views: 2137

Re:F405 & F411 versions of the BluePill

i don't know if it could be useful to someone but a few months ago i have been designing a schematics for a ibrid development board which could use both a f103rc or a 405rg/415rg the purpose of the board is different: this one contains all someone could need during a project (tft, sdio, rotary encod...
by aster
Mon Oct 09, 2017 5:07 pm
Forum: Libary request
Topic: MPU-6050 (I2C) Library
Replies: 44
Views: 6340

Re: MPU-6050 (I2C) Library

i use spi every time i call "readBytes"
anyway the problem is with the library itself not with the spi communication
by aster
Mon Oct 09, 2017 2:18 pm
Forum: Libary request
Topic: MPU-6050 (I2C) Library
Replies: 44
Views: 6340

Re: MPU-6050 (I2C) Library

i used the example inside the library: https://github.com/sparkfun/SparkFun_MPU-9250_Breakout_Arduino_Library/blob/master/examples/MPU9250BasicAHRS_SPI/MPU9250BasicAHRS_SPI.ino (change who i am from 0x71 to 0x73) and it didn't work so i started to modify it cutting all the not necessary pieces but i...
by aster
Mon Oct 09, 2017 1:51 pm
Forum: Libary request
Topic: MPU-6050 (I2C) Library
Replies: 44
Views: 6340

Re: MPU-6050 (I2C) Library

I meant to use it with only a device, so i could remove all these start/stop! anyway i spent the last 3 hours trying the spi interface but it is still not working the problem is in the comunication with the magnetometer AK8963. the library is good when using the i2c but the spi part is bad written i...
by aster
Mon Oct 09, 2017 12:37 pm
Forum: Libary request
Topic: MPU-6050 (I2C) Library
Replies: 44
Views: 6340

Re: MPU-6050 (I2C) Library

about the SPI: before moving to stm i am testing it with an arduino uno connections: mpu9250 - arduino vcc-5v gnd-gnd scl- 13 ad0-12 sda-11 ncs-10 i am not convincet by this code: uint8_t MPU9250::readBytesSPI(uint8_t registerAddress, uint8_t count, uint8_t * dest) { SPI.beginTransaction(SPISettings...
by aster
Mon Oct 09, 2017 11:33 am
Forum: Libary request
Topic: MPU-6050 (I2C) Library
Replies: 44
Views: 6340

Re: MPU-6050 (I2C) Library

i found this library: https://github.com/sparkfun/SparkFun_MPU-9250_Breakout_Arduino_Library and i am using cheap sensors from aliexpress like this: https://images-na.ssl-images-amazon.com/images/I/61qJZFn68nL._SL1010_.jpg right now i am testing it only with i2c (spi later) and i found an error: the...
by aster
Fri Oct 06, 2017 4:55 pm
Forum: Libary request
Topic: MPU-6050 (I2C) Library
Replies: 44
Views: 6340

Re: MPU-6050 (I2C) Library

I used the RTIMU lib a few years ago with the MPU9150, but it did not include filtering, ( I am not sure if it got updated to include filtering, but I think the library has been abandoned now by its author). From https://github.com/RTIMULib/RTIMULib2: RTIMULib also supports multiple sensor integrat...
by aster
Tue Sep 05, 2017 10:20 pm
Forum: General discussion
Topic: enabling i2c2 on PB10 and PB11
Replies: 3
Views: 149

Re: enabling i2c2 on PB10 and PB11

thank you very much Stephen :D
i never used cubemx your ioc will be very helpfull!
by aster
Sat Sep 02, 2017 8:37 pm
Forum: General discussion
Topic: enabling i2c2 on PB10 and PB11
Replies: 3
Views: 149

enabling i2c2 on PB10 and PB11

hello, i have a problem with the AFIO, i would like to remap PB10 and PB11 to be iic2 instead of serial3, it should be connected to TIM2 i check a few topic and i found only info on how to activate the alternate function fo the spi1 this one i guess was for HAL or libmaple RCC_BASE->APB2ENR |= (uint...
by aster
Fri Sep 01, 2017 10:04 pm
Forum: General discussion
Topic: [POLL (Open)] Blocking behaviour of Serial.USB during TX
Replies: 21
Views: 548

Re: [POLL (Open)] Blocking behaviour of Serial.USB during TX

maybe:
Configurable at runtime (blocking or non-blocking with small timeout)
+
if not set at runtime use a default configuration like: It should not block and return inmediately if there is no space in the buffer (return value indicates number of bytes queued for TX).