S32K144 and ARM corte bit band

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

S32K144 and ARM corte bit band

1,093 次查看
enricoantonioli
Contributor II

Hello,

can anyone tell me if bit band is implemented in s32k144? The refernce manual (Rev.9) says no:

see BB=00 on "Processor 0 Configuration Register 3 (CP0CFG3)"

If I try to use it it works well!! Why?

Can I have problems with this approach in the future? 

The reference manual says: "The S32K product series and the software drivers support bit-
banding, but Arm no longer promotes its usage. Therefore, we
recommend that bit-banding should not be used."

Best regards,

E.

0 项奖励
回复
2 回复数

1,005 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello Enrico,

It is supported but not recommended because according to ARM, the bit banding and the data cache might have problems with each other. As the SRAM region is one of the address ranges of the bit-banding feature and it's cacheable.

Regarding the CP0CFG3[BB] bit, I will update this thread once I have more information.

Regards,
Daniel

0 项奖励
回复

1,005 次查看
danielmartynek
NXP TechSupport
NXP TechSupport

Hello Enrico,

The CP0CFG3[BB] bit shows a wrong value.

The next RM revision will address that.

BR, Daniel

0 项奖励
回复