8. Appendices

Adjusting the FTDI Cable Latency Timer

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

Follow these steps 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 24.

../_images/ftdicom.jpg

Figure 24 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 5 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 26 UART2 Single Wire Jumper Configuration DA1453x

Attention

To use single wire UART , user 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 will 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, please refer to the section 6 in the AN-B-072.

Table 6 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 27 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 you can follow the 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 showing the default configuration on Prodevkit and SmartSnippets™ Toolbox:

../_images/uartspi.svg

Figure 28 SPI Flash Programing Through UART: Pins Configurations

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 only install 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 includes 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.

(Registration is required in order to download the SmartSnippets).

Warning

Please be aware 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). Several of the required tools are automatically installed, others need to be manually downloaded and installed.

  2. Select to install 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 30 Select SmartSnippets™ Studio Install Directory

    The SmartSnippets™ Studio is installed.

hints

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

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

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

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