Hi all,
Trying to create variable period and variable duty cycle in s32k3 using simulink (MBDT)
While config. PWM I have selected mode as OPWFMB.
Received some error can't rectify it...
Attached sample images for reference...
Can any one kindly suggest me some solutions... if possible share some examples and reference documents.
Thanks & Regards
Kavin Raj M
Hi irina,
Thanks for the training videos.
we like to generate 2 PWM signals.
PWM1- 10Hz, 25% duty cycle
PWM2-1kHz, 94% dutycycle.
PWM2- need to generate ON condition of PWM1.
We need to get raising edge and falling edge of PWM1. without external input measurement.
Can you guides, how to measure internally generated PWM1 signals?
Thanks and Regards
Ganapathi
Hi, @Ganapathi_NASH_INDIA ,
Please refer to the following thread which addresses an application similar to the one you are trying to implement:
S32K44 - Interrupt based PWM generation
I hope it helps you.
Best regards,
Dragos
We tried support as mentioned they replied need to discuss in the Community only.
We required support in J1939, XCP,CCP communication via CAN
Similarly we required UDS flashing via MATLAB.
We have good number of Volumes on MCU next year. Need technical support from your side exclusive on MATLAB.
Thanks for unterstanding.
Regards
R.Ganapathi
The error you are encountering states that the reference to the EMIOS0_3_IRQ can't be found during the linking process. The EMIOS0_3_IRQ represents the Interrupt handler for the channels 8-11 of Emios instance 0, and it is defined only if EMIOS channels 8, 9, 10 or 11 are configured inside the PWM, ICU, GPT or OCU components.
As I can see from the attached screenshot, you have two PWM channels configured for instance EMIOS0. The one in the image is CH_2, and you have also an additional one, which I don't think is one from the ones mentioned above (8-11).
Hence, if those channels (8-11) are not configured, you would need to disable from the Platform component the Interrupt associated to these channels, and set its ISR to undefined_handler. Please see the screenshot below.
Let us know if this solved the issue.
For more details on PWM component configuration, I would also like to leave a reference to this article posted on our community https://community.nxp.com/t5/NXP-Model-Based-Design-Tools/Controlling-LED-intensity-with-ADC-and-PWM....
Thanks,
Irina
Able to understand for controlling the duty cycle... But in my requirement I need details to change period also dynamically.
Kindly give us some info on that
Thanks & Regards
Kavin Raj M
Please provide the configuration setting document for NXP MBDT to S32DS, below list we required configuration document.
1. ADC
2. PWM - change in frequency and change in Duty cycle
3. CAN
4. Baud rate variation settings
5. Status Flag for fault manger.
6. Bootloader software development
we required training for NXP MBDT and S32DS.
@Irina_Costachescu @Kavin_raj_mbd
Hello @Ganapathi_NASH_INDIA @Kavin_raj_mbd
Based on the topics you are interested in, I would like to point you to the following article series, that describes how to use the DIO, UART, FreeMASTER, ADC, PWM and CAN functionalities inside MBDT for S32K3. Each of the articles provides a detailed description of the necessary steps required to configure and use such peripherals/features, including also application examples that you could try for getting more familiar with the workflow MBDT proposes.
Moreover, please note, that inside our toolbox (latest version is MBDT for S32K3 v1.4.0), you can find various examples demonstrating the operating modes of all the peripherals we provide support for, and of all the functionalities our toolbox enables. You can find these examples, together with help files, and configuration projects, that you could use as starting points for your project development, inside the following path: <toolbox_root>/S32K3_Examples.
Besides this, on our MBDT Community, you have also access to various webinars and videos describing the workflow proposed by our toolbox for applications development. You might find those useful as well.
Furthermore, as you require support for multiple topics related on how to use NXP Software, we would kindly ask you if you could open a support ticket on nxp.com, from the Support Tickets tab.
I would also like to let you know that the majority of the MBDT Community answers are posted by our team of MBDT engineers, and we are providing this support on a best-effort basis, as we are mainly focused on the toolbox development tasks.
By submitting such a ticket, you could get support from teams specialized on such activities, on multiple topics that you are interested in, not only MBDT usage, which I think might help you and your team with the development activities associated to the project you are working on.
Hope this helps,
Irina