FRDM-MCXN947
-
Core
Cortex-M33
-
Device
MCXN947VDF -
CMSIS Pack
FRDM-MCXN947_BSP
-
ctimer_pwm_interrupt_example
Keil Studio AC6, GCC, IARThe Simple PWM Interrupt project is to demonstrate usage of the SDK CTimer driver as a PWM with interrupt callback functionsIn this example an IO pin connected to the LED is used as a PWM output line to generate a PWM signal.With an interrupt callback the PWM duty cycle is changed frequently in such a way that the LED brightness can be varied.
Download Pack -
ctimer_pwm_interrupt_example
Keil Studio, µVision AC6The Simple PWM Interrupt project is to demonstrate usage of the SDK CTimer driver as a PWM with interrupt callback functionsIn this example an IO pin connected to the LED is used as a PWM output line to generate a PWM signal.With an interrupt callback the PWM duty cycle is changed frequently in such a way that the LED brightness can be varied.
Download Pack -
dac14_basic
Keil Studio, µVision AC6The DAC14 basic example shows how to use the DAC module simply as the general DAC converter. No support is needed to be triggered by DAC in the example using the buffer mode. The value written into DAC data register will be directly pushed to analog conversion.
Download Pack -
dac14_basic
Keil Studio AC6, GCC, IARThe DAC14 basic example shows how to use the DAC module simply as the general DAC converter. No support is needed to be triggered by DAC in the example using the buffer mode. The value written into DAC data register will be directly pushed to analog conversion.
Download Pack -
dac14_interrupt
Keil Studio, µVision AC6The DAC14 interrupt example shows how to use the DAC FIFO interrupt. When the application starts to run, it will immediately enter the DAC ISR and write data into the FIFO which is empty at first. Once the DAC FIFO is triggered in the while loop, the data in it shall be read out; then the FIFO becomes empty again, and get another round of feed in the DAC ISR.
Download Pack -
dac14_interrupt
Keil Studio AC6, GCC, IARThe DAC14 interrupt example shows how to use the DAC FIFO interrupt. When the application starts to run, it will immediately enter the DAC ISR and write data into the FIFO which is empty at first. Once the DAC FIFO is triggered in the while loop, the data in it shall be read out; then the FIFO becomes empty again, and get another round of feed in the DAC ISR.
Download Pack -
dac_1_basic
Keil Studio, µVision AC6The dac_basic example shows how to use DAC module simply as the general DAC converter.When the DAC's buffer feature is not enabled, the first item of the buffer is used as the DAC output data register.The converter would always output the value of the first item. In this example, it gets the value from terminal,outputs the DAC output voltage through DAC output pin.
Download Pack -
dac_1_basic
Keil Studio AC6, GCC, IARThe dac_basic example shows how to use DAC module simply as the general DAC converter.When the DAC's buffer feature is not enabled, the first item of the buffer is used as the DAC output data register.The converter would always output the value of the first item. In this example, it gets the value from terminal,outputs the DAC output voltage through DAC output pin.
Download Pack -
dac_1_buffer_interrupt
Keil Studio AC6, GCC, IARThe dac_buffer_interrupt example shows how to use DAC FIFO interrupt.When the DAC FIFO empty interrupt is enabled firstly, the application would enter the DAC ISR immediately, since the FIFO is actually empty. Then the FIFO would be feed inside the ISR. Then the DAC interrupt could be restrained. Once the DAC FIFO is triggered in while loop, the data in FIFO is read out, then it becomes empty, so the FIFO would be feed again in DAC ISR. With this example, user can define the DAC output array to generate the different wave output. Also the software trigger can be called in some timer ISR so that the DAC would output the analog signal in indicated period. Or even use the hardware trigger to release the CPU.
Download Pack -
dac_1_buffer_interrupt
Keil Studio, µVision AC6The dac_buffer_interrupt example shows how to use DAC FIFO interrupt.When the DAC FIFO empty interrupt is enabled firstly, the application would enter the DAC ISR immediately, since the FIFO is actually empty. Then the FIFO would be feed inside the ISR. Then the DAC interrupt could be restrained. Once the DAC FIFO is triggered in while loop, the data in FIFO is read out, then it becomes empty, so the FIFO would be feed again in DAC ISR. With this example, user can define the DAC output array to generate the different wave output. Also the software trigger can be called in some timer ISR so that the DAC would output the analog signal in indicated period. Or even use the hardware trigger to release the CPU.
Download Pack