Diable outputs ISO1H812G

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

cross mob
User16529
Level 4
Level 4
First solution authored
Hello!
I'm usign ISO1H812G as output unit in SPI communication. I've implemented a function for error detection that set a variable if MISO and MOSI mismatch. I saw that ISO1H812G has the DIS pin to disable the outputs, so my question is: if i connect the DIS to a general purpose IO of my XMC4800 chip and i set it to 0 in case of errors, the outputs of the ISO1H812G will be reset to 0?

Thank you for any help
0 Likes
3 Replies
User13282
Level 3
Level 3
25 replies posted 10 replies posted 5 replies posted
Yes, this works. PIN description in the datasheet: The high-side outputs OUT0...OUT7 can be immediately switched off by means of the low active pin DIS that is an asynchronous signal. The input registers are also reset by the DIS signal. The output remains switched off after low-high transient of DIS, till new data is written into the input interface.
0 Likes
User16529
Level 4
Level 4
First solution authored
Thank you!
0 Likes
User18668
Level 1
Level 1
Hi Janet,
Will you share your code with me?
I can't get the printout.
as follows in my code

Entegre : https://www.infineon.com/dgdl/Infineon-ISO1H816G-DS-v02_04-EN.pdf?fileId=db3a304320d39d590120f700bb7...

pui32DataTx[0] = set_bit( pui32DataTx[0],0,1);
pui32DataTx[0] = set_bit( pui32DataTx[0],1,0);
pui32DataTx[0] = set_bit( pui32DataTx[0],2,0);
pui32DataTx[0] = set_bit( pui32DataTx[0],3,0);
pui32DataTx[0] = set_bit( pui32DataTx[0],4,0);
pui32DataTx[0] = set_bit( pui32DataTx[0],5,0);
pui32DataTx[0] = set_bit( pui32DataTx[0],6,0);
pui32DataTx[0] = set_bit( pui32DataTx[0],7,1);

GPIOPinWrite(GPIO_PORTH_BASE, GPIO_PIN_5, GPIO_PIN_5);
GPIOPinWrite(GPIO_PORTH_BASE, GPIO_PIN_5, !GPIO_PIN_5);

for(ui32Index = 0; ui32Index < NUM_SSI_DATA; ui32Index++)
{
SSIDataPut(SSI2_BASE, pui32DataTx[ui32Index]);
}


while(SSIBusy(SSI2_BASE))
{

}
GPIOPinWrite(GPIO_PORTH_BASE, GPIO_PIN_5, GPIO_PIN_5);

3963.attach

take a look where there's the problem.

thank you.
0 Likes