Not applicable
Aug 16, 2014
04:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 16, 2014
04:51 AM
8 Replies
Aug 17, 2014
08:13 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 17, 2014
08:13 PM
This is the connection for ISOFACE with XMC application kit.
Step 1: Connecting the extension board
1. Connect 1 piece of extension board to the COM edge connector of the CPU board.
2. Connect 1 piece of extension board to the ACT edge connector of the CPU board.
3. Connect 1 piece of extension board to the ACT edge connector of the AUT_ISO satellite card.
4. Power the AUT_ISO satellite card using external power supply.
Step 2: Inter connect wires between the extension boards
1. CPU card @ COM edge to AUT_ISO card @ ACT edge connector
Pin no. 4 (MTSR/MTSR0HW) >> Pin no. 32 (SPI_MTSR)
Pin no. 6 (MRST/MTSR1HW) >> Pin no. 34 (SPI_MRST)
Pin no. 3 (Clock out) >> Pin no. 36 (SPI_SCLK)
2. CPU card @ ACT edge to AUT_ISO card @ ACT edge connector
Pin no. 15 (ChipSelect Job 2) >> Pin no. 31 (CSA0)
Pin no. 80 (GND) >> Pin no. 80 (GND)
Step 1: Connecting the extension board
1. Connect 1 piece of extension board to the COM edge connector of the CPU board.
2. Connect 1 piece of extension board to the ACT edge connector of the CPU board.
3. Connect 1 piece of extension board to the ACT edge connector of the AUT_ISO satellite card.
4. Power the AUT_ISO satellite card using external power supply.
Step 2: Inter connect wires between the extension boards
1. CPU card @ COM edge to AUT_ISO card @ ACT edge connector
Pin no. 4 (MTSR/MTSR0HW) >> Pin no. 32 (SPI_MTSR)
Pin no. 6 (MRST/MTSR1HW) >> Pin no. 34 (SPI_MRST)
Pin no. 3 (Clock out) >> Pin no. 36 (SPI_SCLK)
2. CPU card @ ACT edge to AUT_ISO card @ ACT edge connector
Pin no. 15 (ChipSelect Job 2) >> Pin no. 31 (CSA0)
Pin no. 80 (GND) >> Pin no. 80 (GND)
Not applicable
Aug 20, 2014
04:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 20, 2014
04:51 AM
I cant choose the pins from Step 2...
I only want to read the ISOFACE IN and send this data to the ISOFACE OUT.
(i am able to write data to ISOFACE OUT, but i am not able to read data from ISOFACE IN)
Can anyone help me with this, or has anyone the code and the pins?
it is really urgent, i have not much time to solve that problem 😞
I only want to read the ISOFACE IN and send this data to the ISOFACE OUT.
(i am able to write data to ISOFACE OUT, but i am not able to read data from ISOFACE IN)
Can anyone help me with this, or has anyone the code and the pins?
it is really urgent, i have not much time to solve that problem 😞
Attachments are accessible only for community members.
Aug 20, 2014
08:30 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 20, 2014
08:30 PM
Not applicable
Aug 21, 2014
05:40 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 21, 2014
05:40 AM
Hi Travis,
If i use your pins or the SPI002_Example1 nothing happens at my application kit.
Now i make a picture...
I have the right pins to write into the Output. I only need to read the input thats all... in this case the input would be 0x10
I write into the Output like that:
SPI001_WriteData(&SPI001_Handle0, &data, SPI001_STANDARD_FULLDUPLEX);
delay(1000000);
SPI001_ReadData(&SPI001_Handle0, &data);
delay(1000000);
1. How can i read from Input or Output with code?
2. How many apps do i need for that case? (And which apps? SPI001 to write into output and ??? to read input)
3. Which pins do i need to get access to the ISOFACE IN / read Input
I think it is nothing special, but i cant do it myself, i am new at dave 3...
Please help me:(
edit:
That should be the right pins.
I use MRST 2.5, MTSR 3.13, CLK 3.0 and Chip Select 3.11 to wirte into the output and that works. Now i changed the Chip select to 3.8 but nothing happens at the input
edit2:
i found that in the manual... is it impossible to programm with the isoface in, because it is not connected to anything else? (independent)
sorry for this long post, but i need a solution as fast as possible.
Greetings suggi87
If i use your pins or the SPI002_Example1 nothing happens at my application kit.
Now i make a picture...
I have the right pins to write into the Output. I only need to read the input thats all... in this case the input would be 0x10
I write into the Output like that:
SPI001_WriteData(&SPI001_Handle0, &data, SPI001_STANDARD_FULLDUPLEX);
delay(1000000);
SPI001_ReadData(&SPI001_Handle0, &data);
delay(1000000);
1. How can i read from Input or Output with code?
2. How many apps do i need for that case? (And which apps? SPI001 to write into output and ??? to read input)
3. Which pins do i need to get access to the ISOFACE IN / read Input
I think it is nothing special, but i cant do it myself, i am new at dave 3...
Please help me:(
edit:
That should be the right pins.
I use MRST 2.5, MTSR 3.13, CLK 3.0 and Chip Select 3.11 to wirte into the output and that works. Now i changed the Chip select to 3.8 but nothing happens at the input
edit2:
i found that in the manual... is it impossible to programm with the isoface in, because it is not connected to anything else? (independent)
sorry for this long post, but i need a solution as fast as possible.
Greetings suggi87
Not applicable
Aug 23, 2014
05:29 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 23, 2014
05:29 AM
Has nobody an idea? Or a Project like that?
Not applicable
Aug 25, 2014
06:54 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 25, 2014
06:54 PM
Hi suggi87,
I did not try on the ISOFACE setup yet but as a general guide, you need to send dummy byte (or bytes depending how much data to receive) to the slave device in order to read.
This is because Master will be the one providing the clock to the slave to shift out the data.
Did you send any dummy byte to read data?
Usually the Master will send a command to the Slave to request for data.
Then, the slave will prepare the data and wait for the Master clock.
Then Master sends dummy bytes (i.e. 0x00) in order to generate clock for the Slave.
Slave receive clock and shift out the data.
I did not try on the ISOFACE setup yet but as a general guide, you need to send dummy byte (or bytes depending how much data to receive) to the slave device in order to read.
This is because Master will be the one providing the clock to the slave to shift out the data.
Did you send any dummy byte to read data?
Usually the Master will send a command to the Slave to request for data.
Then, the slave will prepare the data and wait for the Master clock.
Then Master sends dummy bytes (i.e. 0x00) in order to generate clock for the Slave.
Slave receive clock and shift out the data.
Attachments are accessible only for community members.
Aug 27, 2014
07:31 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Aug 27, 2014
07:31 PM
Hi,
we had created this example for ISO FACE In and Out. Hope this is useful to you.
Hexagonal Boards Required:
XMC4500-AB Step CPU_45A_V2
AUT_ISO-V1
SETUP:
1. Connect the ISOFACE board(AUT_ISO-V1) to the XMC4500 CPU board through ACT connector.
2. Connect 24V DC power to the ISOFACE board.
HOW TO TEST:
Download and run the demo in the uC.
OBSERVATIONS:
Whenever an LED on the ISOFACE IN glows, LED on the ISOFACE OUT also glows.
Signal Pin Name
Chipselect P3.11 (CS pin for ISOFACE OUT slave)
Chipselect P3.8 (CS pin for ISOFACE IN slave)
Clock OUT P3.0(clock pin)
MTSR P3.13(data pin)
MRST P2.5(data pin)
Best regards
Travis
we had created this example for ISO FACE In and Out. Hope this is useful to you.
Hexagonal Boards Required:
XMC4500-AB Step CPU_45A_V2
AUT_ISO-V1
SETUP:
1. Connect the ISOFACE board(AUT_ISO-V1) to the XMC4500 CPU board through ACT connector.
2. Connect 24V DC power to the ISOFACE board.
HOW TO TEST:
Download and run the demo in the uC.
OBSERVATIONS:
Whenever an LED on the ISOFACE IN glows, LED on the ISOFACE OUT also glows.
Signal Pin Name
Chipselect P3.11 (CS pin for ISOFACE OUT slave)
Chipselect P3.8 (CS pin for ISOFACE IN slave)
Clock OUT P3.0(clock pin)
MTSR P3.13(data pin)
MRST P2.5(data pin)
Best regards
Travis
Dec 01, 2014
10:55 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Dec 01, 2014
10:55 AM
In the example above the clock phase and polarity is changed when executing a spi write command or a read command. I guess this is done because of the strange behaviour of the isoface in unit. The isoface in chip does not behave like a standard SPI device. The chip starts already transmitting the sampled data when the CS signal is activated (high->low). Therefore the clock phase has to be adapted to sample the write bit stream in the master. Why do you use this SPI chip instead of a standard working SPI device? Are there any advantages?