9 posts / 0 new
Last post
daniel59
Offline
Last seen:1 year 5 months ago
加入:2016-01-08 04:34
DA14580 Production question.

Hello,

According to the UM-B-041, 6.2.5.3, can I use SWDIO and SWCLK as URX and UTX in Production?

Device:
MT_dialog
Offline
Last seen:2 months 2 weeks ago
工作人员
加入:2015-06-08 11:34
Hi daniel59,

Hi daniel59,

Yes that is possible, you can use the SWDIO and SWCLK pins.

Thanks MT_dialog

daniel59
Offline
Last seen:1 year 5 months ago
加入:2016-01-08 04:34
好的。谢谢你!

好的。谢谢你!

daniel59
Offline
Last seen:1 year 5 months ago
加入:2016-01-08 04:34
Hello,

Hello,

I also ask this question in Chinese forum, link:https://support.dialog-semiconductor.com/comment/13558#comment-13558, and he said that I have to download prod_test using P0_4 and P0_5 first, then use UART Programming GPIOs Setup function to change the pin to P1_4 and P1_5 to burn my firmware to OTP. So I still have to leave P0_4 and P0_5 out?

MT_dialog
Offline
Last seen:2 months 2 weeks ago
工作人员
加入:2015-06-08 11:34
Hi daniel59,

Hi daniel59,

The 580 uses only the default pins in order to download code (the 580 executes the bootloader only via port 0, this is something that can not be configured or changed without running any sw), what they ve told you in the Chinese forum is valid, only via the port 0 you will be able to download code. After doing that only then you will be able to configure other pins as the ones that you have requested, and to make things clear, those pins can be used as UART pins and not as JTAG pins, the PLT doesn't use the JTAG.

To be even more specific, the document indicates that the option that is described in the paragraph that you ve mentioned is used only if the UART Programming GPIOs aren't the same as the UART boot pins. It also states that "the DUT will always boot from a predefined pair of pins as configured in the UART Boot pins Setup. Then it will switch to the new pins configured here by sending a command to the firmware." You have to download the fw first in order to use different pins for programming the device.

Thanks MT_dialog

daniel59
Offline
Last seen:1 year 5 months ago
加入:2016-01-08 04:34
So if I want to use both JTAG

So if I want to use both JTAG and UART, can I connect a 5 pin Female Header , 1 pin to VPP, 1 pin to VCC, 1 pin to GND, 1 pin to P0_4 and P1_4, 1 pin to P0_5 and P1_5?

MT_dialog
Offline
Last seen:2 months 2 weeks ago
工作人员
加入:2015-06-08 11:34
Hi daniel59,

Hi daniel59,

If you would like to use this option, as the doucment indicates you will have to use 4 UART connections appart from the allready necessary connections "The DUT will have four UART connections with the PLT hardware".

Thanks MT_dialog

daniel59
Offline
Last seen:1 year 5 months ago
加入:2016-01-08 04:34
No i'm not asking about this

No i'm not asking about this option now. I want a design that can be used both in Development and Production, according to training 07, Development needs SWDIO and SWCLK, Production needs a Bootable UART pair, so if I design it as my pic shows, can it be used both in Development and Production?

Attachment:
MT_dialog
Offline
Last seen:2 months 2 weeks ago
工作人员
加入:2015-06-08 11:34
Hi daniel59,

Hi daniel59,

Development needs the JTAG pins in order to debug your program, during production you need at least one pair of the bootable pins in order for the PLT to download code into the 580, what signal you are going pass through your connections of the header doens't matter (either is a SW signal or UART signal). If i understand your question correctly you can use the same pins on your header as JTAG while development and the same header pins as UART during production but those pins should be switched and assigned to the proper pins of the 580 (JTAG and UART boot pins). To make things clear the UART booting pins are the indicated pair pins on port 0 (P00/P01, P02/03, P04/P05, P06/P07) and the JTAG pins are (P14/P15), so when your are in development you should have the selected pins of the header to the SWDIO/SWCLK pins of the 580 and when you are in production the pins of the header should be attached to the P00/P01 (for example as i mentioned there are other 3 options).

Thanks MT_dialog