Important: If you plan to attend Intro to Zephyr Day on Tuesday, June 7, pre-registration and session selection are required.
Please note that all session times are listed below in Pacific Daylight Time (PDT). To view the schedule at your preferred time, please choose your location on the right-hand navigation panel under “Timezone”.
Zephyr has many wonderful device interfaces, many of which boil down to wanting to read or write to a buffer. What is generally missing is a way to connect these device interfaces with a stream of buffers to read or write in a DMA friendly way. There is currently no hardware agnostic way to request that an ADC device read into a pair of provided ping pong buffers today. Hardware specific solutions must be used to connect an ADC with hardware specific DMA configurations. I would propose an API which would optionally enable DMA usage as desired. The API would provide a list of desired operations to be performed in conjunction with a device by a executor. The executor could be software driven or backed by DMA, and could understand the details of how to perform the requested operation in conjuction with the device.