Any way to test your own code for f28335 in PSIM environment?

I understand that PSIM generates codes for f28335. What about the other way around. Does it
test your own code in for f28225 written in C++ in PSIM environment? Maybe to run a simple inverter?

In your PSIM circuit, you can use F2803x or F2833x hardware related elements, such as ADC and PWM modules, together with your code in a simplified c block. The simplified c block is the key part of the simulation.

With this simulation circuit, you can see how your code interfaces with the DSP hardware and the power circuit.

There are also further methods of using the main c block to fully emulate your processor with PSIM.

1 Like