SPI PINS IN IMC302AF064XUMA1

Announcements

From sunburn to sun earn – we’ve got the power! Watch our #poweringgreen videos now.

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
cw2611
Level 3
Level 3
25 sign-ins 25 replies posted 10 questions asked

I am working on a BLDC controller to run a 48V motor for AGV . I have opted for IMC302AF064XUMA1 controller from IMC300 series for FOC application. Which pins can be used to interface to a gate driver through SPI protocol? Are there any dedicated pins for that?

0 Likes
1 Solution
Krupashankar
Moderator
Moderator
Moderator
500 replies posted 50 likes received 25 likes received

Hi @cw2611,

Thanks for posting in the Infineon community!

You use USIC pins such as P0.14, P0.8, P0.9 for SPI communication.

You could also refer to datasheet: IM302A

Please let us know if further information is needed.

 

Thanks,

Krupashankar

View solution in original post

0 Likes
7 Replies
Krupashankar
Moderator
Moderator
Moderator
500 replies posted 50 likes received 25 likes received

Hi @cw2611,

Thanks for posting in the Infineon community!

You use USIC pins such as P0.14, P0.8, P0.9 for SPI communication.

You could also refer to datasheet: IM302A

Please let us know if further information is needed.

 

Thanks,

Krupashankar

0 Likes

Hi @Krupashankar,

Thanks for the reply!

https://www.infineon.com/dgdl/Infineon-IMC300A-iMOTION_Controller_with_additional_microcontroller-Us...

In section 1.4 of this user manual, it is mentioned that dedicated hardware peripherals are available for CAN, UART, SPI and I2C. I want to implement all these communication protocols, can I use any of the programmable I/O pins for this?

0 Likes
Krupashankar
Moderator
Moderator
Moderator
500 replies posted 50 likes received 25 likes received

Hi @cw2611,

You could refer to section 18.11.1 USIC0 Module Interconnects in IMC300A - iMOTION™ Controller with additional microcontroller 

For configuring functionality of each pin for different peripherals.

 

Thanks,

Krupashankar

0 Likes

Thank you @Krupashankar !

I have few more questions.

  1. I am using pins P0.8 (as SDI), P0.9 (as SDO), P0.10 (as SCLK), P0.11 (as CS) to interface to a gate driver through SPI protocol. Is it correct?
  2. I am using pin 45 (RXD) and pin 46 (TXD) as UART pins for debugging purposes. Is it correct?
  3. Which pins should I use for connecting the IC to the MCE wizard?
  4. Refer: https://www.infineon.com/dgdl/Infineon-iMOTION_Link-UserManual-v01_01-EN.pdf?fileId=5546d462636cc8fb...

             Can this hardware be used for both debugging and programming the IMC302AF064XUMA1?

0 Likes
Krupashankar
Moderator
Moderator
Moderator
500 replies posted 50 likes received 25 likes received

Hi @cw2611,

1.I am using pins P0.8 (as SDI), P0.9 (as SDO), P0.10 (as SCLK), P0.11 (as CS) to interface to a gate driver through SPI protocol. Is it correct?

You can use P0.8( as SCLK) P0.9( as CS) P1.0(SDI) P1.1( SDO) Please select based USIC0 Channel data and control configuration.

2.I am using pin 45 (RXD) and pin 46 (TXD) as UART pins for debugging purposes. Is it correct?

Yes these pins are used as RXD and TXD

3.Which pins should I use for connecting the IC to the MCE wizard?

You can use the  pin 45 and pin 46 to connect IC to MCE Wizard.

4.Can this hardware be used for both debugging and programming the IMC302AF064XUMA1?

Yes the same pin can be used for debugging and programming.

 

Thanks,

Krupashankar

0 Likes

Thank you @Krupashankar !

0 Likes
cw2611
Level 3
Level 3
25 sign-ins 25 replies posted 10 questions asked

Hey @Krupashankar !

I have drawn a schematic using IMC302AF064XUMA1. Please verify if the connections are correct.

PIN 29 (PWMUL) ---> Phase A low-side driver control input //gate driver
PIN 30 (PWMUH) ---> Phase A high-side driver control input //gate driver
PIN 31 (PWMVL) ---> Phase B low-side driver control input //gate driver
PIN 32 (PWMVH) ---> Phase B high-side driver control input //gate driver
PIN 33 (PWMWL) ---> Phase C low-side driver control input //gate driver
PIN 34 (PWMWH) ---> Phase C high-side driver control input //gate driver
PIN 14 (VDC) ---> Stepped down voltage from BUS voltage
PIN 18 (ISS/IU) <--- Current sense amplifier output A //gate driver
PIN 15 (IV/AHALL2-) <--- Current sense amplifier output B //gate driver
PIN 11 (IW/AHALL1-/AIN2) <--- Current sense amplifier output C //gate driver
PIN 17 (REFU/AIN8) ---> UNUSED
PIN 16 (REFV/AHALL2+/AIN7) <--- UNUSED
PIN 10 (REFW/AHALL1+/AIN1) <--- UNUSED
PIN 26 (HALL1/GPIO9) <--- Hall effect input A //from motor
PIN 27 (HALL2/GPIO10) <--- Hall effect input B //from motor
PIN 28 (HALL3/GPIO11) <--- Hall effect input C //from motor
PIN 37 ---> UNUSED
PIN 38 ---> UNUSED
PIN 40 (GPIO15) ---> Reverse toggle switch
PIN 44 ---> UNUSED
PIN 43 ---> UNUSED
PIN 12 <--- UNUSED
PIN 21 <--- UNUSED
PIN 22 <--- UNUSED
PIN 20 <--- UNUSED
PIN 19 <--- UNUSED
PIN 45 (RXD0) <--- iMotion Link RXD
PIN 46 (TXD0) ---> iMotion Link TXD
PIN 51 (P0.8) ---> SPI - SDI //gate driver SPI
PIN 52 (P0.9) ---> SPI - SDO //gate driver SPI
PIN 53 (P0.10) ---> SPI - SCLK //gate driver SPI
PIN 54 (P0.11) ---> SPI - CS //gate driver SPI
PIN 55 (P0.12) ---> Gate driver enable signal //gate driver
PIN 56 (P0.13) <--- Fault signal //from gate driver
PIN 57 (P0.14/SWDIO) ---> iMotion Link SWDIO
PIN 58 (P0.15/SWDCLK) <--- iMotion Link SWDCLK
PIN 48 ---> UNUSED
PIN 47 ---> UNUSED
PIN 3 (P2.0) <--- UART RXD
PIN 4 (P2.1) ---> UART TXD
PIN 5 (P2.2) <--- Potentiometer input for deceleration ramp control
PIN 6 (P2.6) <--- Potentiometer input for acceleration ramp control
PIN 7 (P2.8) <--- Potentiometer input dor speed control
PIN 8 (P2.10) <--- CAN RXD
PIN 9 (P2.11) ---> CAN TXD
PIN 59 (P4.0) <--- Phase A voltage sense //from H-bridge
PIN 60 (P4.1) <--- Phase B voltage sense //from H-bridge
PIN 61 (P4.2) <--- Phase C voltage sense //from H-bridge
PIN 62 (P4.3) <--- Encoder A input //from motor
PIN 63 (P4.4) <--- Encoder B input //from motor
PIN 64 (P4.5) <--- Encoder C input //from motor
PIN 1 (P4.6) ---> UNUSED
PIN 2 (P4.7) ---> UNUSED
PIN 41 (LED) ---> LED
PIN 13 (NTC/AIN4) ---> 10K NTC Thermistor
PIN 14 (PGOUT) ---> Speed output //will be monitored through CRO

 

 

0 Likes