12-04-2018, 11:11 AM
(12-04-2018, 08:58 AM)kgf Wrote: Hello,
There is actually a small test program on the pulp_rt_examples
https://github.com/pulp-platform/pulp-rt...periph/i2c
You probably want to clone the 'pulp-rt-examples', as explained in the README.md of pulpissimo
https://github.com/pulp-platform/pulp-rt-examples
That should give several examples for coding. Hope that helps,
KGF
I've already tried with the example in that repo, but it doesn't work as expected: the first write operation waits forever. I was trying to interpret the API provided by pulp-rt and tried to set an event, but then the wait operation is again waiting forever. Probably I need to program the UDMA or to manage interrupts, but I would need a working example to start.