CSNS setting and Control of HSD pinouts with SPI

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

CSNS setting and Control of HSD pinouts with SPI

826 Views
peaces
Contributor III

Hello everyone, 

I am trying to make SPI adjustments according to the datasheet of the IC we used (MC15XS3400), but I cannot control the outputs and I cannot see any data flow when I trigger the HSD_IN0 pin from outside.

HSD.PNG

0 Kudos
1 Reply

791 Views
mariuslucianand
NXP Employee
NXP Employee

Hello @peaces ,

Unfortunately, I don't have access to the board so I cannot test the code attached.

I would try to control the HSD via the SPI protocol first. For that, I've tried the following model to control the outputs. 

mariuslucianand_0-1623926391848.png

at first, it will control the Reset Pin, will send the PWM control command, and after that will toggle the OUT0

mariuslucianand_1-1623926477181.png

This is how the set HIGH command looks like:

mariuslucianand_2-1623926517369.png

Please give this model a try, but be aware that it sets the output fully open and at every second fully closed.

Hope this helps,

Marius

 

 

0 Kudos