8. Appendices

Adjusting the FTDI Cable Latency Timer

When using an external FTDI cable for OTP burning or image downloading to external memory, it is important to set the FTDI cable’s latency timer to less than 10 ms.

Complete the steps below to change the latency timer:

  1. Open the Windows Device Manager.

  2. In the Device Manager, expand the list of COM ports.

  3. Right-click on the COM port relevant to your setup and select Properties.

  4. In the Port Settings tab, click Advanced.

  5. Set the Latency Timer to a value less than 10 ms.

  6. Click OK to save the changes and then close the Device Manager.

Hint

You can find a visual reference for the “FTDI Latency Timer” in Figure 40.

../_images/ftdicom.jpg

Figure 40 FTDI latency timer

Single Wire UART Configuration for Blinky Project 53x

P0_5 is assigned to a single wire UART signal RxTx. To enable this on DA14531 PRO-Development kit, three additional jumpers need to be added.

Table 9 Blinky example UART & LED jumper configuration on DA1453x

GPIO

Function

Jumper Configuration

P0_5

UART2 TX (Single Wire)

J1.19 – J1.20 / J10.1 – J1.15 / J10.2 – J1.17

P0_9

LED

J8.3 – J8.4

../_images/singlewire.svg

Figure 42 UART2 single wire jumper configuration DA14535

Attention

To use single wire UART, users also need to change the configuration in user_periph_setup.h:

1   #define UART2_TX_PORT           GPIO_PORT_0
2   #define UART2_TX_PIN            GPIO_PIN_5

SPI Flash Programming

You can burn data into the SPI flash using SST (SPI Serial Transfer) over a single UART connection. However, there are specific pin configurations you need to follow for this setup. When programming the SPI flash using 2-wire UART, you need to perform OTP (One-Time Programmable) programming. This is because the default SPI pins are shared with the default UART pins (P0_0/P0_1). For detailed information on how to configure the pins and perform this process, see Section 8.3 in the AN-B-072.

Table 10 Default configuration settings for SPI

Function

Signal

MOSI J1:3-4 (Default)

P0_0

FCS J1:7-8 (Default)

P0_1

MISO J1:9-10 (Default)

P0_3

SCK J1:5-6 (Default)

P0_4

../_images/j1_default.svg

Figure 43 Default SPI configuration

Hint

For SPI flash programming steps with SmartSnippets™ Toolbox, see UM-B-083: program SPI/EEprom: SPI Flash Programmer.

For an SPI flash programming Keil® example, see SPI Flash Memory Example.

SPI Flash Programming Using Single Wire UART

Use of the Single Wire UART to Download Code in SPI Flash is also possible. The figure below shows the default configuration on Prodevkit and SmartSnippets™ Toolbox:

../_images/uartspi.svg

Figure 44 SPI flash programing through UART: Pin configuration

8.1. SmartSnippets™ Studio

Renesas SmartSnippets™ Studio is a royalty-free software development platform for Smartbond™ devices. It fully supports the DA1453x family of devices. For the SmartSnippets™ Package, you need to install only SmartSnippets™ Studio.

SmartSnippets™ Toolbox is a comprehensive software development tool that covers various development requirements:

Firmware Management: - SmartSnippets™ Toolbox enables programming and loading firmware into various memory types, including SRAM, OTP, EEPROM, and Flash.

Power Profiling: - It offers power profiling capabilities, allowing you to assess and optimize power consumption for your applications.

Terminal Scripting: - SmartSnippets™ Toolbox provides features for terminal scripting, simplifying interactions with your device and streamlining debugging.

Documentation: - Extensive SmartSnippets™ Toolbox documentation is available to assist you in making the most of this powerful development tool.

SmartSnippets™ Toolbox is an indispensable resource for your software development needs.

SmartSnippets™ Installation

These are the steps to install:

  1. Download the latest version of SmartSnippets™ Studio from Development Tools.

    Note: Registration is required in order to download the SmartSnippets.

Warning

Beaware that if you have antivirus software installed on your machine, it could slow down the SmartSnippets™ installation due to the scan.

  1. Run the SmartSnippets™ Studio installer (.msi). Most of the required tools are automatically installed andm some needs to be manually downloaded and installed.

  2. Select the latest version of SEGGER J-Link GDB Server and click Next.

  3. Select the destination folder for SmartSnippets™ Studio and click Next.

    ../_images/SmartSnippets.jpg

    Figure 50 Select SmartSnippets™ Studio installation directory

    The SmartSnippets™ Studio is installed.

Hints

  • The default Windows installation folder for SmartSnippets™ Studio is C:\DiaSemi

  • When Windows Defender is turned ON, it prevents the SmartSnippets™ Studio installer (.msi) from running automatically. When prompted, click Run Anyway

  • Administrator access is required to install SmartSnippets Studio software components.

For more information on the installation procedure of SmartSnippets™ Studio, see the UM-B-057 SmartSnippets Studio User Manual.