The board was newly manufactured using S32K312.
To check if the board is operating normally, LEDs were connected to ports 4 and 5 of PortB and pins 8 of PortE (Pin 28,27,26).
I use Port_Example_S32K312 in Port S32K3XX Examples
I tried to check the operation of the LED, but an error occurred when I tried to build after changing the package (Q172 > Q100).
It's my first time using Design Studio and the S32K series, so I'm having a lot of difficulties.
Please help.
Please share a basic example of using peripheral.(How to: blinking LED example using S32DS)
S32K312-Q100
Debugger is using PE Micro.
Solved! Go to Solution.
Hi @JH_ZHANG,
I loaded the blink_LED.elf from your project.
Seems like the S32_HW_Init() function is optimized out.
I see in the register view that the pins do not have MSCR[OBE] set.
Regards,
Daniel
Hi ZHANG,
Initially, you wrote that you could not compile the project.
It seems you can compile it now, the project runs on the MCU but does not work properly, is it so?
Can you share the test project here?
Thank you,
Daniel
Hi @JH_ZHANG,
I loaded the blink_LED.elf from your project.
Seems like the S32_HW_Init() function is optimized out.
I see in the register view that the pins do not have MSCR[OBE] set.
Regards,
Daniel
The program was coded using the RTD Tool. In debug mode, the operation proceeds, but the LEDs do not work on the board. Is there anything else I need to configure?
The figure below is the actual code written.
Regards,
ZHANG
Hi @JH_ZHANG,
Did you regenerate the RTD code from the Configuration tool?
Does the Configuration tool report any errors?
Regards,
Daniel
Hi Daniel
yes, I regenerated the RTD code from configuration Tool.
no error.
and debug mode operating is OK.
but board is not working
pin set is below
and schematic is below
best regards,
Zhang