Skip to content

ReadAnalog fails #253

Closed
Closed
@drpuur

Description

@drpuur

I am using MCCI 4610 and see "?CatenaStm32L0::ReadAnalog(3): CatenaStm32L0_ReadAnalog() failed (5)" messages as in #125

This happens not all the time and seems to start happening only after some time.

Board Version: 2.7.0
System Clock: 24 MHz

Libraries:

URL Commit Commit Date
https://github.com/mcci-catena/arduino-lmic.git 6fe04ec Tue, 12 May 2020 09:16:47 -0400
https://github.com/mcci-catena/arduino-lorawan.git 4bc0d48 Sat, 9 May 2020 12:38:28 -0400
https://github.com/mcci-catena/Catena-Arduino-Platform.git 92019ca Tue, 12 May 2020 01:34:08 -0400
https://github.com/mcci-catena/Catena-mcciadk.git a428006 Sat, 21 Dec 2019 20:45:26 -0500
https://github.com/mcci-catena/MCCI_FRAM_I2C.git f0a5ea5 Sat, 21 Dec 2019 16:17:01 -0500

I read the battery voltage on every iteration (after waking up from deep sleep):

  // vBat
  int vbat_mv = (int)(gCatena.ReadVbat() * 1000.0f);
  gCatena.SafePrintf("vBat:    %d mV\n", vbat_mv);

Attached is the log with the relevant lines.
ReadAnalog-errors.txt

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions