S32DS MPC5605B header file error

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

S32DS MPC5605B header file error

跳至解决方案
1,644 次查看
Daniel_Wax
NXP Employee
NXP Employee

There is an issue in the header definition of the ME_PS2 register field in the included header files for the MPC5605B.h processor.

 

The highlighted line should be a 17 not a 16.  We have fixed this internally, but it would be good to let you know that this is incorrect even in the latest version of S32 Design Studio.

 

From the MPC5605B.h header file (see highlighted line):

 

    union { /* Peripheral Status 2 (Base+0x0068) */

        vuint32_t R;

        struct {

            vuint32_t :3;

            vuint32_t S_PIT_RTI:1;

            vuint32_t S_RTC_API:1;

            vuint32_t :16;

            vuint32_t S_EMIOS1:1;

            vuint32_t S_EMIOS0:1;

            vuint32_t :2;

            vuint32_t S_WKPU:1; 

            vuint32_t S_SIUL:1;

            vuint32_t :4;

        } B;

    } PS2;

 

From the reference manual (see bit position of S_PIT_RTI and S_RTC_API):

 

标签 (2)
0 项奖励
回复
1 解答
1,556 次查看
jiri_kral
NXP Employee
NXP Employee

Hi Daniel, 

thanks for report. I can confirm that in latest S32DS is this miss alignment still present.  I'll create JIRA ticket for this bug. 

Jiri

在原帖中查看解决方案

0 项奖励
回复
1 回复
1,557 次查看
jiri_kral
NXP Employee
NXP Employee

Hi Daniel, 

thanks for report. I can confirm that in latest S32DS is this miss alignment still present.  I'll create JIRA ticket for this bug. 

Jiri

0 项奖励
回复