Using the RX72M chip, EtherCAT Slave is configured and enabled, and SCI8 is configured as SPI in Slave mode. SPI is used to communicate with another DSP board,After the EtherCAT Slave enters the OP state, the SPI data transmission begins to be unstable. Even if you use SPI to send fixed data (such as 0x37) and use an oscilloscope to observe the 4 pins of SPI, the SS, CLK, and MOSI pins signal is normal, but the MISO pin data is always low, that is, the transmitted data is 0. After EtherCAT Slave is removed from the OP state, the data of each pin of the SPI returns to normal.
Is there a conflict between the RX72M's EtherCAT Slave module and the SPI module? Is there a solution?
How are things going so far? I'm not an RX72M user so I'm not familiar with its EtherCAT Slave operation. But did you check if there's a conflict with the MISO pin used in SPI with the EtherCAT…
How are things going so far? I'm not an RX72M user so I'm not familiar with its EtherCAT Slave operation. But did you check if there's a conflict with the MISO pin used in SPI with the EtherCAT? I guess, maybe theEtherCAT is using that pin too that's why it is always low when the EtherCAT is enabled? Or have you checked if there's an interrupt disrupting the SPI operation?
JBIf this response, or one provided by another user, answers your question, please verify the answer. Thank you!Renesas Engineering Community Moderatorhttps://community.renesas.com/https://academy.renesas.com/https://en-support.renesas.com/knowledgeBase/
Thanks for your reply, there is no progress yet. I'm sure EtherCAT Slave and SPI don't have pins in common. Symptomatically it is an EtherCAT interrupt that interrupts the data transmission on SPI.
i am currently facing the same issue. I am working on a RX72M trying to make coexist the ethercat slave configuration with an spi communication with an external dac but i also have discontinuous response from the spi. Did you manage to solve the problem? because i am also quite stuck
I apologize, JB and I haven't been able to resolve the issue within our team. I highly recommend you submit a ticket to get to the applications engineers who are more familiar with this platform. You can go here for that help: https://en-support.renesas.com/dashboard
Thank you for your patience and good luck!
If this response, or one provided by another user, answers your question, please verify the answer. Thank you!Renesas Engineering Community Moderatorshttps://community.renesas.com/https://academy.renesas.com/https://en-support.renesas.com/knowledgeBase