Hi. Tomas
I had a problem with EVB not being able to flash, so I spent a few days trying to fix it.
First, I solved the build error with the information you provided above. Thank you.
So I built the BLDC_6Step project and flashed it to EVB. Then I clicked on S32K_BLDC_Sensorless.pmp and ran MCAT. However, a FAULT occurs. What should I do?
note1.
- Even when I click the 'Clear Fault' icon, the fault does not disappear.
- Even if I click the 'ON/OFF' icon, it doesn't turn on.
note2.
I Placed DEVKIT-MOTORGD jumpers J9, J10, J11 to position 2-3 for BLDC application
[S32DS]

[MCAT]

Update1.
1. A fault occurred in the BLDC application, so I checked how the PMSM application works(I changed the positions of jumper J9, J10, and J11 of DEVKIT-MOTORGD to 1-2). As a result of checking, a FAULT occurs, and even when I click the 'Clear FAULT' icon, the FAULT does not disappear.
2. I supplied 12V to the EVB, but the voltage appears to be about 23V in the MCAT of the PMSM application. I don't know why.
[MCAT]

Update2.
I checked how the code is executed to see if a FAULT occurs, and the process is as follows. Can this problem of continuously occurring FAULTs be improved?
- Process : main() -> AppStateMachine[appState]() -> appState value changed from 'APP_INIT(0)' to 'APP_STOP(5)' -> faultcheck() -> 'MC34GD3000 MOSFET Pre-driver error' Code is executed, faultStatus.B.PreDriverError = 1 -> appState = 'APP_FAULT(6)'
1. main()

2. AppStateMachine[appState]()

3. appState value changed from 'APP_INIT(0)' to 'APP_STOP(5)'

4. 'MC34GD3000 MOSFET Pre-driver error' Code is executed, faultStatus.B.PreDriverError = 1

5. appState = 'APP_FAULT(6)'

Update3. (Same as Updated1)
I would like to share what I found regarding the problem where a FAULT occurs when I run the MCAT Tool by clicking on the .pmp file in the project.
- actual input voltage : 12V
- DC Bus Voltage displayed in MCAT Tool : 24V (It should be 12V, but it shows 24V)
[Voltage on MCAT and Multimeter]

[measured point]

Best regards,
trunie