Re: [linux-sunxi] Toggeling LDO3 causes crash/shutdown of the AXP209. Some verification help needed.

2017-03-01 Thread o . schinagl
Hey Marcus, On Tue, 2017-02-28 at 13:58 +0100, Marcus Weseloh wrote: > 2017-02-28 13:19 GMT+01:00 Lyubcho Haralanov : > > The question that really bugs me is: why toggling LDO4 doesn't > > affect the board but toggling LDO3 kills it... > > > > Can you measure the time it

Re: [linux-sunxi] Toggeling LDO3 causes crash/shutdown of the AXP209. Some verification help needed.

2017-03-01 Thread o . schinagl
Hey Lub, On Tue, 2017-02-28 at 04:19 -0800, Lyubcho Haralanov wrote: > The question that really bugs me is: why toggling LDO4 doesn't affect > the board but toggling LDO3 kills it... I was wondering the same thing, but it could be very well because it has a different circuitry behind it inside

Re: [linux-sunxi] Toggeling LDO3 causes crash/shutdown of the AXP209. Some verification help needed.

2017-02-28 Thread Marcus Weseloh
2017-02-28 13:19 GMT+01:00 Lyubcho Haralanov : > The question that really bugs me is: why toggling LDO4 doesn't affect the > board but toggling LDO3 kills it... > Can you measure the time it takes LDO3 and LDO4 to ramp to up the their final value? LDO4 seems to have a

Re: [linux-sunxi] Toggeling LDO3 causes crash/shutdown of the AXP209. Some verification help needed.

2017-02-28 Thread Lyubcho Haralanov
The question that really bugs me is: why toggling LDO4 doesn't affect the board but toggling LDO3 kills it... On Tuesday, February 28, 2017 at 10:43:08 AM UTC+2, Olliver Schinagl wrote: > > Hey Lub, > > On 28-02-17 07:43, Lyubcho Haralanov wrote: > > It seems like what Marcus suggested

Re: [linux-sunxi] Toggeling LDO3 causes crash/shutdown of the AXP209. Some verification help needed.

2017-02-28 Thread Olliver Schinagl
Hey Lub, On 28-02-17 07:43, Lyubcho Haralanov wrote: It seems like what Marcus suggested (turning off LDO3, setting voltage to minimum 0.7V, then turning on LDO3 and then increasing the voltage to 2.8V) works fine with the LIME2: i2c mw 0x34 0x12 0x1f i2c mw 0x34 0x29 0x00 i2c mw 0x34 0x12

Re: [linux-sunxi] Toggeling LDO3 causes crash/shutdown of the AXP209. Some verification help needed.

2017-02-27 Thread Lyubcho Haralanov
It seems like what Marcus suggested (turning off LDO3, setting voltage to minimum 0.7V, then turning on LDO3 and then increasing the voltage to 2.8V) works fine with the LIME2: i2c mw 0x34 0x12 0x1f i2c mw 0x34 0x29 0x00 i2c mw 0x34 0x12 0x5f i2c mw 0x34 0x29 0x58 I'm yet to test the other

Re: [linux-sunxi] Toggeling LDO3 causes crash/shutdown of the AXP209. Some verification help needed.

2017-02-27 Thread oliver
Hey Lub On , Lyubcho Haralanov wrote: Hi, VR1 is not assembled (NA). It is not placed. Only pads are provided in case you don't want to power the camera from the AXP209 but externally, in which case you should place VR1 and disconnect the SMT jumper LDO3_2.8V_E. By original design the camera

Re: [linux-sunxi] Toggeling LDO3 causes crash/shutdown of the AXP209. Some verification help needed.

2017-02-27 Thread Marcus Weseloh
Hi Lyubcho, 2017-02-27 15:36 GMT+01:00 Lyubcho Haralanov : > VR1 is not assembled (NA). It is not placed. Only pads are provided in > case you don't want to power the camera from the AXP209 but externally, in > which case you should place VR1 and disconnect the SMT jumper

Re: [linux-sunxi] Toggeling LDO3 causes crash/shutdown of the AXP209. Some verification help needed.

2017-02-27 Thread Lyubcho Haralanov
Hi, VR1 is not assembled (NA). It is not placed. Only pads are provided in case you don't want to power the camera from the AXP209 but externally, in which case you should place VR1 and disconnect the SMT jumper LDO3_2.8V_E. By original design the camera is powered only by the AXP209. Best

Re: [linux-sunxi] Toggeling LDO3 causes crash/shutdown of the AXP209. Some verification help needed.

2017-02-27 Thread Marcus Weseloh
Hi, 2017-02-27 13:11 GMT+01:00 oliver : > One is to remove C185 (10 microF) and the problem went away. Looking at > other designs, cubieboard 1 for example, uses the same layout, but only 4.7 > microF. So it seems that charging of all the capacitance (input C106) the > board

Re: [linux-sunxi] Toggeling LDO3 causes crash/shutdown of the AXP209. Some verification help needed.

2017-02-27 Thread oliver
Hey all, top reply, sorry :) So after the test results I have received so far, for which I am grateful indeed, we did some more experiments here. One is to remove C185 (10 microF) and the problem went away. Looking at other designs, cubieboard 1 for example, uses the same layout, but only

Re: [linux-sunxi] Toggeling LDO3 causes crash/shutdown of the AXP209. Some verification help needed.

2017-02-26 Thread Marcus Weseloh
Hi again, more experiments with LDO3: If I set the voltage of LDO3 to the minimum value (0.7V): => i2c mw 0x34 0x29 0x0 then I can toggle LDO3 on and off without the AXP shutting down. Even increasing LDO3 voltage after it's been enabled works without problems: => i2c mw 0x34 0x12 0x57 => i2c

Re: [linux-sunxi] Toggeling LDO3 causes crash/shutdown of the AXP209. Some verification help needed.

2017-02-26 Thread Marcus Weseloh
2017-02-26 13:19 GMT+01:00 Marcus Weseloh : > So when we switch on LDO3 and the AXP powers that rail, there are now two > sources driving that line. Might be that the AXP notices this, maybe even > sees current flowing into it's output, and shuts down immediately. > I'll

Re: [linux-sunxi] Toggeling LDO3 causes crash/shutdown of the AXP209. Some verification help needed.

2017-02-26 Thread Marcus Weseloh
2017-02-26 11:31 GMT+01:00 Priit Laes : > Could it be a layout/design issue with Olimex boards? It may well be! Looking at the schematic of the A20-SOM-EVB (the base board for the A20-SOM), it seems like the CSI interface is powered via the +5V supply and converter to 2.8V. But

Re: [linux-sunxi] Toggeling LDO3 causes crash/shutdown of the AXP209. Some verification help needed.

2017-02-26 Thread Priit Laes
On Fri, 2017-02-24 at 23:13 +0100, Olliver Schinagl wrote: > Hey all, > > I've seen some discussion in the past about the state of LDO3 on > severalĀ  > boards. Some people mentioned hangs on enabeling them from the kernel > etc. > > [..] Tried this on my sunxi zoo, AXP version/revision is

Re: [linux-sunxi] Toggeling LDO3 causes crash/shutdown of the AXP209. Some verification help needed.

2017-02-25 Thread Marcus Weseloh
Hi Oliver, 2017-02-24 23:13 GMT+01:00 Olliver Schinagl : > It turns out, turning on LDO3, after it was turned off before, causes the > PMIC to shut down. Even enabeling all interrupts and checking the interrupt > pin, nothing could be found as to why however. It is thus