03-10-2021, 06:02 PM
Ok as I told here is my example project: https://gitlab.com/d_maurer/pulpissimo-i2c-example.git
The project only sends data over the I2C bus. A read function is not implemented yet but I will work on that later. Maybe I will also update the write function then.
Found the PULPissimo datasheet a little bit missleading cause I am not quite sure why there is a cmd buffer register in the I2C part. It seams like that this register is not really
needed. And also the uDMA clock configuration gate is not needed to send out data onto the I2C bus. Maybe someone can help me to understand that. Or maybe I will understand
if I am going to implement the receive function!? Maybe the cmd buffer is needed there?
But anyway, I was able to send data and for now I am ok with that.
Wish you all a nice evening.
The project only sends data over the I2C bus. A read function is not implemented yet but I will work on that later. Maybe I will also update the write function then.
Found the PULPissimo datasheet a little bit missleading cause I am not quite sure why there is a cmd buffer register in the I2C part. It seams like that this register is not really
needed. And also the uDMA clock configuration gate is not needed to send out data onto the I2C bus. Maybe someone can help me to understand that. Or maybe I will understand
if I am going to implement the receive function!? Maybe the cmd buffer is needed there?
But anyway, I was able to send data and for now I am ok with that.
Wish you all a nice evening.