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
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
Hello John Edwards,
Please download SDK, there is a Group GPIO input interrupt demo:
Download from:
https://mcuxpresso.nxp.com/en/select
Hope it helps,
BR
Alice
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
Hello John,
OK, you can refer to your requirement add code in GPIO interrupt function.
BR
Alice
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