Thanks very much for your reply Alice!
I would like to understand what you are saying, exactly. To me it could be one of the following three options. Can you please clarify which one is correct?
1. Zephyr does not have drivers for a device that captures events like that
2. Zephyr does define drivers for such devices but there is as yet no driver for the N94x/N54x
3. Zephyr does define drivers and the N94x/N54x driver exists but there is no example to show how it should be used
tbh one of my reasons for starting this project was to learn Zephyr, so I am a newbie with that - but I know even less about the SDK
So presumably the next item on my reading list should be: Using MCUXpresso SDK drivers in a Zephyr application - NXP Community. It starts "NXP’s Hardware Abstraction Layer (HAL) is based on the MCUXpresso SDK drivers" - does that mean the Zephyr HAL?
Should I expect the SDK documentation to be complementary to the Zephyr documentation? I mean, in general, if I have a problem with an NXP driver in Zephyr, am I likely to find clarification of the Zephyr behaviour in SDK documentation?
For example, when I started trying out Zephyr, one problem I had was problems sending data with TCP/IP (the dumb_http_server example was able to send its response_small.html.bin file, but the driver printed an error when sending the response_big.html.bin file). I figured it out, setting CONFIG_ETH_NXP_ENET_QOS_TX_BUFFER_DESCRIPTORS to a larger number allowed it to work. But I couldn't find any documentation for CONFIG_ETH_NXP_ENET_QOS_TX_BUFFER_DESCRIPTORS in a Zephyr driver, to calculate what the best value would be that would handle any data I cared to send through the ethernet port. (Just picking values until the example worked is less satisfying!)
I assumed the SDK would do things differently from Zephyr, because they are different systems. When I want to know something about the Zephyr drivers, should I start my searches at https://mcuxpresso.nxp.com/api_doc BEFORE going to https://docs.zephyrproject.org/latest?