DALI 2 Framework Design Document Introduction System Requirements Hardware Requirements Software Requirements...

Size: px
Start display at page:

Download "DALI 2 Framework Design Document Introduction System Requirements Hardware Requirements Software Requirements..."

Transcription

1 DALI 2 Framework Design Document Version Introduction This project provides a Synergy Platform compatible Framework for the Digital Addressable Lighting Interface (DALI; International standard IEC and IEC 62386) in Version 2. It uses the DALI interface of S128 MCUs und the ThreadX RTOS (optional) and provides libraries to be integrated in user applications. With its help it is possible to develop devices conforming to the DALI 2 standard. The DALI 2 framework consists of a HAL Driver for the MCUs interface, a Framework Driver encapsulating additional timing functionality and an optional Library Framework that supplies higher level DALI functions. Contents DALI 2 Framework Design Document Introduction System Requirements Hardware Requirements Software Requirements Design Overview HAL Driver Overview... 2 Timing and Interrupt Context Operation Framework Driver Overview Library framework: Overview and Configuration Memory Usage Architecture block diagram... 21

2 2. System Requirements 2.1 Hardware Requirements Synergy S128 MCU with DALI 2 interface (for example R7FS128783A01CFM). CPU speed >= 32 MHz Memory requirements: 256 KB Flash, 24 KB RAM The development board DK-S128 may be used. It fulfills all hardware requirements and includes a hardware interface for a direct DALI bus connection. 2.2 Software Requirements The Framework is developed to be used with e2studio. You need a PC with e2studio ISDE Version or newer. SSP version gcc embedded ARM Toolchain version or newer Renesas Synergy MCU S128 Pack file (Renesas.Synergy_mcu_s pack) 3. Design Overview The DALI 2 framework consists of 1. HAL Driver: It uses the MCUs DALI interface to receive and send DALI frames. 2. Framework Driver: It encapsulates the HAL driver and a general purpose timer (GPT) that is needed by the HAL driver for additional timing. 3. Library Framework: (optional). It implements higher level DALI requirements and functions and uses the Framework driver. 4. Application: The user application can either use the Framework driver and work with DALI frames directly or it can use the Library Framework that implements lots of DALI-specific requirements. 3.1 HAL Driver Overview The HAL Driver uses the MCU s DALI interface to send and receive DALI frames. It provides an API to control the interface and to send frames. A callback function must be provided to receive DALI frames and status information. The HAL Driver performs DALI-specific timing and time measurements. To do so an accurate time source must be supplied. Page 2

3 3.1.1 Configuration The configuration of the module is done in the Properties dialog of the module within e2studio. Module-specific properties Name: Name of the control variable Channel: Number of the DALI interface to be used (0 for S128 R7FS128783A01CFM) Transmission timeout [100 usec]: If sending a frame within this time is not possible, sending is aborted and the callback function is called with an error status. Use 0 if no timeout is needed. Time is given in increments of 100 usec. For example, a number of 2000 represents a time of 200 msec. Periodic status transmission [100 usec]: If not 0 the callback function will be called in the given time interval with the DALI interface status. It is used by the Library Framework. If the Library Framework is not used it can be used by the application for timing purpose and may eliminate the need for additional timers. Callback: Must be provided if the Library Framework is not used. The provided callback must have the prototype: void callback (dali_frame_t p_frame). For details of the returned dali_frame_t variable, see the complete API documentation or the DEMO code. The callback will be called when a DALI frame is received. when a DALI frame was sent successfully or could not be sent (timeout). periodically if Periodic status transmission is not 0. Collision detection: Enable or disable DALI collision detection (for details see datasheet of S-128 MCU and/or DALI spec). Page 3

4 Strict collision detection: Enable or disable strict DALI collision detection (for details see datasheet of S-128 MCU and/or DALI spec). Bit timing violation detection: Enable or disable timing violation detection (for details see datasheet of S-128 MCU and/or DALI spec). DTX width modulation: Enable or disable DTX width modulation. All DALI hardware interfaces have a delay in their sending circuit between the MCU s DALI Tx output to the DALI bus. If the delay of the falling edge and the rising edge is not the same, the signal on the DALI bus gets misshaped. The resulting signal at the DALI bus does not have the correct half-bit timing. If the amount of this misshape is known it can be compensated with the help of the DTX width modulation. low time of DTX in usec [ ]: Time in usec the DALI Tx pin of the MCU should remain low to achieve an optimal DALI bus low time of usec. Only used if DTX width modulation is active. Falling Edge Interrupt Priority: Must be enabled and set properly. Default priority is 2. Stop Detection Interrupt Priority: Must be enabled and set properly. Default priority is 2. Buspower Down Interrupt Priority: Must be enabled and set properly. Default priority is 2. Collision Detection Interrupt Priority: Must be enabled and set properly. Default priority is 2. Configuring the DALI interface Clock Source The DALI interface of the S128 MCS uses PCLKB as clock source. The HAL Driver supports the following clock frequencies: 4,8,12,16,24,32,48 and 64MHz. Open the Clocks configuration menu of your application and make sure that PCLKB is set to one of these frequencies. Page 4

5 3.1.2 API Usage The HAL Driver defines APIs for controlling the DALI interface and sending frames. A complete list of the available APIs, an example API call, a short description of each and the API status return values can be found in the tables below. For more complete descriptions of operation and definitions for the function data structures, typedefs, defines, API data, API structures, and function variables, review the API References Manual for the module. Function name.open.close Example API Call and Definition g_dali0.p_api->open(g_dali0.p_ctrl, g_dali0.p_cfg) This API must be called once before using the DALI interface. It will initialize and open the DALI interface. g_dali0.p_api close(g_dali0.p_ctrl) This API can be called to shut down the DALI interface. It will clean-up and close the DALI interface. Before the interface can be used again, a call to open is necessary..write dali_frame_t frame; // declare frame variable frame.data_length=16; // send a 16 bit frame frame.data=0xa701; // data to be send frame.priority=dali_frame_priority_3; // send with priority 3 g_dali0.p_api->write(g_dali0.p_ctrl, &frame); This API must be called to send a DALI frame. frame must be of type dali_frame_t and filled with the necessary information..infoget.versionget.timinghelper dali_info_t info; // declare variable that will receive the information g_dali0.p_api infoget(g_dali0.p_ctrl, &info); This API can be called to retrieve status and statistical information about the DALI interface. g_dali0.p_api->versionget(&version); Retrieve the API version with the version pointer. Can be called even if the interface is not opened. g_dali0.p_api->timinghelper(g_dali0.p_ctrl) This API must be called every 100 usec if the interface is opened. This way the driver can meet the DALI timing requirements. This is done automatically by using the Framework Driver. Table 1: HAL driver API Each call to an API will return a status return value listed below. Name SSP_SUCCESS SSP_ERR_ASSERTION Description API call successful. NULL pointer argument Page 5

6 SSP_ERR_DALI_INIT_FAILED SSP_ERR_DALI_INTERFACE_NOT_OPEN SSP_ERR_DALI_TRANSMIT_NOT_READY SSP_ERR_DALI_ILLEGAL_FRAMELENGTH SSP_ERR_DALI_ILLEGAL_PRIORITY SSP_ERR_DALI_UNSUPPORTED_FREQ Initialization of DALI interface failed Interface was not opened Request to send a frame while transmitter is not ready Request to send a frame with unsupported length Request to send a frame with unsupported priority DALI interface is supplied with an unsupported clock frequency. Table 2: API return codes Operation Initialization The configuration of the interface is done by setting its properties in the e2 studio. The DALI interface is then initialized and un-initialized by calling its API open and close functions. However, this is normally NOT done from the application, because the Framework Driver will call these functions when it is opened/closed. Sending DALI frames DALI frames can be sent by calling the.write API function. The call can only succeed if no other frame is pending within the HAL driver. The application must make sure to wait until completion of a previous transmission or resend on an unsuccessful.write API call. The API function will always return immediately without waiting for the actual transmission of the frame to the DALI bus. The completion of the transmission will be indicated by calling the callback function. This will be done even on transmission failure or timeout. Receiving DALI frames If a DALI frame is received from the bus, the callback function will be called. Retrieving status information Statistics and status information can be retrieved any time while the interface is opened by calling the API.infoGet function. Timing and Interrupt Context Operation Care must be taken not to interfere with the critical timing of the HAL Driver. Interrupts with higher priority than the interrupts of the HAL Driver should be as short as possible. The HAL Drivers timing depends on the accuracy of the calls to its.timinghelper function. These calls should be as accurate as possible and no call should be left out while the interface is opened. It is best to use the Framework Driver that adds the correct timing to the HAL Driver automatically. The callback function should return as fast as possible and should not do any lengthy calculation, because it is called from an interrupt context. It is best to do the actual processing in another thread and not in the callback function itself. This is done automatically if the Library Framework is used. Critical sections in the application should be avoided or as short as possible because they may delay interrupt processing and make timing inaccurate. Page 6

7 3.1.4 Threads The HAL driver does not depend on ThreadX and does not use any threads. It is mainly interrupt-driven by either the DALI interface interrupts or timer interrupts Application The Application should not use the HAL Driver directly. Instead, it should use the Framework Driver or the Library framework. Page 7

8 3.2 Framework Driver Overview It encapsulates the HAL Driver and a general purpose timer (GPT) that is needed by the HAL Driver for additional timing. Its usage is very similar to the usage of the HAL Driver. It is a little easier because the handling of the additional timing and API function is not necessary. It also provides an API to control the interface and to send frames. A callback function must be provided to receive DALI frames and status information Configuration The configuration of the module is done in the Properties dialog of the module within e2studio. Configuration of the Framework driver s properties Name: Name of the control variable. Callback: Must be provided. It must have the prototype void callback (dali_frame_t p_frame); For details of the returned dali_frame_t variable, see the complete API documentation or the DEMO code. The callback will be called when a DALI frame is received. when a DALI frame was sent successfully or could not be sent (timeout). periodically if Periodic status transmission is not 0. Periodic status transmission [100 usec]: If not 0, the callback function will be called in the given time interval with the actual DALI interface status. This feature is used by the Framework Library. Without the Framework Library, it can be used by the application for timing purposes and may eliminate the need for additional timers. The configuration of the General Purpose Timer (GPT) module used by the Framework Driver is done in the Properties dialog of the module within e2studio. Page 8

9 Name: Name of the control variable. Channel: Channel number of the used GPT timer. Make sure to use a GPT channel that is not used for other purposes in your application. Interrupt Priority: Must be enabled. Setting it to the same priority as the four DALI interrupts of the HAL Driver is a good starting point for the application. There is no need to configure the other properties of the timer module API Usage The DALI Framework defines APIs for controlling the DALI interface and sending frames. It is very similar to the API of the HAL Driver. A complete list of the available APIs, an example API call, a short description of each and the API status return values can be found in the tables below. For more complete descriptions of operation and definitions for the function data structures, typedefs, defines, API data, API structures, and function variables, review the API Reference manual for the module. Function name.open Example API Call and Definition g_sf_dali0.p_api->open(g_sf_dali0.p_ctrl, g_sf_dali0.p_cfg) This API must be called once before using the Framework Driver and the DALI interface. It will initialize and open both. Page 9

10 .close g_sf_dali0.p_api->close(g_sf_dali0.p_ctrl) This API can be called to shut down the Framework Driver and the DALI interface. It will clean-up and close both. Before the interface can be used again a call to open is necessary..write dali_frame_t frame; // declare frame variable frame.data_length=16; // send a 16 bit frame frame.data=0xa701; // data to be send frame.priority=dali_frame_priority_3; // send with priority 3 g_sf_dali0.p_api->write(g_sf_dali0.p_ctrl, &frame); This API must be called to send a DALI frame. frame must be of type dali_frame_t and filled with the necessary information..infoget.versionget dali_info_t info; // declare variable that will receive the information g_sf_dali0.p_api->infoget(g_sf_dali0.p_ctrl, &info); This API can be called to retrieve status and statistical information about the DALI interface. g_sf_dali0.p_api->versionget(&version) Retrieve the API version with the version pointer. Can be called even if the interface is not opened. Table 3: API of DALI Framework driver Each call to an API will return a status return value listed in Table Operation The configuration of the Framework Driver is normally done by setting the properties in the e2 studio. The Framework Driver is then initialized and un-initialized by calling its API open and close functions. Calling open will in turn open the associated timer and HAL Driver and make the necessary connections between them. Calling close will close the timer and HAL Driver. However, if the application uses the Library Framework, the Library Framework will call these functions when it is opened/closed. In this case it not necessary to call any Framework Driver API function from the application. The operation of the Framework Driver is the same as the operation of the HAL Driver without the need to call the.timinghelper API. Please refer to the HAL Driver description for more details. The same applies to Timing and Interrupt Context operation considerations Threads The Framework Driver does not depend on ThreadX and does not use any threads. It is mainly interrupt-driven by either the DALI interface interrupts or timer interrupts Application An application may use the Framework Driver directly without the Library Framework. This chapter gives an overview of the necessary steps and an example of how to use the Framework Driver in your own application. Including the Framework Driver in your applications Page 10

11 Make sure to have the Dali Framework pack files installed in e2studio. Then, from e2studio, open your applications configuration and add Framework Connectivity DALI2 Framework to a thread of your application. Configure the Framework Driver Configuration can be done by editing the properties of the DALI Framework from e2studio as described in chapter Initialization Call the open function of the Framework Driver API from your application. See code example below. ssp_err_t err = g_sf_dali0.p_api->open(g_sf_dali0.p_ctrl, g_sf_dali0.p_cfg); if (SSP_SUCCESS!= err) { /* TODO: add error handling */ } Receive frames and status information Frames and status information are received with the help of the provided callback function. The prototype of this function is void dali_callback(dali_frame_t * p_frame); As discussed above, the processing should be as fast as possible. It is best to do the work not in the callback function but from a thread of your application. This can be achieved by using a ThreadX message queue. Each Page 11

12 time the callback function is called it sends one message to this message queue and returns. The messages can be processed later by the application. The code example below explains this TX_QUEUE mq_dali; /* message queue for received DALI frames */ static dali_frame_t mq_dali_storage[100]; /* storage for the queue */ void dali_callback(dali_frame_t * p_frame) { /* push frame to message queue for later processing outside ISR context */ UINT err = tx_queue_send (&mq_dali, p_frame,tx_no_wait); if (TX_SUCCESS!= err) { // TODO: add error handling } } /* ThreadX application thread */ void dali_thread_entry(void) { /* Init message queue */ tx_queue_create (&mq_dali, (CHAR *) "DALI message queue", sizeof(dali_frame_t)/4+1, &mq_dali_storage, sizeof(mq_dali_storage)); } /* Init DALI Framework.*/ err=g_sf_dali0.p_api->open(g_sf_dali0.p_ctrl, g_sf_dali0.p_cfg); while (1) { ssp_err_t err; dali_frame_t frame; err = tx_queue_receive (&mq_dali, &frame, 0); if (TX_SUCCESS == err) { /* process message from DALI Framework */ } } /* send a backward telegram */ ssp_err_t send_backward_telegram(uint8_t data) { dali_frame_t frame; frame.data_length = 8; frame.data = data; frame.priority = DALI_FRANE_PRIORITY_BACKWARD; return g_sf_dali0.p_api->write( g_sf_dali0.o_ctrl, &frame); } Page 12

13 Page 13

14 3.3 Library framework: Overview and Configuration The Library Framework encapsulates the DALI Stack and the DALI Framework Driver. The Library Framework is where communication between the DALI Framework Driver and the DALI Stack is performed. This Library Framework can be used conveniently to set the configuration parameters of the DALI Stack, such as callback functions, specific manufacturer data, DALI device specifications, etc. The Library Framework makes sure that the processing of DALI Frames is not performed in the interrupt context of Framework Driver and HAL Driver. ThreadX uses a message queue for this purpose Configuration The configuration of the DALI Library Framework is done in the Properties dialog of the module within e2studio. Page 14

15 Configuration of the library framework properties Name: Name of the control variable. Stackmode: This defines the DALI device mode. Control Gear: DALI device is set up as a control gear. Control Device: DALI device is set up as a control device. Device mode: Has to be set if a control device is to be set up. Single Control device: If the device is to be the only application control device on the bus. Multi Control device: If the device is to be one of multiple application control devices on the bus. Input Control device: Input devices make a system sensitive to changes in its environment by transmitting event messages, e.g. Push Buttons Control gear device type: Has to be set if a control gear is to be set up. Two DALI control gear device types are currently supported. Fluorescent lamps (DIN ) LED modules (DIN ) Shortaddress: The short address for the DALI device. If addressing is not to be performed, 255 has to be entered. Valid value range [ ]. Callbacks: This is where callback functions are entered which have to be implemented in the application. These callback functions are called up directly by the DALI Stack. GTIN: o Ready: The application is notified by the DALI Stack that the DALI Stack has been fully initialized. o Reaction: Is called up if the application is to perform a certain action. o Load: If the persistent data is to be saved (triggered by the DALI Stack). o Save: If the persistent data is to be loaded (triggered by the DALI Stack). Global Trade Item Number, e.g., the EAN. Firmwareversion: o Firmware version (major): Valid value range [0..255]. o Firmware version (minor): Valid value range [0..255]. Page 15

16 Identifynumber: Identification number of the bus unit, preferably the serial number Hardware version: o Hardware version (major): Valid value range [0..255]. o Hardware version (minor): Valid value range [0..255]. Control Gear Parameter: The following parameters are taken into account if Control Gear is selected as Stackmode. o Physical minimum level (PHM) Physical minimum level corresponding to the minimum light output the control gear can operate at. o LED modules parameter Min. Fast Fade Time: minimum fade time. Valid value range [1..27] Gear Types Parameter Integrated Power supply: LED power supply integrated. [TRUE FALSE] Integrated LED module: LED module integrated. [TRUE FALSE] AC-Supply: AC supply possible. [TRUE FALSE] DC-Supply: DC supply possible. [TRUE FALSE] Possible Operating modes Parameter PWM-Possible: PWM mode possible. [TRUE FALSE]. AM-Possible: AM mode possible. [TRUE FALSE]. Regulated output: Output is current-controlled. [TRUE FALSE]. High current pulse: High-current pulse mode. [TRUE FALSE]. Features Parameter Short circuit: Short circuit detection can be queried. [TRUE FALSE]. Open circuit: Page 16

17 Open circuit detection can be queried. [TRUE FALSE]. Load decrease: Load decrease detection can be queried. [TRUE FALSE]. Load increase: Load increase detection can be queried. [TRUE FALSE]. Overcurrent protection: Overcurrent protection available and can be queried. [TRUE FALSE]. Thermal shutdown: Thermal shutdown can be queried. [TRUE FALSE]. Thermal overload: Lighting current reduction due to thermal overload can be queried. [TRUE FALSE]. Reference measurement: If one of the configuration parameters is set to TRUE, this parameter also has to be set to TRUE. o Load decrease o Load increase o Overcurrent protection Control Device: o Input Control Device Parameter: The following parameters are taken into account if the Input Control Device option is selected as device mode. Input device instance type: Has to be set if the Input Control Device option is selected as the device mode. Currently only one input device instance type is supported. o Push Buttons (DIN ) Input device instance number: Each instance must have a unique number in the range [0..NumberOfInstances 1]. Push Buttons Parameter: The following parameters are taken into account if the Push Buttons option is selected as input device instance type. Push button short min.: Minimum time between pressed and released. Value range in milliseconds [ ] Push button double min.: Minimum time between twice pressed. Value range in milliseconds [ ] Page 17

18 For details of the returned dalilib_cfg_t variable, see the complete DALI Stack API documentation API Usage The Library Framework defines APIs for controlling the DALI Stack receiving and sending frames. A complete list of the available APIs, an example API call, a short description of each and the API status return values can be found in the tables below. For more complete descriptions of operation and definitions for the function data structures, typedefs, defines, API data, API structures, and function variables, review the DALI Stack API documentation. Function name.open.close.start.action Example API Call and Definition g_sf_dalilib.p_api->open(g_sf_dalilib.p_ctrl, g_sf_dalilib.p_cfg) This API must be called once before using the Library Framework and the DALI interface. It will initialize and open both. Create message queue for frames send to the DALI stack library. New DALI Stack instance is generated and initialized with the configuration parameters. g_sf_dalilib.p_api->close(g_sf_dalilib.p_ctrl) The connection to the DALI Framework Driver is quit, the generated DALI instance is deleted and the processing loop is quit. This API can be called to shut down the Framework Driver and the DALI interface. It will clean-up and close both. Before the interface can be used again a call to open is necessary. g_sf_dalilib.p_api->write(g_sf_dalilib.p_ctrl); Start the DALI library and process DALI frames. This function will run forever unless a severe internal error happens. If the application is to execute a DALI command actively or is to give a response to a query, this API function has to be called up. Two values have to be transferred as the parameter. Control variable (g_sf_dalilib.p_ctrll) Action-Struct (dalilib_action_t) Examples: The application executes a DALI command. The control device sets the value of the operating device to 100%. 1. dalilib_action_t action; action.actiontype = DALILIB_CTRL_GEAR_ACTION; action.gearact.adr.adr = 0x02; action.gearact.adr.adrtype = DALI_ADRTYPE_SHORT; action.gearact.gearactiontype = DALILIB_ACT_TYPE_CTRL_GEAR_LEVEL; action.gearact.value.actionvalue = (uint32_t)level * 1000; action.gearact.action.levelaction = DALILIB_ACT_CTRL_GEAR_LEVEL_DAPC; g_sf_dalilib.p_api->action(g_sf_dalilib.p_ctrl, &action); The application sends a DALI query to the control gear with the short address 0x02. The light value is queried. 1. dalilib_action_t action; Page 18

19 action.actiontype = DALILIB_CTRL_GEAR_ACTION; action.gearact.adr.adr = 0x02; action.gearact.adr.adrtype = DALI_ADRTYPE_SHORT; action.gearact.gearactiontype = DALILIB_ACT_TYPE_CTRL_GEAR_QUERIES; action.gearact.action. queriesaction = DALILIB_ACT_CTRL_GEAR_QUERY_ACTUAL_LEVEL; g_sf_dalilib.p_api->action(g_sf_dalilib.p_ctrl, &action); Control gear sends the response to the query from a control device. Three steps are executed for the response. 1. DALI Stack triggers the reaction callback function in order to learn the current light value from the application. 2. The application transfers the value to the DALI Stack with the action function. dalilib_action_t action; act.actiontype = DALILIB_CTRL_GEAR_ACTION; act.gearact.action.internalaction = DALILIB_ACT_INTERNAL_CTRL_GEAR_SET_ACTUAL_LEVEL; act.gearact.gearactiontype = DALILIB_ACT_TYPE_INTERNAL_CTRL_GEAR; act.gearact.value.actionvalue = 60; // 60% light value g_sf_dali0.p_api->action(g_sf_dali0.p_ctrl, &act); 3. DALI Stack sends the response. Please refer to the DALI Stack API documentation for more details..versionget g_sf_dalilib.p_api->versionget(&version) Retrieve the API version with the version pointer. dali_wrapper_callback This function should be entered when configuring the DALI Framework Driver as a callback parameter. This callback function is called up by the DALI Framework Driver when a DALI frame is to be forwarded to the DALI Library Framework. This function inserts the DALI frame into the ThreadX message queue. dalilib_wrapper_send This callback function is set in the open function. The application does not take care of initializing this function. API of DALI Library Framework This API function is called up by the DALI Stack when a DALI frame is to be transferred to the DALI Framework Driver Thread Overview The Library Framework requires its own thread. It uses a ThreadX message queue to transport the received DALI frames from the interrupt context of the Framework Driver to this thread context. This is performed automatically so that the application does not have to take care of different contexts. It is the job of the application to start the Library Framework in its own thread (API function: start) Page 19

20 3.3.4 Application This section describes how the module can be used in an application Including the Library Framework in an Application Make sure to have the DALI Library Framework pack files installed in e2studio. Then, from e2studio, open your applications configuration and add Framework Connectivity DALILIB2 Framework to a thread of your application. Configure the DALI Library Framework Configuration can be done by editing the properties of the DALI Library Framework from e2studio as described in chapter Initialization To initialize the DALI Library Framework, after setting the configuration parameters, the API function open first has to be called up. If the open function call-up was successful, the API function start can be used to start the DALI Library Framework. The start function is used to start the processing loop and process the incoming DALI frames in the ThreadX message queue. See code example below. Callback functions o Ready This function is called up when the DALI Framework Driver and the DALI Library Framework are finished with initializations. From now, the application can use DALI Library Framework functionalities. Page 20

21 o Load/Save If the persistent data are to be loaded from the memory or written to the memory, these functions are called up. It is the job of the application to provide persistent saving and loading of the transferred data. o Reaction This function is called up if the application is to react to a DALI command. Please refer to the DALI Stack API Documentation for more details. Page 21

22 4. Memory Usage The typical memory usage of a small application including the Library Framework, Framework Driver and the HAL Driver is shown in the image above. 5. Architecture block diagram Page 22

Renesas DALI Framework Quick Start Guide

Renesas DALI Framework Quick Start Guide Renesas DALI Framework Quick Start Guide Version: 2017, October 17 Table of contents 1 Introduction... 3 2 Prerequisites... 3 3 Requirements... 3 4 Installation and importing for e2studio... 4 4.1 Installation...

More information

BASICS OF THE RENESAS SYNERGY TM

BASICS OF THE RENESAS SYNERGY TM BASICS OF THE RENESAS SYNERGY TM PLATFORM Richard Oed 2018.11 02 CHAPTER 9 INCLUDING A REAL-TIME OPERATING SYSTEM CONTENTS 9 INCLUDING A REAL-TIME OPERATING SYSTEM 03 9.1 Threads, Semaphores and Queues

More information

BASICS OF THE RENESAS SYNERGY PLATFORM

BASICS OF THE RENESAS SYNERGY PLATFORM BASICS OF THE RENESAS SYNERGY PLATFORM TM Richard Oed 2017.12 02 CHAPTER 9 INCLUDING A REAL-TIME OPERATING SYSTEM CONTENTS 9 INCLUDING A REAL-TIME OPERATING SYSTEM 03 9.1 Threads, Semaphores and Queues

More information

SPI Framework Module Guide

SPI Framework Module Guide Application Note Introduction This module guide will enable you to effectively use a module in your own design. Upon completion of this guide, you will be able to add this module to your own design, configure

More information

Power Profiles V2 Framework Module Guide

Power Profiles V2 Framework Module Guide Application Note Renesas Synergy Platform R11AN0317EU0100 Rev.1.00 Introduction This module guide will enable you to effectively use a module in your own design. Upon completion of this guide you will

More information

RL78/I1A APPLICATION NOTE. Lighting Communications Using RL78/I1A (Transmission) Introduction. Target Devices. Contents. R01AN3193EJ0100 Rev.1.

RL78/I1A APPLICATION NOTE. Lighting Communications Using RL78/I1A (Transmission) Introduction. Target Devices. Contents. R01AN3193EJ0100 Rev.1. Introduction APPLICATION NOTE R01AN3193EJ0100 Rev.1.00 The application note explains the control program to be implemented in RL78/I1A Lighting Communication Master Evaluation Board. Refer to the "RL78/I1A

More information

Messaging Framework Module Guide

Messaging Framework Module Guide Application Note Renesas Synergy Platform R11AN0096EU0102 Rev.1.02 Introduction This module guide will enable you to effectively use a module in your own design. Upon completion of this guide, you will

More information

Thread Monitor Framework Module Guide

Thread Monitor Framework Module Guide Application Note Renesas Synergy Platform Introduction This module guide will enable you to effectively use a module in your own design. Upon completion of this guide, you will be able to add this module

More information

RX Family APPLICATION NOTE. Simple I 2 C Module Using Firmware Integration Technology. Introduction. Target Device.

RX Family APPLICATION NOTE. Simple I 2 C Module Using Firmware Integration Technology. Introduction. Target Device. APPLICATION NOTE RX Family R01AN1691EJ0220 Rev. 2.20 Introduction This application note describes the simple I 2 C module using firmware integration technology (FIT) for communications between devices

More information

BASICS OF THE RENESAS SYNERGY PLATFORM

BASICS OF THE RENESAS SYNERGY PLATFORM BASICS OF THE RENESAS SYNERGY PLATFORM TM Richard Oed 2017.12 02 CHAPTER 3 AN INTRODUCTION TO THE APIs OF THE SYNERGY SOFTWARE CONTENTS 3 AN INTRODUCTION TO THE APIs OF THE SYNERGY SOFTWARE 03 3.1 API

More information

ARROW ARIS EDGE LCD Shield User s Guide 03/05/2018

ARROW ARIS EDGE LCD Shield User s Guide 03/05/2018 ARROW ARIS EDGE LCD Shield User s Guide All information contained in these materials, including products and product specifications, represents information on the product at the time of publication and

More information

6L00IA - Introduction to Synergy Software Package Short Version (SSP v1.2.0) Renesas Synergy Family - S7 Series

6L00IA - Introduction to Synergy Software Package Short Version (SSP v1.2.0) Renesas Synergy Family - S7 Series 6L00IA - Introduction to Synergy Software Package Short Version (SSP v1.2.0) Renesas Synergy Family - S7 Series LAB PROCEDURE Description: The purpose of this lab is to familiarize the user with the Synergy

More information

Touch Panel Framework Module Guide

Touch Panel Framework Module Guide Application Note Renesas Synergy Platform R11AN0179EU0103 Rev.1.03 Introduction This module guide will enable you to effectively use a module in your own design. Upon completion of this guide, you will

More information

SpiNNaker Application Programming Interface (API)

SpiNNaker Application Programming Interface (API) SpiNNaker Application Programming Interface (API) Version 2.0.0 10 March 2016 Application programming interface (API) Event-driven programming model The SpiNNaker API programming model is a simple, event-driven

More information

RX Family APPLICATION NOTE. I 2 C Bus Interface (RIIC) Module Using Firmware Integration Technology. Introduction. Target Device.

RX Family APPLICATION NOTE. I 2 C Bus Interface (RIIC) Module Using Firmware Integration Technology. Introduction. Target Device. I 2 C Bus Interface (RIIC) Module Using Firmware Integration Technology Introduction APPLICATION NOTE R01AN1692EJ0231 Rev. 2.31 This application note describes the I 2 C bus interface (RIIC) module using

More information

Console Framework Module Guide

Console Framework Module Guide Application Note Renesas Synergy Platform R11AN0110EU0101 Rev.1.01 Introduction This module guide will enable you to effectively use a module in your own design. Upon completion of this guide, you will

More information

ERRATA SHEET INTEGRATED CIRCUITS. Date: July 9, 2007 Document Release: Version 1.6 Device Affected: LPC2148

ERRATA SHEET INTEGRATED CIRCUITS. Date: July 9, 2007 Document Release: Version 1.6 Device Affected: LPC2148 INTEGRATED CIRCUITS ERRATA SHEET Date: July 9, 2007 Document Release: Version 1.6 Device Affected: LPC2148 This errata sheet describes both the functional deviations and any deviations from the electrical

More information

Wi-Fi Framework Module Guide

Wi-Fi Framework Module Guide Application Note Renesas Synergy Platform R11AN0252EU0100 Rev.1.00 Introduction This Module Guide will enable you to effectively use a module in their own design. On completion of this guide, you will

More information

hipecs-cio100 CANopen I/O module with 16/16 digital I/O

hipecs-cio100 CANopen I/O module with 16/16 digital I/O General The hipecs-cio100 is a low cost CANopen unit with 16 digital inputs and 16 digital outputs suitable for 24 V DC applications. The I/O s are positive switching and opto-isolated from the bus and

More information

HEALTHCARE SOLUTIONS WITH RENESAS SYNERGY PLATFORM

HEALTHCARE SOLUTIONS WITH RENESAS SYNERGY PLATFORM HEALTHCARE SOLUTIONS WITH RENESAS SYNERGY PLATFORM 2017.10 01-02 Speeding-up Medical Device Development Developing medical products is a long process that not only involves all the necessary steps of modern

More information

NFC Framework and NT3H1201 Device Driver v1.1

NFC Framework and NT3H1201 Device Driver v1.1 NFC Framework and NT3H1201 Device Driver v1.1 Quickstart Guide for ARIS board All information contained in these materials, including products and product specifications, represents information on the

More information

Capacitive Touch Slider Framework Module Guide

Capacitive Touch Slider Framework Module Guide Introduction Application Note This module guide will enable you to effectively use a module in your own design. Upon completion of this guide, you will be able to add this module to your own design, configure

More information

BASICS OF THE RENESAS SYNERGY TM

BASICS OF THE RENESAS SYNERGY TM BASICS OF THE RENESAS SYNERGY TM PLATFORM Richard Oed 2018.11 02 CHAPTER 8 HELLO WORLD! HELLO BLINKY! CONTENTS 8 HELLO WORLD! HELLO BLINKY! 03 8.1 Your First Project Using e 2 studio 04 8.1.1 Creating

More information

OCF for resource-constrained environments

OCF for resource-constrained environments October 11 13, 2016 Berlin, Germany OCF for resource-constrained environments Kishen Maloor, Intel 1 Outline Introduction Brief background in OCF Core Constrained environment charactertics IoTivity-Constrained

More information

ARROW ARIS EDGE Board User s Guide 27/09/2017

ARROW ARIS EDGE Board User s Guide 27/09/2017 ARROW ARIS EDGE Board User s Guide All information contained in these materials, including products and product specifications, represents information on the product at the time of publication and is subject

More information

ARROW ARIS Board Software User s Guide 27/07/2016

ARROW ARIS Board Software User s Guide 27/07/2016 ARROW ARIS Board Software User s Guide All information contained in these materials, including products and product specifications, represents information on the product at the time of publication and

More information

SquareWear Programming Reference 1.0 Oct 10, 2012

SquareWear Programming Reference 1.0 Oct 10, 2012 Content: 1. Overview 2. Basic Data Types 3. Pin Functions 4. main() and initsquarewear() 5. Digital Input/Output 6. Analog Input/PWM Output 7. Timing, Delay, Reset, and Sleep 8. USB Serial Functions 9.

More information

Measuring Interrupt Latency

Measuring Interrupt Latency NXP Semiconductors Document Number: AN12078 Application Note Rev. 0, 10/2017 Measuring Interrupt Latency 1. Introduction The term interrupt latency refers to the delay between the start of an Interrupt

More information

Introduction to Embedded Systems

Introduction to Embedded Systems Stefan Kowalewski, 4. November 25 Introduction to Embedded Systems Part 2: Microcontrollers. Basics 2. Structure/elements 3. Digital I/O 4. Interrupts 5. Timers/Counters Introduction to Embedded Systems

More information

Bluetooth low energy Protocol Stack

Bluetooth low energy Protocol Stack APPLICATION NOTE R01AN2768EJ0130 Rev.1.30 Introduction This manual describes how to develop an application using the Bluetooth low energy software (hereafter called BLE software), and overview of RWKE

More information

Dotstack Porting Guide.

Dotstack Porting Guide. dotstack TM Dotstack Porting Guide. dotstack Bluetooth stack is a C library and several external interfaces that needs to be implemented in the integration layer to run the stack on a concrete platform.

More information

SEAMLESS INTEGRATION OF COMMUNICATION PROTOCOLS

SEAMLESS INTEGRATION OF COMMUNICATION PROTOCOLS SEAMLESS INTEGRATION OF COMMUNICATION PROTOCOLS Renesas Synergy Engineering Conference Lake Garda 7-8 April 2016 2016 Renesas Electronics Corporation. All rights reserved. Agenda Overview of Synergy Software

More information

RENESAS SYNERGY PLATFORM

RENESAS SYNERGY PLATFORM RENESAS SYNERGY PLATFORM A complete and qualified embedded MCU software and hardware platform 2018.04 START AHEAD Get to market faster and easier with Renesas Synergy. As the first fully qualified MCU

More information

S1 Series MCU Diagnostic Software User Guide

S1 Series MCU Diagnostic Software User Guide Introduction Application Note Today, as automatic electronic controls systems continue to expand into many diverse applications, the requirement of reliability and safety are becoming an ever increasing

More information

CLD SC58x CDC Library v.1.00 Users Guide Users Guide Revision For Use With Analog Devices ADSP-SC58x Series Processors. Closed Loop Design, LLC

CLD SC58x CDC Library v.1.00 Users Guide Users Guide Revision For Use With Analog Devices ADSP-SC58x Series Processors. Closed Loop Design, LLC CLD SC58x CDC Library v.1.00 Users Guide Users Guide Revision 1.00 For Use With Analog Devices ADSP-SC58x Series Processors Closed Loop Design, LLC 748 S MEADOWS PKWY STE A-9-202 Reno, NV 89521 support@cld-llc.com

More information

ERRATA SHEET INTEGRATED CIRCUITS. Date: July 7, 2008 Document Release: Version 1.8 Device Affected: LPC2148

ERRATA SHEET INTEGRATED CIRCUITS. Date: July 7, 2008 Document Release: Version 1.8 Device Affected: LPC2148 INTEGRATED CIRCUITS ERRATA SHEET Date: July 7, 2008 Document Release: Version 1.8 Device Affected: LPC2148 This errata sheet describes both the functional problems and any deviations from the electrical

More information

Emulating an asynchronous serial interface (ASC0) via software routines

Emulating an asynchronous serial interface (ASC0) via software routines Microcontrollers ApNote AP165001 or æ additional file AP165001.EXE available Emulating an asynchronous serial interface (ASC0) via software routines Abstract: The solution presented in this paper and in

More information

DPScope SE Programming Interface Description

DPScope SE Programming Interface Description DPScope SE Programming Interface Description Version 1.0.0 July 24, 2012 1 Introduction The DPScope SE is acting as a standard USB HID (Human Interface device). Key connection parameters are: Vendor ID

More information

SSP Module Development Guide

SSP Module Development Guide Application Note Renesas Synergy Platform R11AN0132EU0102 Rev.1.02 Introduction Using the Renesas Synergy Platform provides developers with qualified and ready to use software modules and frameworks within

More information

AC OB S. Multi-threaded FW framework (OS) for embedded ARM systems Torsten Jaekel, June 2014

AC OB S. Multi-threaded FW framework (OS) for embedded ARM systems Torsten Jaekel, June 2014 AC OB S Multi-threaded FW framework (OS) for embedded ARM systems Torsten Jaekel, June 2014 ACOBS ACtive OBject (operating) System Simplified FW System for Multi-Threading on ARM embedded systems ACOBS

More information

Adding a Second Ethernet Driver to NET+OS

Adding a Second Ethernet Driver to NET+OS Adding a Second Ethernet Driver to NET+OS Adding a Second Ethernet Driver to NET+OS September 2004 Table of Contents 1 Overview 1 2 Writing the Ethernet driver 2 2.1 Fusion Stack Interfaces 2 2.1.1 Initialization

More information

M16C/62 APPLICATION NOTE. Using the M16C/62 DMAC in Forward Source Mode. 1.0 Abstract. 2.0 Introduction

M16C/62 APPLICATION NOTE. Using the M16C/62 DMAC in Forward Source Mode. 1.0 Abstract. 2.0 Introduction APPLICATION NOTE M16C/62 1.0 Abstract The following article introduces and shows an example of how to use the DMAC function of the M16C/62 with a forward counting source address and fixed destination address.

More information

CLD BF70x CDC Library v.1.3 Users Guide Users Guide Revision 1.3. For Use With Analog Devices ADSP-BF70x Series Processors. Closed Loop Design, LLC

CLD BF70x CDC Library v.1.3 Users Guide Users Guide Revision 1.3. For Use With Analog Devices ADSP-BF70x Series Processors. Closed Loop Design, LLC CLD BF70x CDC Library v.1.3 Users Guide Users Guide Revision 1.3 For Use With Analog Devices ADSP-BF70x Series Processors Closed Loop Design, LLC 748 S MEADOWS PKWY STE A-9-202 Reno, NV 89521 support@cld-llc.com

More information

Clock Synchronous Control Module for Serial Flash Memory Access Firmware Integration Technology

Clock Synchronous Control Module for Serial Flash Memory Access Firmware Integration Technology APPLICATION NOTE RX Family R01AN2662EJ0234 Rev.2.34 Introduction This application note explains how to control and use serial flash memory with microcontrollers manufactured by Renesas Electronics. Refer

More information

Infineon C167CR microcontroller, 256 kb external. RAM and 256 kb external (Flash) EEPROM. - Small single-board computer (SBC) with an

Infineon C167CR microcontroller, 256 kb external. RAM and 256 kb external (Flash) EEPROM. - Small single-board computer (SBC) with an Microcontroller Basics MP2-1 week lecture topics 2 Microcontroller basics - Clock generation, PLL - Address space, addressing modes - Central Processing Unit (CPU) - General Purpose Input/Output (GPIO)

More information

EMBEDDED SYSTEMS WITH ROBOTICS AND SENSORS USING ERLANG

EMBEDDED SYSTEMS WITH ROBOTICS AND SENSORS USING ERLANG EMBEDDED SYSTEMS WITH ROBOTICS AND SENSORS USING ERLANG Adam Lindberg github.com/eproxus HARDWARE COMPONENTS SOFTWARE FUTURE Boot, Serial console, Erlang shell DEMO THE GRISP BOARD SPECS Hardware & specifications

More information

Arduino Uno. Arduino Uno R3 Front. Arduino Uno R2 Front

Arduino Uno. Arduino Uno R3 Front. Arduino Uno R2 Front Arduino Uno Arduino Uno R3 Front Arduino Uno R2 Front Arduino Uno SMD Arduino Uno R3 Back Arduino Uno Front Arduino Uno Back Overview The Arduino Uno is a microcontroller board based on the ATmega328 (datasheet).

More information

Optional Pause Pulse for constant frame length of 282 clock ticks

Optional Pause Pulse for constant frame length of 282 clock ticks PSoC Creator Component Datasheet Single Edge Nibble Transmission (SENT_TX) 1.0 Features Compliant with SAE J2716 APR2016 (Issued 2007-04, Revised 2016-04) without any serial message formats Selectable

More information

Capable of adjusting detection timings for start bit and data bit

Capable of adjusting detection timings for start bit and data bit PSoC Creator Component Datasheet Remote Control (PDL_RC) 1.0 Features Up to 2 Channels HDMI-CEC/ High Definition Multimedia Interface Consumer Electronics Control transmitter/receiver SIRCS/Sony Infrared

More information

ATWINC15X0 Wi-Fi Add-on Component

ATWINC15X0 Wi-Fi Add-on Component ATWINC15X0 Wi-Fi Add-on Component User s Manual All information contained in these materials, including products and product specifications, represents information on the product at the time of publication

More information

MPLAB Harmony Help - Test Harness Library

MPLAB Harmony Help - Test Harness Library MPLAB Harmony Help - Test Harness Library MPLAB Harmony Integrated Software Framework v1.11 2013-2017 Microchip Technology Inc. All rights reserved. Test Harness Library Test Harness Library This section

More information

MPLAB Harmony Test Libraries Help

MPLAB Harmony Test Libraries Help MPLAB Harmony Test Libraries Help MPLAB Harmony Integrated Software Framework 2013-2017 Microchip Technology Inc. All rights reserved. Test Libraries Help Test Libraries Help This section provides descriptions

More information

ARDUINO UNO REV3 Code: A000066

ARDUINO UNO REV3 Code: A000066 ARDUINO UNO REV3 Code: A000066 The UNO is the best board to get started with electronics and coding. If this is your first experience tinkering with the platform, the UNO is the most robust board you can

More information

int fnvgetconfig(handle h, UINT32 id, const void *cfg, size_t sz);... 4

int fnvgetconfig(handle h, UINT32 id, const void *cfg, size_t sz);... 4 RP-VL-UTIL-V1 Developer s Guide [ Contents ] 1. Introduction... 1 2. Building Environment... 1 3. Operating Environment... 1 4. Function Explanation... 2 4.1. Common API for Transmitting and Receiving...

More information

Touch Panel Framework Module Guide

Touch Panel Framework Module Guide Application Note Renesas Synergy Platform R11AN0179EU0102 Rev.1.02 Introduction This module guide will enable you to effectively use a module in your own design. Upon completion of this guide, you will

More information

Using FlexIO to emulate communications and timing peripherals

Using FlexIO to emulate communications and timing peripherals NXP Semiconductors Document Number: AN12174 Application Note Rev. 0, 06/2018 Using FlexIO to emulate communications and timing peripherals 1. Introduction The FlexIO is a new on-chip peripheral available

More information

keyestudio Keyestudio MEGA 2560 R3 Board

keyestudio Keyestudio MEGA 2560 R3 Board Keyestudio MEGA 2560 R3 Board Introduction: Keyestudio Mega 2560 R3 is a microcontroller board based on the ATMEGA2560-16AU, fully compatible with ARDUINO MEGA 2560 REV3. It has 54 digital input/output

More information

VueMetrix Firmware Uploader

VueMetrix Firmware Uploader VueMetrix Firmware Uploader Release 1.0 Date of this document: August 20. 2010 The Firmware Uploader is a set of C language programming tools that uploads a new version of firmware into any VueMetrix controller.

More information

ECE PRACTICE EXAM #2 Clocks, Timers, and Digital I/O

ECE PRACTICE EXAM #2 Clocks, Timers, and Digital I/O ECE2049 -- PRACTICE EXAM #2 Clocks, Timers, and Digital I/O Study HW3, Class Notes, Davies Ch 2.6, 5.8, 8, 9.2-3, 9.7, MSP43F5529 User's Guide Ch 5, 17, 28 Work all problems with your note sheet first

More information

Microcontroller VU

Microcontroller VU 136 182.694 Microcontroller VU Kyrill Winkler SS 2014 Featuring Today: Structured C Programming Weekly Training Objective Already done 3.1.1 C demo program 3.1.3 Floating point operations 3.3.2 Interrupts

More information

Embedded Software TI2726 B. 7. Embedded software design. Koen Langendoen. Embedded Software Group

Embedded Software TI2726 B. 7. Embedded software design. Koen Langendoen. Embedded Software Group Embedded Software 7. Embedded software design TI2726 B Koen Langendoen Embedded Software Group Overview Timing services RTOS and ISRs Design of embedded systems General principles Timing Functionality

More information

hipecs-cio55 CANopen I/O module with 4 analog inputs

hipecs-cio55 CANopen I/O module with 4 analog inputs General The hipecs-cio55 is a low-cost CANopen module with 4 analog input lines. The I/O are isolated from power supply and the CAN bus sub system. Furthermore, the module has an input resolution of 16

More information

hipecs-cio56 CANopen I/O module with PT100/1000 inputs

hipecs-cio56 CANopen I/O module with PT100/1000 inputs General The hipecs-cio56 is a powerful, low-cost CANopen module for temperature measuring via PT100/1000. According to demands 2-, 3- or 4-wire-connection is usable. Up to 4 channels using 2-wire-connection

More information

Design and development of embedded systems for the Internet of Things (IoT) Fabio Angeletti Fabrizio Gattuso

Design and development of embedded systems for the Internet of Things (IoT) Fabio Angeletti Fabrizio Gattuso Design and development of embedded systems for the Internet of Things (IoT) Fabio Angeletti Fabrizio Gattuso Microcontroller It is essentially a small computer on a chip Like any computer, it has memory,

More information

System Design Guide for Slave

System Design Guide for Slave System Design Guide for Slave Motor Business Unit Appliances Company 2012/2/15 Rev. 2 Page 1 Revision History Revision Date Change Description 1 2010/3/3 Initial Release 2 2012/2/15 P1 Changed title from

More information

Wireless-Tag WT51822-S4AT

Wireless-Tag WT51822-S4AT Description: WT51822-S4AT is a high performance,low power radio transmit and receive system module use Nordic BLE 4.1 nrf51822 as the controller chips. It has the smallest volume package in the industry,

More information

SD Mode SD Memory Card Driver Firmware Integration Technology

SD Mode SD Memory Card Driver Firmware Integration Technology APPLICATION NOTE RX Family R01AN4233EJ0202 Rev.2.02 Introduction This application note describes the SD Mode SD Memory Card driver which uses Firmware Integration Technology (FIT). This driver controls

More information

USB BF70x Bulk Library v.1.1 Users Guide Users Guide Revision 1.1. For Use With Analog Devices ADSP-BF70x Series Processors. Closed Loop Design, LLC

USB BF70x Bulk Library v.1.1 Users Guide Users Guide Revision 1.1. For Use With Analog Devices ADSP-BF70x Series Processors. Closed Loop Design, LLC USB BF70x Bulk Library v.1.1 Users Guide Users Guide Revision 1.1 For Use With Analog Devices ADSP-BF70x Series Processors Closed Loop Design, LLC 748 S MEADOWS PKWY STE A-9-202 Reno, NV 89521 support@cld-llc.com

More information

Table of Figures Figure 1. High resolution PWM based DAC...2 Figure 2. Connecting the high resolution buck converter...8

Table of Figures Figure 1. High resolution PWM based DAC...2 Figure 2. Connecting the high resolution buck converter...8 HR_PWM_DAC_DRV Texas Instruments C2000 DSP System Applications Group Table of contents 1 Overview...2 2 Module Properties...2 3 Module Input and Output Definitions...3 3.1 Module inputs...3 3.2 Module

More information

BASICS OF THE RENESAS SYNERGY PLATFORM

BASICS OF THE RENESAS SYNERGY PLATFORM BASICS OF THE RENESAS SYNERGY PLATFORM TM Richard Oed 2017.12 02 CHAPTER 1 INTRODUCTION TO THE RENESAS SYNERGY PLATFORM CONTENTS 1 INTRODUCTION TO THE RENESAS SYNERGY PLATFORM 03 1.1 Challenges in Todays

More information

Programmable Power Supply with DALI

Programmable Power Supply with DALI Programmable Power Supply with DALI Product picture Model Name ㅡ Features : ㅡ Suitable for LED lighting application ㅡ Programmable Power Supply Unit(Adjustable Output Current) ㅡ UL8750/UL1012(Non Class

More information

Developing Reusable Device Drivers for MCU's

Developing Reusable Device Drivers for MCU's Embedded Systems Conference East 2012 Page 1 of 20 Developing Reusable Device Drivers for MCU's By Jacob Beningo www.beningo.com http://www.linkedin.com/in/jacobbeningo twitter : Jacob_Beningo EDN Blog

More information

1. CGC HAL Module Features CGC HAL Module APIs Overview CGC HAL Module Operational Overview... 4

1. CGC HAL Module Features CGC HAL Module APIs Overview CGC HAL Module Operational Overview... 4 Application Note Renesas Synergy Platform Introduction This module guide will enable you to effectively use a module in your own design. Upon completion of this guide, you will be able to add this module

More information

Putting it All Together

Putting it All Together EE445M/EE360L.12 Embedded and Real-Time Systems/ Real-Time Operating Systems : Commercial RTOS, Final Exam, Review 1 Putting it All Together Micrium μcos-ii Reference: www.micrium.com Application Note

More information

This resource describes how to program the myrio in C to perform timer interrupts.

This resource describes how to program the myrio in C to perform timer interrupts. Resource 07 Timer interrupts This resource describes how to program the myrio in C to perform timer interrupts. C.07.1 Main thread: background Initializing the timer interrupt is similar to initializing

More information

real-time kernel documentation

real-time kernel documentation version 1.1 real-time kernel documentation Introduction This document explains the inner workings of the Helium real-time kernel. It is not meant to be a user s guide. Instead, this document explains overall

More information

The following article describes how to use the M16C/62 timers A s as square wave generators (Pulse Output Mode).

The following article describes how to use the M16C/62 timers A s as square wave generators (Pulse Output Mode). APPLICATION NOTE M16C/62 1.0 Abstract The following article describes how to use the M16C/62 timers A s as square wave generators (Pulse Output Mode). 2.0 Introduction The M16C/62 is a 16-bit MCU, based

More information

Synergy Demo. WiFi Communication

Synergy Demo. WiFi Communication 1. Introduction This Demo illustrates the WiFi communication between a PE-HMI board and a SK-Kit over Ethernet with a Route: the PE-HMI board works as client and the SK-Kit as Server. The PE- HMI board

More information

RX Smart Configurator

RX Smart Configurator APPLICATION NOTE RX Smart Configurator User s Guide: e² studio R20AN0451ES0120 Rev.1.20 Introduction This application note describes the basic usage of the RX Smart Configurator (hereafter called the Smart

More information

Anybus CompactCom. Host Application Implementation Guide HMSI ENGLISH

Anybus CompactCom. Host Application Implementation Guide HMSI ENGLISH Anybus CompactCom Host Application Implementation Guide HMSI-27-334 1.3 ENGLISH Important User Information Liability Every care has been taken in the preparation of this document. Please inform HMS Industrial

More information

L2 - C language for Embedded MCUs

L2 - C language for Embedded MCUs Formation C language for Embedded MCUs: Learning how to program a Microcontroller (especially the Cortex-M based ones) - Programmation: Langages L2 - C language for Embedded MCUs Learning how to program

More information

CS 160: Interactive Programming

CS 160: Interactive Programming CS 160: Interactive Programming Professor John Canny 3/8/2006 1 Outline Callbacks and Delegates Multi-threaded programming Model-view controller 3/8/2006 2 Callbacks Your code Myclass data method1 method2

More information

1. Overview Ethernet FIT Module Outline of the API API Information... 5

1. Overview Ethernet FIT Module Outline of the API API Information... 5 Introduction APPLICATION NOTE R01AN2009EJ0115 Rev.1.15 This application note describes an Ethernet module that uses Firmware Integration Technology (FIT). This module performs Ethernet frame transmission

More information

Micrium OS Kernel Labs

Micrium OS Kernel Labs Micrium OS Kernel Labs 2018.04.16 Micrium OS is a flexible, highly configurable collection of software components that provides a powerful embedded software framework for developers to build their application

More information

Embedded Systems Programming - PA8001

Embedded Systems Programming - PA8001 Embedded Systems Programming - PA8001 http://bit.ly/15mmqf7 Lecture 5 Mohammad Mousavi m.r.mousavi@hh.se Center for Research on Embedded Systems School of Information Science, Computer and Electrical Engineering

More information

Medium One Cloud Agent for Synergy Documentation

Medium One Cloud Agent for Synergy Documentation Medium One Cloud Agent for Synergy Documentation Revision Date: 11/03/16 Supported VSA Version: 1.16.11.03 Table of Contents Introduction System Requirements Pre-requisites Pre-built Demos API Documentation

More information

ARROW ARIS EDGE Board Software User s Guide 12/05/2017

ARROW ARIS EDGE Board Software User s Guide 12/05/2017 ARROW ARIS EDGE Board Software User s Guide All information contained in these materials, including products and product specifications, represents information on the product at the time of publication

More information

EE472 Final Exam SOLUTION KEY. Prof. Blake Hannaford Department of Electrical Engineering The University of Washington 9-DEC-2008

EE472 Final Exam SOLUTION KEY. Prof. Blake Hannaford Department of Electrical Engineering The University of Washington 9-DEC-2008 EE472 Final Exam SOLUTION KEY Prof. Blake Hannaford Department of Electrical Engineering The University of Washington 9-DEC-2008 Problem 1 / 15 Problem 2 / 25 Problem 3 / 25 Problem 4 / 15 Problem 5 /

More information

ARDUINO UNO REV3 SMD Code: A The board everybody gets started with, based on the ATmega328 (SMD).

ARDUINO UNO REV3 SMD Code: A The board everybody gets started with, based on the ATmega328 (SMD). ARDUINO UNO REV3 SMD Code: A000073 The board everybody gets started with, based on the ATmega328 (SMD). The Arduino Uno SMD R3 is a microcontroller board based on the ATmega328. It has 14 digital input/output

More information

Getting Started with Weather Panel Application

Getting Started with Weather Panel Application Application Note Renesas Synergy Platform Getting Started with Weather Panel Application R30AN0231EU0207 Rev.2.07 Introduction This application note describes a simulated Weather Panel application. The

More information

M16C/26 APPLICATION NOTE. Using the DMAC with a Forward Source. 1.0 Abstract. 2.0 Introduction

M16C/26 APPLICATION NOTE. Using the DMAC with a Forward Source. 1.0 Abstract. 2.0 Introduction APPLICATION NOTE 1.0 Abstract The following article introduces and shows an example of how to use the DMAC function of the with a forward counting source address and fixed destination address. 2.0 Introduction

More information

Module 2. Embedded Processors and Memory. Version 2 EE IIT, Kharagpur 1

Module 2. Embedded Processors and Memory. Version 2 EE IIT, Kharagpur 1 Module 2 Embedded Processors and Memory Version 2 EE IIT, Kharagpur 1 Lesson 11 Embedded Processors - II Version 2 EE IIT, Kharagpur 2 Signals of a Typical Microcontroller In this lesson the student will

More information

Getting Started with the Weather Panel Application

Getting Started with the Weather Panel Application Application Note Renesas Synergy Platform Getting Started with the Weather Panel Application R30AN0231EU0209 Rev.2.09 Introduction This application note describes a simulated Weather Panel application.

More information

ARROW ARIS EDGE S3 Board User s Guide 21/02/2018

ARROW ARIS EDGE S3 Board User s Guide 21/02/2018 ARROW ARIS EDGE S3 Board User s Guide All information contained in these materials, including products and product specifications, represents information on the product at the time of publication and is

More information

Anybus CompactCom. Host Application Implementation Guide. Doc.Id. HMSI Doc. Rev Connecting DevicesTM

Anybus CompactCom. Host Application Implementation Guide. Doc.Id. HMSI Doc. Rev Connecting DevicesTM Anybus CompactCom Doc. Rev. 1.10 Connecting DevicesTM +$/067$' &+,&$*2.$5/658+( 72.

More information

Chapter 09. Programming in Assembly

Chapter 09. Programming in Assembly Chapter 09 Programming in Assembly Lesson 03 Programming Approach for Main and Interrupt Service Routines in 8051 Program Approach for programming Main Program Instructions 3 Main program initial instructions

More information

Data sheet CPU 115 (115-6BL02)

Data sheet CPU 115 (115-6BL02) Data sheet CPU 115 (115-6BL02) Technical data Order no. 115-6BL02 Type CPU 115 General information Note - Features 16 (20) inputs 16 (12) outputs from which are 2 PWM 50 khz outputs 16 kb work memory,

More information

M16C/26 APPLICATION NOTE. Using Timer B in Pulse Period/Width Measurement Mode. 1.0 Abstract. 2.0 Introduction

M16C/26 APPLICATION NOTE. Using Timer B in Pulse Period/Width Measurement Mode. 1.0 Abstract. 2.0 Introduction APPLICATION NOTE M16C/26 1.0 Abstract Measuring the frequency (1/period) or the pulse width of an input signal is useful in applications such as tachometers, DC motor control, power usage calculations,

More information

How to Develop Firmware for a Direct Drive TFT-LCD Design with RX62N By: Daniel Azimov, Software Specialist, System Design Center, Future Electronics A Direct Drive TFT-LCD design can drive high quality

More information

Hitec Digital Servos Operation and Interface

Hitec Digital Servos Operation and Interface Hitec Digital Servos Operation and Interface Revision 0.4 1 st June 2006 Introduction This is based on the data gathered from the HFP-10 and the following servos: HS-5475HB (Firmware Version 1.03) HS-5245MG

More information