toggle quoted messageShow quoted text
Make it available and share the link with us. It will be enough for now.
"code dump" (+1)
On Thu, 13 Dec 2018 at 13:07 Stefan Jaritz <stefan@...
I took the tlv320dac310x audio codec driver as template. Done a
very specific driver for the tlv320aic3204 from TI. It is not
streamlined with the zephyr audio api. I can send it to you or put
it on my github repro.
Maybe it is worth thinking about adding a "code dump" place, were
people can share there code. This codes is may not fulfilling the
zephyr quality standards but can be a good starting point for
everyone who tries to create drivers etc.
On 12/12/2018 11:38, Rodrigo Peixoto
Stefan, Is that IC a sensor?
Do you need to use interrupt on it?
Good luck and let us know if you face any issue.
Em seg, 10 de dez de 2018 às 15:00, Stefan Jaritz
I am currently checking the documentation for a "How to do an
driver" and I did not find some tutorial.
Hopefully some guys can quickly tell me how to do it.
My hardware setup: custom stm32f412 board + IC connected via
B9 & B8)
I created an out of tree board and added at the dts file:
status = "ok";
clock-frequency = <I2C_BITRATE_FAST>;
I setup the pins in the pinmux.c with these two lines:
Think form this side the I2C should be rightfully configured.
Now I like to access the IC connected via I2C_1. How to do
How I link my code to the I2C_1 device, write the protocoll
and build an API around that?
Any ideas examples are welcome!
Co-founder and Technical guru
+55 (82) 98144-8585 http://ayna.tech
| Skype: rodrigopex