This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TMS570LS0714: TMS570 MCAL EB tresos configuration question.

Part Number: TMS570LS0714

Hi Champs;

From above Dio general window ,May i know why for  GioAPort the DioPortId is 12406? any material to explain how to configure this value ? 

For above  DioChannelGroup window, may i know the means of DioChannelGroupId ,DioportMask,DIoPortOffset?how to configure these value?

  • Hello Huihuang,

    DioPortID is a numeric identifier of the DIO port. Not all MCU ports may be used for DIO, thus there may be "gaps" in the list of all IDs. This value will be assigned to the DIO port symbolic name. The ID is generated by the tool, but you can change it manually. The ID for each DioPort (DioAPort, N2Het1Port, etc) is unique. The valid range for the ID is 0x0~0xFFFFFFFF.

    DioChannelGroup: A channel group represents several adjoining DIO channels represented by a logical group. The channels shall consist of adjoining bits in the same port.

    DioPortMask: defines the positions of the channel group. In the example you listed, the PortAChennlGrp1 consists of GIOA[3:2], and PortAChannelGrp2 consists of GIOA[1:0].

    DioPortOffset: The position of the Channel Group on the port, counted from the LSB. This value can be derived from DioPortMask. So in the example you listed, the offset of PortAChennlGrp1 is 2, and the offset of PortAChannelGrp2 is 0