Announcements
IMPORTANT: Cypress Developer Community is transitioning on October 20th. To learn more and be prepared for this change, check out our latest announcement.
cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC Creator & Designer Software

Anonymous
Not applicable

Hello,

   

 

   

i can read out Chipid and BUTTON_STAT  from CY8CMBR3101 over I2C and can write Register GPO_OUTPUT_STATE.

   

But changing GPO_CFG and PWM_DUTYCYCLE_CFG0 has no effect. Whats the problem?

   

 

   

Günter

0 Likes
1 Solution
Anonymous
Not applicable

Hello Günter,

   

 

   

The changes made to the configuration registers  (0x00-0x7E in the register map) take effect only after they are written to the Non Volatile Memory (Flash). Hence each time, a configuration register is changed, the CRC for the entire configuration register map has to be calculated, saved to flash and device has to be reset. This is done to avoid any abnormal behavior due to RAM corruption over a long time. Configuring MBR3 has been discussed in Section 5: Configuring CY8CMBR3xxx of the MBR3 design guide: http://www.cypress.com/?docID=50318

Hence you cannot change the duty cycle of the PWM without writing to the Flash and performing a device reset.

   

 

   

Regards,

   

Saheem

View solution in original post

0 Likes
3 Replies
Anonymous
Not applicable

Hello,

   

 

   

the new value is stored in the Register but has no effect!

0 Likes
Anonymous
Not applicable

Sorry wrong Type CY8CMBR3102!!

0 Likes
Anonymous
Not applicable

Hello Günter,

   

 

   

The changes made to the configuration registers  (0x00-0x7E in the register map) take effect only after they are written to the Non Volatile Memory (Flash). Hence each time, a configuration register is changed, the CRC for the entire configuration register map has to be calculated, saved to flash and device has to be reset. This is done to avoid any abnormal behavior due to RAM corruption over a long time. Configuring MBR3 has been discussed in Section 5: Configuring CY8CMBR3xxx of the MBR3 design guide: http://www.cypress.com/?docID=50318

Hence you cannot change the duty cycle of the PWM without writing to the Flash and performing a device reset.

   

 

   

Regards,

   

Saheem

View solution in original post

0 Likes