Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BMP585 power fail #5

Open
ss1969 opened this issue Jun 8, 2024 · 1 comment
Open

BMP585 power fail #5

ss1969 opened this issue Jun 8, 2024 · 1 comment

Comments

@ss1969
Copy link

ss1969 commented Jun 8, 2024

On my board BMP585 module with my STM32G030 cpu, in the bmp5_init(), I can read the chip id as 0x51, but then the NVM status reg (0x28) always return 0, which will result in a power fail error. What can I do next?

@ss1969
Copy link
Author

ss1969 commented Jun 8, 2024

I've found the reason: I was in debug mode, and then my motherboard couldn't reset the BMP585, the ISR had already been read many times, and the NVM status couldn't be read, so it failed. I had no choice but to add a soft reset before bmp5_init(), and I also had to modify the soft reset code to prevent it from reading the ISR. There's a bit of a strange feeling here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant