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.