Dear Sir
I try to set the MC35XS3400, reference the example code. ( MC10XS3412 )
But can't set the output as the PWM control. Please help check the register setting have something error.
------------------------------------------------------------------------------------------------------------------------------------------
H : High level, L : Low level
step 1 :
Set the reset pin H-->L-->H.
step2 :
set IN0 to H
Step3 :
set GCR--> 0x94C0.
set PWM-->0x84C0.
set Confr0_S--> 0x8800.
set Confr1_S--> 0x8C7C
after setting, the HS0 output 12V DC, modify the PWM register is no useful.
the MISO message show openload in ON state fault.
thanks.
Hi,
This seems to me a correct setting for the 50% PWM on HS0.
set Confr1_S--> 0x8C7C - This should disable the ON output open load detection for the HS0 output.
How is the FSI pin connected in your application?
Maybe the watchdog is enabled and WDIN bit must be toggled at least once within the timeout period.
Best regards,
Tomas
Hi Tomas
FSI pin connect 10k pull down. setting the watchdog enable.
//WDIN bit must be toggled at least once within the timeout period.
it means WDIN toggled 0<-->1?