Example S32K344 PIT BTCU parallel ADC FIFO DMA DS3.5 RTD300

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Example S32K344 PIT BTCU parallel ADC FIFO DMA DS3.5 RTD300

Example S32K344 PIT BTCU parallel ADC FIFO DMA DS3.5 RTD300

*******************************************************************************

 The purpose of this demo application is to present a usage of the
 ADC_SAR and BCTU IP Driver for the S32K3xx MCU.

 The example uses the PIT0 trigger to trigger BCTU conversion list to
 perform parallel conversions on ADC0/ADC1. Three ADC channels
 are selected to be converted on each ADC:
 ADC0: S8 , P0, S8
 ADC1: S10, S13, S17
 Converted results from BCTU FIFO are moved by DMA into result array.

 ADC channel S10 is connected to board's potentiometer, and converted value is
 used to dim board's LED.


 ------------------------------------------------------------------------------
* Test HW: S32K3X4EVB-Q172
* MCU: S32K344
* Compiler: S32DS3.5
* SDK release: RTD 3.0.0
* Debugger: Lauterbach
* Target: internal_FLASH
********************************************************************************

Attachments
Comments

Thank you for this example. But how do you decide what should be the watermark value?


Hi @PetrS ,

 

Is there a way to use DMA without Autosar (without enabling RM CDD)?

No ratings
Version history
Last update:
‎10-02-2023 12:11 AM
Updated by: