I have installed the NXP 'Model-Based Design Toolbox for S32K1xx Automotive Microprocessors Family' which I am using with the NXP UCANS32K146 development board.
I am using the simple example 'gpio_s32k146' which toggles an LED and reads switch inputs etc
The build message shows that the model built and downloaded successfully, but the software does not seem to run because the LED does not toggle and the switches have no effect.
Why does this simple example code not seem to run on the development board ?
The configuration is setup as follows...
Message shows successful completion of build and download...
I imported the generated xml project into the S32 Design Studio for Arm IDE so I could break point and step.
I couldn't see anywhere in the code or project that sets the GPIO pins a digital inputs/outputs, could this be the problem ?
I believe the pin configuration is usually done using the Processor Expert in the IDE ?
解決済! 解決策の投稿を見る。
After further investigation, it is working
The blue LED could not be seen to flash because its an RGB LED and the red and green LEDs were also on.
So I set the red and green LEDs to off and now the blue LED can be seen flashing
After further investigation, it is working
The blue LED could not be seen to flash because its an RGB LED and the red and green LEDs were also on.
So I set the red and green LEDs to off and now the blue LED can be seen flashing