May 10, 2019
05:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 10, 2019
05:00 AM
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
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
Labels
- Labels:
-
ispn:1629:1:0
-
l1:8801:1:0
-
l2:275:1:0
- Tags:
- IFX
3 Replies
May 12, 2019
10:32 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 12, 2019
10:32 PM
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.
May 12, 2019
11:33 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
May 12, 2019
11:33 PM
Thank you!
Jan 14, 2020
01:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 14, 2020
01:18 AM
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);
take a look where there's the problem.
thank you.
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);
take a look where there's the problem.
thank you.