LPC55S69-EVK analog I/O Example

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

LPC55S69-EVK analog I/O Example

919 Views
jedwards1
Contributor II

Hello everyone,

Can anyone point me at an interrupt based Analog I/O example for the LPC55S69-EVK ?

I'm guessing that the source code for the default firmware would be ideal but I can't find it anywhere.

Thanks very much,

John

0 Kudos
5 Replies

839 Views
jedwards1
Contributor II

Google knows about this thread so I thought I should provide a solution for anyone else who is looking.

In the SDK examples you need to search for i2s, not analog.

This will give you the required example : "i2s_interrupt_record_playback.c"

This discussion on how to use it may help https://community.nxp.com/thread/534432 .

Best,

John

0 Kudos

839 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello John Edwards,

Please download SDK, there is a Group GPIO input interrupt demo:

pastedImage_1.png

Download from:

https://mcuxpresso.nxp.com/en/select 

pastedImage_2.png

Hope it helps,

BR

Alice

0 Kudos

839 Views
jedwards1
Contributor II

Thanks Alice, your quick response is much appreciated.

I was hoping for something that would allow me to process real-time analog I/O data, rather than a non real-time printf GPIO function.

I'll dig into the docs and see if I can work it out.

All the best,

John

0 Kudos

839 Views
Alice_Yang
NXP TechSupport
NXP TechSupport

Hello John,

OK, you can refer to your requirement add code in GPIO interrupt function.

BR

Alice

0 Kudos

839 Views
jedwards1
Contributor II

Thanks Alice,

The ADC and DAC need to be configured via i2c before I can do that.

Do you have any example code for the configuration ?

Best,

John

0 Kudos