register address definition error in the headfile of s6e2cc.h

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

1、I found an error in the headfile of  s6e2cc.h. It is that the definition of register address is error. let we see the error in the s6e2cc.h:(showed in the picture 地址错误.png)

   

 

   

In the headfile ,the address of the Register FASZR is 0x42000000, but according to the peripheral manual of s6e2cc series,the correct address of Register FASZR is 0x40000000.(showed in the picture 正确地址.png)

   

 

   

why is this so ?

0 Likes
1 Solution
Anonymous
Not applicable

Hello eyerybody,

   

 

   

This preblom has been resolved.And I'am sorry and apologized here for my innocence.The address I referred to is not an error,it is a bit-band operation.For more information please referred to the technical support case in the link below:

   

https://secure.cypress.com/myaccount/?id=25&myCase=489394-3244231687

   

 

   

Thanks

View solution in original post

0 Likes
6 Replies
bharadhwajas_91
Employee
Employee
First like received First like given

Hello ,

   

Please create a technical support case to have a closer look at this.You can go to Cypress-->Support-->Create a support case

0 Likes
Anonymous
Not applicable

Thanks, I will try that.

0 Likes
Anonymous
Not applicable

Dear bhwj

   

 

   

I have created a technical support case, please see it in the link :

   

https://secure.cypress.com/myaccount/?id=25&mycase=489394-3244231687

   

 

   

Thank you !

0 Likes
Anonymous
Not applicable

Hello eyerybody,

   

 

   

This preblom has been resolved.And I'am sorry and apologized here for my innocence.The address I referred to is not an error,it is a bit-band operation.For more information please referred to the technical support case in the link below:

   

https://secure.cypress.com/myaccount/?id=25&myCase=489394-3244231687

   

 

   

Thanks

0 Likes
Bob_Marlowe
Level 10
Level 10
First like given 50 questions asked 10 questions asked

We do not have the access rights to see your case. Can you please copy and paste Cypress's answer to your question?

   

 

   

Bob

0 Likes
Anonymous
Not applicable

OK,sure. The Cypress's answer is showed in below:

   

 

   

Please note that address you are referring to is the bit band alias region where each bit is represented by one word (32bit).
So Peripheral area Alias address = 0x42000000 + (32 x Peripheral Offset) + (4 x bit position)

This is as expected in the FM4.h file .

   

 

   

Fei