How to DIO

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

How to DIO

How to DIO

 

1

Table of Contents


2

Introduction


Before configuring the DIO component, make sure that the pins you intend to use have already been configured in both the Pins Tool and the Port component. If not, refer to the previous articles on pins and port configuration.

3

Component Configuration


In order to configure the Dio peripheral, press on the Dio component on the left side of the screen for the Dio Configuration tab to be opened. There, press on the Dio Config tab.

portpin.png

Understanding how the DioPort and DioChannel are organized might prove useful later. The number present under the DioPort label represents the corresponding value of the Dio port that you want to access. Below you can find a table with the correspondence between the values and the registers.

Register half DioPort value
AL 0
AH 1
BL 2
BH 3
CL 4
CH 5
DL 6
DH 7
EL 8
EH 9

Each of those is half of a register and together every line forms a 32-bit register. For example, AL and AH contain all the pin values that are assigned to PTA. AL contains the first 16 pins and AH contains the next 16 pins.

For example, the RGBLED0_RED pin is assigned to PTA29. From that we can conclude that, since 29 is higher than 15 (the 16th value of AL, since the first value is 0), the PTA29 pin must be assigned to the AH register.

To reiterate, the PTA0–PTA15 pins belong to the AL register while the PTA16–PTA31 (the value must be offset by -16 when computing the Id) pins belong to the AH register, and this is true for the rest of the registers too: PTB, PTC, PTD, PTE.

Note: When computing the channel Id for pins in the upper half of a port (e.g. PTA16–PTA31), subtract 16 from the pin number.

To create a new channel, select the appropriate DioPort and click the + button next to DioChannel. A new channel entry will be created. Fill in the required channel information according to the pin that was previously configured in the Pins Tool and Port component.

ADDNEWCHANNEL.png

 

Repeat this process for each newly configured pin, ensuring that the channel is added under the correct DioPort.

4

Conclusion


After configuring the required DioChannels, save the configuration and regenerate the code. The configured DIO channels can then be used by the application to access the corresponding digital inputs and outputs.

%3CLINGO-SUB%20id%3D%22lingo-sub-2398352%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3EHow%20to%20DIO%3C%2FLINGO-SUB%3E%3CLINGO-BODY%20id%3D%22lingo-body-2398352%22%20slang%3D%22en-US%22%20mode%3D%22UPDATE%22%3E%3C!--%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%20--%3E%3C!--%20%20TABLE%20OF%20CONTENTS%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20--%3E%0A%3CBR%20%2F%3E%0A%3CDIV%20style%3D%22margin%3A%200%200%2032px%200%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table%3B%20width%3A%20100%25%3B%20margin-bottom%3A%208px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%20width%3A%2036px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20inline-flex%3B%20align-items%3A%20center%3B%20justify-content%3A%20center%3B%20width%3A%2028px%3B%20height%3A%2028px%3B%20background%3A%20%23F7A823%3B%20color%3A%20%23ffffff%3B%20border-radius%3A%2050%25%3B%20font-family%3A%20Arial%2C%20Helvetica%2C%20sans-serif%3B%20font-size%3A%2014px%3B%20font-weight%3A%20bold%3B%20line-height%3A%201%3B%22%3E1%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%22%3E%0A%3CH2%20style%3D%22margin%3A%200%3B%20color%3A%20%231a1a1a%3B%22%20id%3D%22toc-hId--463151344%22%20id%3D%22toc-hId--463151337%22%3ETable%20of%20Contents%3C%2FH2%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CHR%20%2F%3E%0A%3CUL%20style%3D%22list-style%3A%20none%3B%20padding%3A%200%200%200%204px%3B%20margin%3A%200%3B%20color%3A%20%231565c0%3B%22%3E%0A%3CLI%20style%3D%22padding-left%3A%2014px%3B%20position%3A%20relative%3B%22%3E%3CSPAN%3E%E2%80%A2%3C%2FSPAN%3E%20%3CA%20style%3D%22color%3A%20%231565c0%3B%20text-decoration%3A%20none%3B%22%20href%3D%22%23part2%22%20target%3D%22_self%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EIntroduction%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22padding-left%3A%2014px%3B%20position%3A%20relative%3B%22%3E%3CSPAN%3E%E2%80%A2%3C%2FSPAN%3E%20%3CA%20style%3D%22color%3A%20%231565c0%3B%20text-decoration%3A%20none%3B%22%20href%3D%22%23part3%22%20target%3D%22_self%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EComponent%20Configuration%E2%80%83%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22padding-left%3A%2014px%3B%20position%3A%20relative%3B%22%3E%3CSPAN%3E%E2%80%A2%3C%2FSPAN%3E%20%3CA%20style%3D%22color%3A%20%231565c0%3B%20text-decoration%3A%20none%3B%22%20href%3D%22%23part4%22%20target%3D%22_self%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EConclusion%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22padding-left%3A%2014px%3B%20position%3A%20relative%3B%22%3E%3CSPAN%3E%E2%80%A2%3C%2FSPAN%3E%20%3CA%20style%3D%22color%3A%20%231565c0%3B%20text-decoration%3A%20none%3B%22%20href%3D%22%23part5%22%20target%3D%22_self%22%20rel%3D%22noopener%20nofollow%20noreferrer%22%3EReferences%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FDIV%3E%0A%3C!--%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%20--%3E%3C!--%20%20SECTION%202%20-%20Introduction%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20%20--%3E%3C!--%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%20--%3E%0A%3CDIV%20style%3D%22margin%3A%200%200%2032px%200%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table%3B%20width%3A%20100%25%3B%20margin-bottom%3A%208px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%20width%3A%2036px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20inline-flex%3B%20align-items%3A%20center%3B%20justify-content%3A%20center%3B%20width%3A%2028px%3B%20height%3A%2028px%3B%20background%3A%20%23F7A823%3B%20color%3A%20%23ffffff%3B%20border-radius%3A%2050%25%3B%20font-family%3A%20Arial%2C%20Helvetica%2C%20sans-serif%3B%20font-size%3A%2014px%3B%20font-weight%3A%20bold%3B%20line-height%3A%201%3B%22%3E2%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%22%3E%0A%3CH2%20id%3D%22part2%22%20style%3D%22margin%3A%200%3B%20color%3A%20%231a1a1a%3B%22%20id%3D%22toc-hId-2024361489%22%20id%3D%22toc-hId-2024361496%22%3EIntroduction%3C%2FH2%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CHR%20%2F%3E%0A%3CP%20style%3D%22margin%3A%200%200%2012px%200%3B%20color%3A%20%231a1a1a%3B%22%3EBefore%20configuring%20the%20%3CSTRONG%3EDIO%3C%2FSTRONG%3E%20component%2C%20make%20sure%20that%20the%20pins%20you%20intend%20to%20use%20have%20already%20been%20configured%20in%20both%20the%20%3CSTRONG%3EPins%20Tool%3C%2FSTRONG%3E%20and%20the%20%3CSTRONG%3EPort%3C%2FSTRONG%3E%20component.%20If%20not%2C%20refer%20to%20the%20previous%20articles%20on%20pins%20and%20port%20configuration.%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3C!--%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%20--%3E%0A%3CDIV%20style%3D%22margin%3A%200%200%2032px%200%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table%3B%20width%3A%20100%25%3B%20margin-bottom%3A%208px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%20width%3A%2036px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20inline-flex%3B%20align-items%3A%20center%3B%20justify-content%3A%20center%3B%20width%3A%2028px%3B%20height%3A%2028px%3B%20background%3A%20%23F7A823%3B%20color%3A%20%23ffffff%3B%20border-radius%3A%2050%25%3B%20font-family%3A%20Arial%2C%20Helvetica%2C%20sans-serif%3B%20font-size%3A%2014px%3B%20font-weight%3A%20bold%3B%20line-height%3A%201%3B%22%3E3%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%22%3E%0A%3CH2%20id%3D%22part3%22%20style%3D%22margin%3A%200%3B%20color%3A%20%231a1a1a%3B%22%20id%3D%22toc-hId-216907026%22%20id%3D%22toc-hId-216907033%22%3EComponent%20Configuration%3C%2FH2%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CHR%20%2F%3E%0A%3CP%20style%3D%22margin%3A%200%200%2012px%200%3B%20color%3A%20%231a1a1a%3B%22%3EIn%20order%20to%20configure%20the%20%3CSTRONG%3EDio%3C%2FSTRONG%3E%20peripheral%2C%20press%20on%20the%20%3CSTRONG%3EDio%3C%2FSTRONG%3E%20component%20on%20the%20left%20side%20of%20the%20screen%20for%20the%20%3CEM%3EDio%20Configuration%3C%2FEM%3E%20tab%20to%20be%20opened.%20There%2C%20press%20on%20the%20%3CSTRONG%3EDio%20Config%3C%2FSTRONG%3E%20tab.%3C%2FP%3E%0A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22portpin.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22portpin.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F393079i4C6C0B3260B0EC92%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22portpin.png%22%20alt%3D%22portpin.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CP%20style%3D%22margin%3A%200%200%2012px%200%3B%20color%3A%20%231a1a1a%3B%22%3EUnderstanding%20how%20the%20%3CSTRONG%3EDioPort%3C%2FSTRONG%3E%20and%20%3CSTRONG%3EDioChannel%3C%2FSTRONG%3E%20are%20organized%20might%20prove%20useful%20later.%20The%20number%20present%20under%20the%20%3CSTRONG%3EDioPort%3C%2FSTRONG%3E%20label%20represents%20the%20corresponding%20value%20of%20the%20Dio%20port%20that%20you%20want%20to%20access.%20Below%20you%20can%20find%20a%20table%20with%20the%20correspondence%20between%20the%20values%20and%20the%20registers.%3C%2FP%3E%0A%3CTABLE%20style%3D%22border-collapse%3A%20collapse%3B%20margin%3A%2012px%200%2016px%200%3B%20color%3A%20%231a1a1a%3B%22%3E%0A%3CTHEAD%3E%0A%3CTR%3E%0A%3CTH%20style%3D%22border%3A%201px%20solid%20%23e3e6ea%3B%20background%3A%20%23f6f8fa%3B%20padding%3A%206px%2012px%3B%20text-align%3A%20left%3B%22%3ERegister%20half%3C%2FTH%3E%0A%3CTH%20style%3D%22border%3A%201px%20solid%20%23e3e6ea%3B%20background%3A%20%23f6f8fa%3B%20padding%3A%206px%2012px%3B%20text-align%3A%20left%3B%22%3EDioPort%20value%3C%2FTH%3E%0A%3C%2FTR%3E%0A%3C%2FTHEAD%3E%0A%3CTBODY%3E%0A%3CTR%3E%0A%3CTD%20style%3D%22border%3A%201px%20solid%20%23e3e6ea%3B%20padding%3A%206px%2012px%3B%22%3EAL%3C%2FTD%3E%0A%3CTD%20style%3D%22border%3A%201px%20solid%20%23e3e6ea%3B%20padding%3A%206px%2012px%3B%22%3E0%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20style%3D%22border%3A%201px%20solid%20%23e3e6ea%3B%20padding%3A%206px%2012px%3B%22%3EAH%3C%2FTD%3E%0A%3CTD%20style%3D%22border%3A%201px%20solid%20%23e3e6ea%3B%20padding%3A%206px%2012px%3B%22%3E1%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20style%3D%22border%3A%201px%20solid%20%23e3e6ea%3B%20padding%3A%206px%2012px%3B%22%3EBL%3C%2FTD%3E%0A%3CTD%20style%3D%22border%3A%201px%20solid%20%23e3e6ea%3B%20padding%3A%206px%2012px%3B%22%3E2%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20style%3D%22border%3A%201px%20solid%20%23e3e6ea%3B%20padding%3A%206px%2012px%3B%22%3EBH%3C%2FTD%3E%0A%3CTD%20style%3D%22border%3A%201px%20solid%20%23e3e6ea%3B%20padding%3A%206px%2012px%3B%22%3E3%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20style%3D%22border%3A%201px%20solid%20%23e3e6ea%3B%20padding%3A%206px%2012px%3B%22%3ECL%3C%2FTD%3E%0A%3CTD%20style%3D%22border%3A%201px%20solid%20%23e3e6ea%3B%20padding%3A%206px%2012px%3B%22%3E4%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20style%3D%22border%3A%201px%20solid%20%23e3e6ea%3B%20padding%3A%206px%2012px%3B%22%3ECH%3C%2FTD%3E%0A%3CTD%20style%3D%22border%3A%201px%20solid%20%23e3e6ea%3B%20padding%3A%206px%2012px%3B%22%3E5%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20style%3D%22border%3A%201px%20solid%20%23e3e6ea%3B%20padding%3A%206px%2012px%3B%22%3EDL%3C%2FTD%3E%0A%3CTD%20style%3D%22border%3A%201px%20solid%20%23e3e6ea%3B%20padding%3A%206px%2012px%3B%22%3E6%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20style%3D%22border%3A%201px%20solid%20%23e3e6ea%3B%20padding%3A%206px%2012px%3B%22%3EDH%3C%2FTD%3E%0A%3CTD%20style%3D%22border%3A%201px%20solid%20%23e3e6ea%3B%20padding%3A%206px%2012px%3B%22%3E7%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20style%3D%22border%3A%201px%20solid%20%23e3e6ea%3B%20padding%3A%206px%2012px%3B%22%3EEL%3C%2FTD%3E%0A%3CTD%20style%3D%22border%3A%201px%20solid%20%23e3e6ea%3B%20padding%3A%206px%2012px%3B%22%3E8%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3CTR%3E%0A%3CTD%20style%3D%22border%3A%201px%20solid%20%23e3e6ea%3B%20padding%3A%206px%2012px%3B%22%3EEH%3C%2FTD%3E%0A%3CTD%20style%3D%22border%3A%201px%20solid%20%23e3e6ea%3B%20padding%3A%206px%2012px%3B%22%3E9%3C%2FTD%3E%0A%3C%2FTR%3E%0A%3C%2FTBODY%3E%0A%3C%2FTABLE%3E%0A%3CP%20style%3D%22margin%3A%200%200%2012px%200%3B%20color%3A%20%231a1a1a%3B%22%3EEach%20of%20those%20is%20half%20of%20a%20register%20and%20together%20every%20line%20forms%20a%2032-bit%20register.%20For%20example%2C%20%3CSTRONG%3EAL%3C%2FSTRONG%3E%20and%20%3CSTRONG%3EAH%3C%2FSTRONG%3E%20contain%20all%20the%20pin%20values%20that%20are%20assigned%20to%20%3CSTRONG%3EPTA%3C%2FSTRONG%3E.%20%3CSTRONG%3EAL%3C%2FSTRONG%3E%20contains%20the%20first%2016%20pins%20and%20%3CSTRONG%3EAH%3C%2FSTRONG%3E%20contains%20the%20next%2016%20pins.%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%200%2012px%200%3B%20color%3A%20%231a1a1a%3B%22%3EFor%20example%2C%20the%20%3CCODE%20style%3D%22background%3A%20%23f1f3f5%3B%20padding%3A%202px%206px%3B%20border-radius%3A%203px%3B%20color%3A%20%23c7254e%3B%22%3ERGBLED0_RED%3C%2FCODE%3E%20pin%20is%20assigned%20to%20%3CSTRONG%3EPTA29%3C%2FSTRONG%3E.%20From%20that%20we%20can%20conclude%20that%2C%20since%2029%20is%20higher%20than%2015%20(the%2016th%20value%20of%20%3CSTRONG%3EAL%3C%2FSTRONG%3E%2C%20since%20the%20first%20value%20is%200)%2C%20the%20%3CSTRONG%3EPTA29%3C%2FSTRONG%3E%20pin%20must%20be%20assigned%20to%20the%20%3CSTRONG%3EAH%3C%2FSTRONG%3E%20register.%3C%2FP%3E%0A%3CP%20style%3D%22margin%3A%200%200%2012px%200%3B%20color%3A%20%231a1a1a%3B%22%3ETo%20reiterate%2C%20the%20%3CSTRONG%3EPTA0%E2%80%93PTA15%3C%2FSTRONG%3E%20pins%20belong%20to%20the%20%3CSTRONG%3EAL%3C%2FSTRONG%3E%20register%20while%20the%20%3CSTRONG%3EPTA16%E2%80%93PTA31%3C%2FSTRONG%3E%20(the%20value%20must%20be%20offset%20by%20%3CCODE%20style%3D%22background%3A%20%23f1f3f5%3B%20padding%3A%202px%206px%3B%20border-radius%3A%203px%3B%20color%3A%20%23c7254e%3B%22%3E-16%3C%2FCODE%3E%20when%20computing%20the%20Id)%20pins%20belong%20to%20the%20%3CSTRONG%3EAH%3C%2FSTRONG%3E%20register%2C%20and%20this%20is%20true%20for%20the%20rest%20of%20the%20registers%20too%3A%20%3CSTRONG%3EPTB%3C%2FSTRONG%3E%2C%20%3CSTRONG%3EPTC%3C%2FSTRONG%3E%2C%20%3CSTRONG%3EPTD%3C%2FSTRONG%3E%2C%20%3CSTRONG%3EPTE%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3CDIV%20style%3D%22margin%3A%2012px%200%3B%20padding%3A%2010px%2014px%3B%20background%3A%20%23eaf4fb%3B%20border-left%3A%204px%20solid%20%231565C0%3B%20color%3A%20%231a1a1a%3B%22%3E%3CSTRONG%3ENote%3A%3C%2FSTRONG%3E%20When%20computing%20the%20channel%20Id%20for%20pins%20in%20the%20upper%20half%20of%20a%20port%20(e.g.%20PTA16%E2%80%93PTA31)%2C%20subtract%2016%20from%20the%20pin%20number.%3C%2FDIV%3E%0A%3CP%20style%3D%22margin%3A%200%200%2012px%200%3B%20color%3A%20%231a1a1a%3B%22%3ETo%20create%20a%20new%20channel%2C%20select%20the%20appropriate%20%3CSTRONG%3EDioPort%3C%2FSTRONG%3E%20and%20click%20the%20%3CSTRONG%3E%2B%3C%2FSTRONG%3E%20button%20next%20to%20%3CSTRONG%3EDioChannel%3C%2FSTRONG%3E.%20A%20new%20channel%20entry%20will%20be%20created.%20Fill%20in%20the%20required%20channel%20information%20according%20to%20the%20pin%20that%20was%20previously%20configured%20in%20the%20%3CSTRONG%3EPins%20Tool%3C%2FSTRONG%3E%20and%20%3CSTRONG%3EPort%3C%2FSTRONG%3E%20component.%3C%2FP%3E%0A%3CSPAN%20class%3D%22lia-inline-image-display-wrapper%20lia-image-align-center%22%20image-alt%3D%22ADDNEWCHANNEL.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cspan%20class%3D%22lia-inline-image-display-wrapper%22%20image-alt%3D%22ADDNEWCHANNEL.png%22%20style%3D%22width%3A%20999px%3B%22%3E%3Cimg%20src%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2Fimage%2Fserverpage%2Fimage-id%2F393080i71BA0495DF4B6A79%2Fimage-size%2Flarge%3Fv%3Dv2%26amp%3Bpx%3D999%22%20role%3D%22button%22%20title%3D%22ADDNEWCHANNEL.png%22%20alt%3D%22ADDNEWCHANNEL.png%22%20%2F%3E%3C%2Fspan%3E%3C%2FSPAN%3E%0A%3CBR%20%2F%3E%0A%3CP%20style%3D%22margin%3A%200%200%2012px%200%3B%20color%3A%20%231a1a1a%3B%22%3ERepeat%20this%20process%20for%20each%20newly%20configured%20pin%2C%20ensuring%20that%20the%20channel%20is%20added%20under%20the%20correct%20%3CSTRONG%3EDioPort%3C%2FSTRONG%3E.%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3C!--%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%20--%3E%0A%3CDIV%20style%3D%22margin%3A%200%200%2032px%200%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table%3B%20width%3A%20100%25%3B%20margin-bottom%3A%208px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%20width%3A%2036px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20inline-flex%3B%20align-items%3A%20center%3B%20justify-content%3A%20center%3B%20width%3A%2028px%3B%20height%3A%2028px%3B%20background%3A%20%23F7A823%3B%20color%3A%20%23ffffff%3B%20border-radius%3A%2050%25%3B%20font-family%3A%20Arial%2C%20Helvetica%2C%20sans-serif%3B%20font-size%3A%2014px%3B%20font-weight%3A%20bold%3B%20line-height%3A%201%3B%22%3E4%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%22%3E%0A%3CH2%20id%3D%22part4%22%20style%3D%22margin%3A%200%3B%20color%3A%20%231a1a1a%3B%22%20id%3D%22toc-hId--1590547437%22%20id%3D%22toc-hId--1590547430%22%3EConclusion%3C%2FH2%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CHR%20%2F%3E%0A%3CP%20style%3D%22margin%3A%200%200%2012px%200%3B%20color%3A%20%231a1a1a%3B%22%3EAfter%20configuring%20the%20required%20%3CSTRONG%3EDioChannels%3C%2FSTRONG%3E%2C%20save%20the%20configuration%20and%20regenerate%20the%20code.%20The%20configured%20DIO%20channels%20can%20then%20be%20used%20by%20the%20application%20to%20access%20the%20corresponding%20digital%20inputs%20and%20outputs.%3C%2FP%3E%0A%3C%2FDIV%3E%0A%3C!--%20%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%3D%20--%3E%0A%3CDIV%20style%3D%22margin%3A%200%200%2032px%200%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table%3B%20width%3A%20100%25%3B%20margin-bottom%3A%208px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%20width%3A%2036px%3B%22%3E%0A%3CDIV%20style%3D%22display%3A%20inline-flex%3B%20align-items%3A%20center%3B%20justify-content%3A%20center%3B%20width%3A%2028px%3B%20height%3A%2028px%3B%20background%3A%20%23F7A823%3B%20color%3A%20%23ffffff%3B%20border-radius%3A%2050%25%3B%20font-family%3A%20Arial%2C%20Helvetica%2C%20sans-serif%3B%20font-size%3A%2014px%3B%20font-weight%3A%20bold%3B%20line-height%3A%201%3B%22%3E5%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CDIV%20style%3D%22display%3A%20table-cell%3B%20vertical-align%3A%20middle%3B%22%3E%0A%3CH2%20id%3D%22part5%22%20style%3D%22margin%3A%200%3B%20color%3A%20%231a1a1a%3B%22%20id%3D%22toc-hId-896965396%22%20id%3D%22toc-hId-896965403%22%3EReferences%3C%2FH2%3E%0A%3C%2FDIV%3E%0A%3C%2FDIV%3E%0A%3CHR%20%2F%3E%0A%3CUL%20style%3D%22margin%3A%200%200%2012px%200%3B%20padding-left%3A%2022px%3B%20color%3A%20%231a1a1a%3B%22%3E%0A%3CLI%20style%3D%22margin-bottom%3A%206px%3B%22%3E%3CA%20style%3D%22color%3A%20%231565c0%3B%20text-decoration%3A%20none%3B%22%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FModel-Based-Design-Toolbox-MBDT%2Fbd-p%2Fmbdt%22%20target%3D%22_blank%22%3ENXP%20Model-Based%20Design%20Toolbox%20%E2%80%93%20Community%3C%2FA%3E%3C%2FLI%3E%0A%3CLI%20style%3D%22margin-bottom%3A%206px%3B%22%3E%3CA%20style%3D%22color%3A%20%231565c0%3B%20text-decoration%3A%20none%3B%22%20href%3D%22https%3A%2F%2Fcommunity.nxp.com%2Ft5%2FNXP-Model-Based-Design-Tools%2FInteracting-with-Digital-Inputs-Outputs-on-MR-CANHUBK344%2Fta-p%2F1746789%22%20target%3D%22_blank%22%3EInteracting%20with%20Digital%20Inputs%2FOutputs%20on%20MR-CANHUBK344%3C%2FA%3E%3C%2FLI%3E%0A%3C%2FUL%3E%0A%3C%2FDIV%3E%3C%2FLINGO-BODY%3E
No ratings
Version history
Last update:
yesterday
Updated by: