Search found 6 matches

by gauthierDCC
Tue Oct 17, 2023 8:02 am
Forum: PR's bugs and enhancements
Topic: Issues with analogRead() for PB0 on Nucleo G431KB
Replies: 5
Views: 6776

Re: Issues with analogRead() for PB0 on Nucleo G431KB

Try with to add that in your setup()

Code: Select all

analogReadResolution(12);
by gauthierDCC
Tue Oct 17, 2023 7:57 am
Forum: General discussion
Topic: SPI blocked by a flag
Replies: 3
Views: 848

Re: SPI blocked by a flag

I think I went on a wrong direction looking at the BSY flag... Looking at the oscilloscope, I have the following result with the Arduino: SDS00012.png And I have that using the STM32: SDS00010.png As they suggest here, I might need to reset the SPI pin before using it: https://electronics.stackexcha...
by gauthierDCC
Wed Oct 11, 2023 11:55 am
Forum: General discussion
Topic: SPI blocked by a flag
Replies: 3
Views: 848

Re: SPI blocked by a flag

I've seen in an errata from ST that my µC is subjected to problem with the BSY bit in the SPI protocol (note that I don't really understand what it means :D ) 2.13 SPI 2.13.1 BSY bit may stay high when SPI is disabled Description The BSY flag may remain high upon disabling the SPI while operating in...
by gauthierDCC
Wed Oct 11, 2023 11:48 am
Forum: General discussion
Topic: SPI blocked by a flag
Replies: 3
Views: 848

Re: SPI blocked by a flag

On the STM32G4 Nulceo user manual, it's written that by default, T_SWO is connected to PB3 (SPI1_CLK). https://www.st.com/resource/en/user_manual/um2397-stm32g4-nucleo32-board-mb1430-stmicroelectronics.pdf p.17 Could that T_SWO interfere with the SPI? If I remove the solder bridge (SB4), would I sti...
by gauthierDCC
Tue Oct 10, 2023 3:16 pm
Forum: General discussion
Topic: SPI blocked by a flag
Replies: 3
Views: 848

SPI blocked by a flag

Hi all, For I project, I would like to switch from an Arduino Nano to a Nucleo-G431KB. I use a pressure sensor HRCDRRN100MDSA3 from Honeywell, with the HoneywellTruStabilitySPI library. Using the Arduino, I have no problem to run the exemple code. But I can't made it work with my Nucleo, even with a...
by gauthierDCC
Tue Oct 10, 2023 2:57 pm
Forum: Let us know a bit about you and your projects
Topic: Introduction
Replies: 0
Views: 13233

Introduction

Hi all!
I'm Gauthier, working for a french mechanical company, and just joining the STM32 side of the world for my work project!
I'm not a µC controller professional, but I have discovered the basics with Arduino.

For my project I need to go way faster, so I just bought Nucleo to try!

Go to advanced search