Search found 11 matches
- Mon May 24, 2021 8:15 pm
- Forum: General discussion
- Topic: NUCLEO-G474RE BMP183 Output Problem
- Replies: 20
- Views: 12093
Re: NUCLEO-G474RE BMP183 Output Problem
I tried your sketch. It gave same output. Is there any possibility of a problem in library?
And you properly wire the sensor on pin D9, D11,D12 and D13 ?
If the SPI loop works so probably an issue with the Library. Maybe SPI clock speed. Seems the max frequency for this sensor is 8MHz as ...
- Mon May 24, 2021 7:00 pm
- Forum: General discussion
- Topic: NUCLEO-G474RE BMP183 Output Problem
- Replies: 20
- Views: 12093
Re: NUCLEO-G474RE BMP183 Output Problem
Nope it passed D12 D11
- Mon May 24, 2021 6:59 pm
- Forum: General discussion
- Topic: NUCLEO-G474RE BMP183 Output Problem
- Replies: 20
- Views: 12093
Re: NUCLEO-G474RE BMP183 Output Problem
Ok you use the STM32 core anyway your sketch is not correct. Try the code I've put above.
I tried your sketch. It gave same output. Is there any possibility of a problem in library?
And you properly wire the sensor on pin D9, D11,D12 and D13 ?
If the SPI loop works so probably an issue ...
- Sat May 22, 2021 7:19 pm
- Forum: General discussion
- Topic: NUCLEO-G474RE BMP183 Output Problem
- Replies: 20
- Views: 12093
Re: NUCLEO-G474RE BMP183 Output Problem
It can pass the test. There is no problem.MasterT wrote: Sat May 22, 2021 6:30 pm It's always good idea to test SPI separately, w/o sensor connected. Try build-in the IDE loop back test:
_ File/Examples/SRM32duino_Examples/NoNReg/SPI_Loop
- Sat May 22, 2021 7:18 pm
- Forum: General discussion
- Topic: NUCLEO-G474RE BMP183 Output Problem
- Replies: 20
- Views: 12093
Re: NUCLEO-G474RE BMP183 Output Problem
I tried your sketch. It gave same output. Is there any possibility of a problem in library?fpiSTM wrote: Sat May 22, 2021 6:07 pm Ok you use the STM32 core anyway your sketch is not correct. Try the code I've put above.
- Sat May 22, 2021 5:25 pm
- Forum: General discussion
- Topic: NUCLEO-G474RE BMP183 Output Problem
- Replies: 20
- Views: 12093
Re: NUCLEO-G474RE BMP183 Output Problem
So you set this in your sketch and wire on the correct pins ?
// You can also use software SPI and define your own pins!
#define BMP183_CLK 13
#define BMP183_SDO 12 // AKA MISO
#define BMP183_SDI 11 // AKA MOSI
// You'll also need a chip-select pin, use any pin!
#define BMP183_CS 9 ...
- Sat May 22, 2021 5:22 pm
- Forum: General discussion
- Topic: NUCLEO-G474RE BMP183 Output Problem
- Replies: 20
- Views: 12093
Re: NUCLEO-G474RE BMP183 Output Problem
So you set this in your sketch and wire on the correct pins ?
// You can also use software SPI and define your own pins!
#define BMP183_CLK 13
#define BMP183_SDO 12 // AKA MISO
#define BMP183_SDI 11 // AKA MOSI
// You'll also need a chip-select pin, use any pin!
#define BMP183_CS 9 ...
- Sat May 22, 2021 4:01 pm
- Forum: General discussion
- Topic: NUCLEO-G474RE BMP183 Output Problem
- Replies: 20
- Views: 12093
Re: NUCLEO-G474RE BMP183 Output Problem
I tried it, it gives same output.GonzoG wrote: Sat May 22, 2021 1:39 pm As it's written on the board: D14 and D15 are SDA, SCL pins. Those are I2C pins.
SPI uses MOSI/MISO pins: D10 and D11.
- Sat May 22, 2021 4:01 pm
- Forum: General discussion
- Topic: NUCLEO-G474RE BMP183 Output Problem
- Replies: 20
- Views: 12093
Re: NUCLEO-G474RE BMP183 Output Problem
Nothing change, it gives same output.fpiSTM wrote: Sat May 22, 2021 3:06 pm You used the software SPI. Try hw SPI as described in the sketch. Like the uno.
- Sat May 22, 2021 1:16 pm
- Forum: General discussion
- Topic: NUCLEO-G474RE BMP183 Output Problem
- Replies: 20
- Views: 12093
Re: NUCLEO-G474RE BMP183 Output Problem
I don't see image.
Could you share your sketch and how you wire the BMP to the board.
#include <f401reMap.h>
#include <SPI.h>
#include <Adafruit_Sensor.h>
#include <Adafruit_BMP183.h>
// For hardware SPI:
// Connect SCK to SPI Clock, SDO to SPI MISO, and SDI to SPI MOSI
// See http://arduino ...