Hello, I'm designing the inverter using GD3160 and I have a question regarding SPI.
I'm using TriCore367 MCU, so I'm having trouble implementing it.
1. I received the example code provided by NXP and what GPIO means in this structure is the MOSI pin?
Then, based on the example code, do you use two channels as 3 devices? (*GD31xx.h)
/// SPI channels for daisy chain operation
enum SpiChannelDC
{
SPI_L = 105, // GPIO105
SPI_H = 106, // GPIO106
};
2. When using the Daisy Chain method, can I bundle 6 devices at once? Or should I use 2 channels of 3 devices each?
For example, using two channels:
TOP: MOSI1 -> Device 1->2->3 -> MISO1
BOTTOM : MOSI2->Device 4->5->6 ->MISO2
Do I have to assign pins to each MCU like this?
Thank you for always helping me.
Hello HERO_LEE,
I hope all is great with you. Thank you for using the NXP communities.
You are correct, the daisy chain operation reduces the total MCU pin count for SPI and increases message length and polling times.. The recommended implementation for inverter applications requiring functional safety is to have two parallel chains of three devices: one daisy chain for three high-side gate drivers, one daisy chain for three low-side gate drivers).
I hope this information helps.
Regards,
David