alessandromontanari
About
- Username
- alessandromontanari
- Joined
- Visits
- 275
- Last Active
- Roles
- Member
Comments
-
Hi @matt, I can confirm that the 3v rail is driven immediately after connecting the battery with no USB but the board seems not to run. Unfortunately, I cannot look into using the debugger and trying a minimal firmware at the moment. I will le…
-
Hi all,sorry for the delay on this. Usually I have a custom PCB attached to the Metamotion that contains the SD card slot and other stuff. However, I also tried to disconnect everything and configure the pins as you said: int main(void) { …
-
I have configured pin 21 (5v present) and pin 16 (battery charging) as inputs. The first with no pull and the second with pull up. I have also defined CONFIG_NFCT_PINS_AS_GPIOS in my Makefile which is used to configure the NFC pins as GPIO.However, …
-
With the stock firmware it works fine, when I apply power to +bat the board boots correctly.What could cause this problem in my firmware? Once it started it works fine.
-
I tried also from a lab power supply and it's the same.I am using a custom firmware but I will try with another board that has the stock firmware on it. Maybe I need to enable something in the firmware? Thanks
-
Hi Matt, when I set the power monitor to 3.7V I get 3.7V on +Bat, 3V on the 3V rail and 1.25V on the Vusb pin. The current I see on the monitor is constant at about 9mA. I also noticed that if I short the +Bat with the Vusb the device boots co…
-
Hi Matt, I am attaching the output of the power monitor directly to +Bat and Gnd on the metamotion. The SD card is attached but I don't think the supplied current is a problem given that the power monitor is capable of providing 3A. Also, in the p…
-
I solved the problem.When you do a burst read keeping the CS pin low from start to end, you need to discard the first byte you receive from the BMI160. This is the code to initiate the read: #define READ_MASK 0x80 uint16_t packet = reg_add…
-
Hi guys,have you tried to use the BMI160 FIFO? I am trying to access the FIFO with burst reads but without success. This is basically what I do: #define READ_MASK 0x80 // Prepare the address - reg_addr = 0x24 uint16_t packet = reg_addr |…
-
Thanks a lot!
-
Through a custom firmware.Is it also marked on the chip maybe?
-
It seems that after deleting the firmware from the board the battery is re-charging again.Any explanation for this behaviour? Alessandro
-
Replacing the battery with a bigger one, let's say 300mAh or more, will increase the charging time, right? Are there any other things to consider? Maximum capacity, type of battery, ... Thanks, Alessandro
-
Just to conclude on this topic. At the end I attached a voltage divider (both resistors are 1k) between GND, Vusb and GPIO 3, configuring the input as PULLDOWN. I tried to use GPIO 1 or 2 but I had problems, the interrupt was not reliable, the…
-
Thanks a lot Matt, very helpful. Alessandro
-
Hi Matt, thank you very much for your reply. Your second suggestion is very interesting, it would save a bit of work but if I got it correctly the charging status pin will pull the GPIO low only when the battery is charging, right? So when t…
-
Well, in theory I could connect the Vusb pin to one of the SoC's input pins (with a voltage divider) and detect if the USB is connected or not, right? My question was more, if by any chance the Vusb pin is already connected to any of the SoC's inp…
-
Where can I get the information about the LED driver?I am developing my own firmware as well and I would like to use the LED. Thanks