S32K311 ADC module

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

S32K311 ADC module

Jump to solution
1,636 Views
piyush1
Contributor III

hello NXP supporters ....

i want ADC configuration project for NXP s32k311 100 pin package....please provide me example project for particular s32k311 mcu like simple ADC pin reading that can be show in debugging mode in live expression ..........please don't say we don't have particular example for s32k311 and refer this and that..... provide me project as i have time deadline...hope for positive support.

0 Kudos
Reply
1 Solution
1,597 Views
piyush1
Contributor III

thank you brother...it works...looking forward for more support from you guys so i can build more self confidence to work on NXP products.

View solution in original post

0 Kudos
Reply
6 Replies
1,621 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

see attached a port of ADC SW trigger example from https://community.nxp.com/t5/S32K-Knowledge-Base/RTD400-LLD-K344-ADC-SW-HW-trigger/ta-p/1966179
Ported to S32DS3.6 with RTD600. Example reads XS32K31XEVB-Q100's POT (ADC1 channel P7, PTA15) and display result on UART0

PetrS_0-1753881988651.png

Hope it helps.

BR, Petr

 

0 Kudos
Reply
1,591 Views
piyush1
Contributor III
but i don't understand one thing how printf function is transmitting data? don't we need to call Lpuart_Uart_Ip_SyncSend API for transmitting data to serial terminal?
0 Kudos
Reply
1,570 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

I reuse retarget.c/h files from original project. You need to modify them based on target used. The _write function is defined  which calls Lpuart_Uart_Ip_SyncSend.

_write function is called by bottom level of printf routine within C library.

BR, Petr

0 Kudos
Reply
1,568 Views
piyush1
Contributor III
ok got it...but rather than creating those retarget files and all, i can simply transfer data using UART API's in main source file?
0 Kudos
Reply
1,565 Views
PetrS
NXP TechSupport
NXP TechSupport

Hi,

yes, for sure.

BR, Petr

0 Kudos
Reply
1,598 Views
piyush1
Contributor III

thank you brother...it works...looking forward for more support from you guys so i can build more self confidence to work on NXP products.

0 Kudos
Reply