BSL 00000250

MP TypeI2C
DO
External interrupt
OS TypeMulti-Thread Mbed , etc
I2Cregister1 read
register2 read/write
DOregister1,register2 clear control
External interruptIC output ( MPU sleep deprivation )
Diagnostics SP –
CP register2 write check , register1 clear check
MP I2C ACK/NACK

Specification document of OSS-EC 00000250

If you would like to download this document, please register as a user. User Registration
If you are already registered and logged in as a user, please download the following file.

Software Specifications

In this section, we will use the OSS-EC I2C component ( ABLIC S-35710M ) as an example.

Intended use scenarios

Shifts to MPU Sleep mode when condition A is satisfied, generates an INT interrupt after the wakeup time elapses, and releases MPU Sleep mode.

summary

The OSS-EC architecture for the S-35710M is shown in ( fig.1), in accordance with the hardware architecture.
The State flow is shown in ( fig.2 ). Condition A is satisfied if Wakeup_req = iSet.
The API is shown in ( fig.3 ).
The Sequence of PCMP for Command is shown in ( fig.4 ).
Data table
File

Blue label characters are data related to user define.

Data table

#define LabelValueData contents
iPCMP_cyc  1000U PCMP Function call cycle 1000[ms]
iErr_times3UNumber of error judgments 3[times]
iCom_retry_num3UI2C communication retry 3[times]
iWakeUp_time10UWakeup time 10[s]
iDia_WakeUp_time2UDiagnostic Wakeup time 2[s]
iI2C_SDAD14*I2C SDA Pin
iI2C_SCLD15*I2C SCL Pin
iDO_RSTD2*/RST
iINT_wakeupD4*INT
iI2C_frequency400000Frequency 400[kHz]

* sample test board : NXP Semiconductors i.MX RT1050

File ( Mbed C++)

main.cppapplication source code file
pcmp.cppI2C Component source code file
prc.cppProcess source code file
pcmp.hI2C Component header file
oss-ec.h OSS-EC header file
ic.hIC Number header file
ic_setting.cppic setting data file
user_setting.huser setting header file
layer_if.hLayer interface header file
prc.hProcess header file
S35710M.cppS-35710M const table file
S35719M.hS-35710M header file
OSS-EC Site