About the behavior of SYSTEM_STATUS register of MBR3

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

cross mob
SuSh_1535366
Level 5
Level 5
Distributor - Macnica (Japan)
10 solutions authored 10 likes given 10 likes received

Hello,

I am trying to write user configurations to MBR3 in the following procedure:

1. Read the SYSTEM_STATUS(0x8A) register

2. If SYSTEM_STATUS (bit0) is 0, write configuration parameter to MBR3 (according to Register TRM)

3. If it is 1, nothing is done.

However, after doing this process, the SYSTEM_STAUTS register will be 0, but the configuration will remain at the factory default.

I think that the SYSTEM_STATUS register is 1 at the time of shipment from the factory, and will be 0 when writing something.

Is this correct?

If not, please tell me when the SYSTEM_STATUS register will be 1.

Regards,

Shimamura

0 Likes
1 Solution
Takashi_M
Moderator
Moderator
Moderator
1000 replies posted 500 solutions authored 750 replies posted

Apologize for late update...

Actually, there are:

- Factory default firmware of MBR3 device

- Default configuration loaded on the KIT

And, the Factory default firmware of MBR3 device may be different from default configuration loaded on the kit. Factory default firmware/configuration on MBR3 is the default configuration loaded on the device when device is shipped out from Fab.

During kit manufacturing, a user configuration i.e. Water Tolerance.cprj may have been loaded on MBR3 which the kit UG is referring to as default configuration probably because it is the default loaded during kit manufacturing.

However SYSTEM_STATUS compares this user config with factory default (of mbr3, loaded from fab) and is expected to report these as different configurations.

In addition to this, the Factory default configuration of MBR3 is same as that mentioned in the device datasheet and the registers TRM.

CY8CMBR3002, CY8CMBR3102, CY8CMBR3106S, CY8CMBR3108, CY8CMBR3110, CY8CMBR3116 Datasheet: CapSenseR Express? Controllers With SmartSense? Auto-tuning 16 Buttons, 2 Sliders, Proximity Sensors

https://www.cypress.com/file/46236/download

CY8CMBR3102, CY8CMBR3106S, CY8CMBR3108, CY8CMBR3110, CY8CMBR3116 CapSenseR Express Controllers Registers TRM

https://www.cypress.com/file/127221/download

As the conclusion, if the Factory default firmware/configuration of MBR3 device is store into the device, SYSTEM_STATUS register would be set to 1.

View solution in original post

0 Likes
8 Replies
SuSh_1535366
Level 5
Level 5
Distributor - Macnica (Japan)
10 solutions authored 10 likes given 10 likes received

Sorry, I made a mistake:

1. Read the SYSTEM_STATUS(0x8A) register

2. If SYSTEM_STATUS (bit0) is 1, write configuration parameter to MBR3 (according to Register TRM)

3. If it is 0, nothing is done.

These are correct.

Thanks,

Shimamura

0 Likes

Could you please help me to understand what your question is again?

0 Likes
Takashi_M
Moderator
Moderator
Moderator
1000 replies posted 500 solutions authored 750 replies posted

> after doing this process, the SYSTEM_STAUTS register will be 0, but the configuration will remain at the

> factory default.

For this case, there would be possibility to not configure registers correctly. Please make sure if the register can be program correctly.

> I think that the SYSTEM_STATUS register is 1 at the time of shipment from the factory, and will be 0 when

> writing something.

> Is this correct?

Yes, this is correct.

0 Likes
Takashi_M
Moderator
Moderator
Moderator
1000 replies posted 500 solutions authored 750 replies posted

Here is the summarization of "SYSTEM_STATUS"register.

0) At a time to MBR3 device shipment from Cypress, the SYSTEM_STATUS register would be “Not defined”.

Please refer to the MBR3 register manual.

https://www.cypress.com/file/127221/download

pastedImage_1.png

pastedImage_2.png

1) When the device is power-on, “SYSTEM_STATUS” is set to “1” in the firmware at this time. This mean that when you check this register at this timing, “SYSTEM_STATUS” has been already set to “1” (nothing was changed from factory default configuration)

2) If you changed any configuration and don't change “SYSTEM_STATUS” register, “SYSTEM_STATUS” is still “1” at this point. However, any changing of configuration registers will be effective only after reset command, then the "SYSTEM_STATUS” will be 0. If no reset, the changing will not be effective, "SYSTEM_STATUS” is still “1” at this point.

During Power Off, “SYSTEM_STATUS” is “Not defined. After power on,  because the configuration was changed at 2), “SYSTEM_STATUS” would be “0”.

0 Likes
SuSh_1535366
Level 5
Level 5
Distributor - Macnica (Japan)
10 solutions authored 10 likes given 10 likes received

Hello TakashiM_61,

Thank you for your reply.

I want to debug the configuration write procedure.

However, once SYSTEM_STATUS becomes 0, it can not be returned to 1.

Is there any way to set SYSTEM_STATUS to 1?

Regards,

Shimamura

0 Likes

Hello,

Could you please explain what the step you confirmed is, and what the specific condition/configuration is...?

Thank you very much.

0 Likes
Takashi_M
Moderator
Moderator
Moderator
1000 replies posted 500 solutions authored 750 replies posted

Have to apologize for making you confused...

According MBR3 registers TRM, SYSTEM_STATUS register is Read only by Host ACCESS.

https://www.cypress.com/file/127221/download

pastedImage_1.png

So, we can not write this register, for example, through BCP.

0 Likes
Takashi_M
Moderator
Moderator
Moderator
1000 replies posted 500 solutions authored 750 replies posted

Apologize for late update...

Actually, there are:

- Factory default firmware of MBR3 device

- Default configuration loaded on the KIT

And, the Factory default firmware of MBR3 device may be different from default configuration loaded on the kit. Factory default firmware/configuration on MBR3 is the default configuration loaded on the device when device is shipped out from Fab.

During kit manufacturing, a user configuration i.e. Water Tolerance.cprj may have been loaded on MBR3 which the kit UG is referring to as default configuration probably because it is the default loaded during kit manufacturing.

However SYSTEM_STATUS compares this user config with factory default (of mbr3, loaded from fab) and is expected to report these as different configurations.

In addition to this, the Factory default configuration of MBR3 is same as that mentioned in the device datasheet and the registers TRM.

CY8CMBR3002, CY8CMBR3102, CY8CMBR3106S, CY8CMBR3108, CY8CMBR3110, CY8CMBR3116 Datasheet: CapSenseR Express? Controllers With SmartSense? Auto-tuning 16 Buttons, 2 Sliders, Proximity Sensors

https://www.cypress.com/file/46236/download

CY8CMBR3102, CY8CMBR3106S, CY8CMBR3108, CY8CMBR3110, CY8CMBR3116 CapSenseR Express Controllers Registers TRM

https://www.cypress.com/file/127221/download

As the conclusion, if the Factory default firmware/configuration of MBR3 device is store into the device, SYSTEM_STATUS register would be set to 1.

0 Likes