GPIO pin default configuration mode different from 580?

⚠️
Hi there.. thanks for coming to the forums. Exciting news! we’re now in the process of moving to our new forum platform that will offer better functionality and is contained within the main Dialog website. All posts and accounts have been migrated. We’re now accepting traffic on the new forum only - please POST any new threads at//www.xmece.com/support. We’ll be fixing bugs / optimising the searching and tagging over the coming days.
3 posts / 0 new
Last post
uta_lc
Offline
Last seen:1 year 3 weeks ago
Joined:2016-05-03 07:39
GPIO pin default configuration mode different from 580?

Dear Dialogue Support,

我们有遇到一些非常有趣的情况。

Due to tight power budget, we have been using GPIO P07 (supposedly after power on / reset it should be input pull down) to control a FET to turn on (P07 low)/off (P07 high) flash power. And this has been working well on DA14580: after reset / power on, the default P07 state is input (low) and it turns on flash. After system boots up, we drive P07 high to turn off flash. We are using the scheme where boot loader in OTP, 2 copies of f/w in flash in separate partition.

However we found this scheme stopped working on DA14585: we have to permanently pull down the FET control (P07 via 1K resistor) otherwise the system won't boot up any more. That is, unless the flash is always powered, there is no way to boot up from flash.

We understand it is possible to modify the boot loader to configure P07 to low to boot. However we already have a batch of product which has the secondary boot-loader burnt which does not have the turning P07 low configuration.

In this situation, do we have any way out for the batch of product to boot? (This is an urgent issue, can some one please respond quickly?)

Thanks for your help,
uta_lc

Device:
PM_Dialog
Offline
Last seen:2 days 19 hours ago
Staff
Joined:2018-02-08 11:03
Hi uta_lc,

Hi uta_lc,

As I am able to understand from your thread, you burnt the OTP and you are booting from there? Did I understand correctly? The P0_7 is used for the boot sequence, so please check theTable 1of the“DA1458x Booting from serial

Interfaces (AN-B-001)”application notes document. The default rom bootloader configures the P0_7 as input pull down, and after that it doesn’t change its state. So, if you are booting from OTP, could you please check the state of P0_7? Is it high or low?

Thanks, PM_Dialog

uta_lc
Offline
Last seen:1 year 3 weeks ago
Joined:2016-05-03 07:39
Thanks for the response. We

Thanks for the response. We've resolved it.

Cheers,
uta_lc