- F2806x and F28069M LaunchPad trigger the same configuration with different deafult settings.
- If your controlCard is using an F28069M (not F28069), make sure to select the correct processor under Hardware impementation > Target Hardware Resources > Build Options > Device Name. This is one change you have to do to run the following example: c28069pmsmfoc_ert.slx (https://www.mathworks.com/help/releases/R2018b/supportpkg/texasinstrumentsc2000/ug/permanent-magnet-synchronous-motor-field-oriented-control.html). You will have to make that change in the shipping example.
- In the shipping example, we also have specific GPIO sttings for the eCAP to work with Hall sensors, make sure to keep these untouched. Reselecting a different processor may reset these to default values.
- The rest will have good deafults for the kit that you are considering.
Which hardware board should I use for DRV8312?
2 views (last 30 days)
Show older comments
I am using DRV8312-69M-KIT with control card F2806x ISO control card Release 0.4 that contains processor F28069MPZT. For automatic code generation, which hardware board should I use when doing settings in Matlab -- > Configuration Parameters -- > Hardware Implementation. F2806x or F28069M LaunchPad?
0 Comments
Accepted Answer
Antonin
on 12 Apr 2019
Hi Karol,
For the F2806x ControlCard, the F2806x will have better default compared to the F28069M LaunchPad.
Things to keep in mind:
I hope it helps,
Thanks,
Antonin.
2 Comments
Antonin
on 12 Apr 2019
If using the F28069M processor, which I believe is the one you get with the kit, you should use the c28069M.cmd. This linker command file should be selected automatically if you pick the right processor in Target Hardware Resources > Build Options > Device Name and if you don't enbale the "Use custom linker command file" option.
TI has placed IQMath Tables in a different memory location on the F28069M compared to F28069. Picking the wrong version of the processor leads to IQMath functions using these tables (like triogonometric functions) to not work correctly.
I hope it helps,
Antonin.
More Answers (0)
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!