S32M Knowledge Base

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

S32M Knowledge Base

Discussions

Sort by:
This article is applicable to all motor control application SWs as described in the following article. S32M2xx - Motor control use cases - NXP Community It has been found that on some of S32M24xEVBs an overheating of the power MOSFETs may occur. This will be addressed in the new release of the Motor control example SW and will be carried out in Motor control example SW for S32M24xEVB, S32M27xEVB and S32M276SFFRD. As a solution in the current release, the following settings are recommended. Extend deadtime: For S32M24xEVB, for FTM3, set Dead Time to 50 (corresponds to 625 nanoseconds): JoJa_3-1763040265098.png   For S32M27xEVB and S32M276SFFRD, for LCU outputs channels 0 - 5, set LUT rise filter to 75 (corresponds to 625 nanoseconds): JoJa_0-1763039392742.png Set faster slew rates: Common for all EVBs: JoJa_2-1763040220621.png  
View full article
This article concerns the motor control examples for S32M2 and it is recommended to apply the following procedure to all SW examples mentioned in this article, S32M2xx - Motor control use cases, provided they are used with AMMCLIB release 1.1.44 (or later, future version). This procedure concerns S32M2 motor control examples installed by the installer version 1.2 (or earlier) and will be fixed in the next S32M2 motor control example installer release. Since AMMCLIB release 1.1.44 uses a slightly different compiler settings compared to the previous version, it is necessary to adjust the settings of the motor control example SW for optimal performance as follows: JoJa_0-1781701257620.png   Right-click on project and choose properties Navigate to C/C++ Build, choose Settings Navigate to Standard S32DS C Linker -> Miscellaneous and add the following to Linker flags field: -fno-lto Apply and close Rebuild the project with these settings Alternatively, you can use AMMCLIB release 1.1.43 (or earlier) without the above-mentioned procedure.
View full article
**************************************************************************************************** * Detailed Description: * This example demonstrates how to trigger DPGA (Digital Programmable Gain Amplifier) fault * detection using the Voltage Monitor Self-Test. * The interrupt notification mode is selected at compile time (exactly one macro must be 1): * - NMI_EN = 1 (default): AEC fault events are reported via the NMI interrupt line. * The Platform driver routes PORTD_IRQn to AEC_NMI_IRQHandler. * - PORTD_EN = 1: AEC fault events are reported via PTD3 external interrupt using * the ICU driver. * * Two RTD configuration files are provided for the respective modes: * - Example_DPGA_selftest_NMI.mex (use when NMI_EN = 1) * - Example_DPGA_selftest_PortD.mex (use when PORTD_EN = 1) * When switching between modes, the RTD configuration must be regenerated from the * corresponding .MEX file using the configuration tool. Driver configuration files that * are no longer needed should be removed from the project after regeneration. * * Note: There is a known bug in the RTD. When the Platform MCAL driver is generated from * Example_DPGA_selftest_NMI.mex, INT_CTRL_IP_STANDALONE_APIS must be manually set to STD_ON. * ------------------------------------------------------------------------------------------------ * MCU: FRDM-A-S32M244 * Fsys: 80 MHz PLL with 16 MHz crystal reference * Debugger: Lauterbach Trace32, S32DS IDE 3.6.7 * Target: internal_FLASH ****************************************************************************************************
View full article
S32M2xx   S32M2xx - Motor control use cases - NXP Community   S32M2xx - MOSFET switching adjustment for Motor control examples  Using S32M2 motor control examples with AMMCLIB 1.1.44 - optimal performance settings    S32M24x   S32M24x/S32K14x -> FTM: Edge-align PWM (EPWM) mode S32M24x/S32K14x -> FTM: Center-Aligned PWM (CPWM) mode  S32M24x/S32K14x -> FTM: Modified Combine mode for Phase Shift  S32M24x/S32K14x -> FTM: PWM Modulation Implementation  S32M24x/S32K14x -> Global time base  FlexTimer Module (FTM) Usage on S32M24x and S32K14x Series  S32M244 - FOC with single shunt current measurement  S32M244 - Hall sensor based 6-step BLDC motor control  S32M244 - Sensorless 6-step BLDC motor control  S32M24x/S32K14x -> FTM: Complementary mode and dead-time insertion  [RTD200P04 MCAL] S32M244 PWM PDB ADC MCAL demo  [S32M244 RTD200P04 LLD]S32M244 PWM PDB ADC LLD demo  S32M24x/S32K1 – FTM/TRGMUX/PDB/ADC – [RTD300]  Example_S32M244_DPGA_AEC_Fault_v1_0_S32DS367_RTD300QLP06    S32M27x   S32M276 - Sensorless 6-step BLDC motor control S32M276 - Hall sensor based 6-step BLDC motor control  S32M276 - FOC with single shunt current measurement  S32M27x/S32K3 – eMIOS Usage  S32M27x/S32K3 – eMIOS/TRGMUX/LCU – [RTD600]   S32M27x/S32K3 – eMIOS/BTCU/ADC/DMA – [RTD600]       
View full article