MC56F827xx IEC60730 class B questions

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

MC56F827xx IEC60730 class B questions

1,121 Views
larryyang
NXP Employee
NXP Employee


In AN4772, which introduces the IEC 60730 safety routines for household appliances. The sample code of 'IEC60730B_DSC_SafetyRoutines 1.0'  demonstrates the basic functions of IEC60730 CALSS B, which only run once before running main application algorithm, but in the actual application of the customer, they need to check the proper function of FLASH memory, RAM and registers at any time. My questions are:

(1) In order to check the proper functioning of RAM and register during the user codes are running, compared with the sample code, what changes need to be made?

(2) Is there any customer who already used the Class B code in the mass production?

Attached code is used for washing machine inverter board control safety routine, the FLASH memory, RAM and registers are checked at any time. We encountered an issue that when the RAM or registers check are running, sometimes the motor running will be affected and cause the current waveform exception, could you help check the code?

Thanks!

Original Attachment has been moved to: IEC60730.c.zip

Labels (1)
Tags (2)
0 Kudos
1 Reply

747 Views
larryyang
NXP Employee
NXP Employee

The issue was solved, because of RAM test disabled all interrupts, the motor control algorithm is affected. The IEC60730 Class B code is right.

0 Kudos