Voltage Leakage in GPIO pins ! EEPROM interface

11 posts / 0 new
Last post
hrg
Offline
Last seen:2 years 5 months ago
格鲁鲁
加入:2014-08-05 13:37
Voltage Leakage in GPIO pins ! EEPROM interface

Hi Dialog Team

We are using the DA14580 dev kit(Expert) and we use the setup in boost mode. We noticed that there is some voltage level of 2-2.5 volts in the GPIO pins (especially in P0_2 ,P0_3 we found this when we were trying to execute the I2C example !) So in boost setup the daughter board is supplied with 1.5 volts ,but these gpio pins measured nearly 2-2.5 volts !! There is some breakthough from the motherboard straight to these GPIO pins ! even when the daughterboard is removed the GPIO pins hold these voltage levels !

I have attached the Snapshot of the Mother board (Expert) ,could you please for any error in jumpersettings inorder to remove the voltage across the GPIO pins

https://www.dropbox.com/s/yjdvblme1tskw0a/MotherBoard.jpg?dl=0

Thankyou.

JE_Dialog
Offline
Last seen:1 month 5 days ago
Staff
加入:2013-12-05 14:02
你好HRG,

你好HRG,

i took a quick look and jumper settings look fine. What you might be seeins is the ports scanning - these are the ports that may be for example SPI , so they will be scanning for peripherals. It depends of course on what you have these configured to, but by defauly, P0_2/3 will be part of SPI. When you remove the daugtherboard, it will continue to function for some time as the distributed capacitance across the board can continue to power the device for a short time (since its so low power).

BR JE_Dialog

hrg
Offline
Last seen:2 years 5 months ago
格鲁鲁
加入:2014-08-05 13:37
I removed the Daughterboard

I removed the Daughterboard and waited for one hour ,& these GPIO pins some measure 2.1 volts ,some measure 2.9 volts !! since we are using 1.5 volt boost mode for daughtercard & if we plug it the wont it conflict with the motherboard voltage ? So when we connect I2C pheriperal to P0_2 ,P0_3 it is not working because these pins are in different voltages and higher that the DA14580 supply (1.5v). !

Thankyou

BB_Dialog
Offline
Last seen:8 months 1 week ago
Staff
加入:2013-12-05 14:44
Hi hrg,

Hi hrg,

in boost mode, by default all GPIO's are connected to the 3V rail, that is Vbat3V.
在Boost模式下,VBAT3V由内部升压生成,默认情况下将是2.7V。

In your software you can define to connect them to the 1V rail (Vbat1V), or leave them connected to the Vbat3V rail but set the Vbat3V to 1.8V (the lowest possible).

1) set to Vbat1V rail:
P01_PADPWR_CTRL_REG (0x50003070)
7:0R / W.P0_OUT_CTRL1 = P0_x port output is powered by 1V rail
0 = P0_x port output is powered by 3V rail (default setting)
bit 0 controls the power of P0[0],bit 7 controls the power of P0[7]

2) Set Vbat3V to 1.8V:
DCDC_CTRL2_REG (0x50000082)
Bits 11:9 -DCDC_VBAT3V_LEV : value: 0x00 (default value = 0x6).

Please note that during booting, and OTP not burned, all P0 GPIO's are scanning for peripherals (SPI, UART, ) and these will have signal peak levels of about 2.7V in that case.
And with OTP burned, the bootrom still defines the supply rail of the GPIO's to Vbat3V, and its voltage is set to 2.7V in order to be able to read the OTP header.

Best regards, BB_Dialog.

hrg
Offline
Last seen:2 years 5 months ago
格鲁鲁
加入:2014-08-05 13:37
Thankyou BB_Dialog !!

Thankyou BB_Dialog !!
i will check it once and come back to you.Meanwhile when i remove the Daughter card ,in the mother board still there is some 2-2.9 volts across the some of the GPIO pins J1 ,J2,J3,J4 .why ??

BB_Dialog
Offline
Last seen:8 months 1 week ago
Staff
加入:2013-12-05 14:44
Hi hrg,

Hi hrg,

normally only some voltage at pins P0_4, P0_5 (UART from FTDI chip) are present: remove J25 jumpers and the voltage should be 0V;
and at P1_4(SWCLK), P1_5 (SW_DIO), these are the JTAG/JLINK lines.
The others should be at 0V.

Best regards, BB_Dialog.

hrg
Offline
Last seen:2 years 5 months ago
格鲁鲁
加入:2014-08-05 13:37
Hi BB_Dialog

Hi BB_Dialog
在裸露的motherbord,p0_2 - 2.9volts和p0_3 - 2.1伏特。我删除了跳线J25,但仍存在问题!你能检查一次并承认我吗?

Thankyou

BB_Dialog
Offline
Last seen:8 months 1 week ago
Staff
加入:2013-12-05 14:44
Hi hrg,

Hi hrg,

p0_2 / p0_3适用于UART CTS / RTS。J26是这些。在我的电路板中,没有放置J26。
In my case, the voltages are 0V.
What is your MB revision? Is it REV C2?

Please refer to schematics available on this site.
http://support.dialog-semiconductor.com/system/files/resources/580-mb-vc2-sch.pdf

B.R.,BB_Dialog

hrg
Offline
Last seen:2 years 5 months ago
格鲁鲁
加入:2014-08-05 13:37
Hi BB_Dialog !!

Hi BB_Dialog !!
I removed the J26 ,now the voltages are zero as you mentioned ! Now I tried with I2c EEPROM example its working fine with my EEPROM & made to boot my application from it :) !!
Here are the doubts i have now
1) now i have disabled the Uart CTS/RTS (removing J26) ,is it okay to disable these ,i mean when do we need uart cts/rts ??

2) and also for EEPROM am using external pullups of 10k -is it mandatory ?? (because datasheet of EEPROM(AT24C1024B) dint mention any pull-up resistors )

Thankyou

BB_Dialog
Offline
Last seen:8 months 1 week ago
Staff
加入:2013-12-05 14:44
Hi hrg,

Hi hrg,

- RTS/CTS very rarely used. I think only for the USB Dongle Proximity Monitor project.

- 是的,对于I2C外部上拉,需要4K7或10K很好。对于I2C,这些不会在内部提供。

B.R.,BB_Dialog.

hrg
Offline
Last seen:2 years 5 months ago
格鲁鲁
加入:2014-08-05 13:37
Thankyou BB_DIALOG !

Thankyou BB_DIALOG !

Topic locked