cancel
Showing results for 
Search instead for 
Did you mean: 

Current Sensing: MCW 6.3.2 issue when setting Internal PGA Gain for STSPIN32G4

PCama.1
Associate III

Hello,

I have a custom motor control board and have so far been using MCW 5.Y.4

This is my Amplifying Network using internal Op-amp gain of 4x and I just have external resistors R1, and R2. The resistors R4 and R5 are internal as you well know:

image11.jpgimage12.jpg

Now I am migrating to MCWB 6.3.2 and am starting configuration from Inverter Board EVLSPIN32G4-ACT as I had done before.

However, in Current Sensing, I noticed that:

1.) Channel W is connected to OPAMP2, but I believe that doesn't change anything since my board has same resistor network for all three op amps and I understand that channel V will be inferred from the two other channels

2.) Internal PGA Gain of 4 (600mV) is not an option, even though this MCU has that as an option and previous firmware allowed that as you can see form the screenshot. Is this just a bug in the system, and can I simply change it manually in the code? I designed our board based on a gain of 4 so I really need that to be the case.

3.) There are no inputs for the external network for gain offset, as I had before as you can see in one of the images above. However, since that is an analog input does that mean that it won't make a difference for the firmware as long as it is between 0 and 3.3V?

I like this MCWB a lot better. However, your earlier version seemed more explicit and clear about the Current Sensing network with a nice calculator and diagram.

Could you please let me know what to do, especially regarding points 2 and 3 above?

Thank you in advance,

Paulo

 

0 REPLIES 0