Hi,
Looking at the diagram, I2C0 is on the break out board and goes through the Camera cable.
However I2C1 is show on the circuit coming out of the FT900 but there is no other reference to it. The HMI-50C specifications say there are 2 I2C ports available. So how do I access the 2nd I2C, i.e. I2C1 and in the programming, how do I refer to the I2C1 instead of I2C0.
thank you.
I2C0 and I2C1 on FT90x on HMI-50C display
- stefan.filipovic
- mikroElektronika team
- Posts: 1135
- Joined: 18 Dec 2018 10:30
Re: I2C0 and I2C1 on FT90x on HMI-50C display
Hi,
Unfortunately, I2C1 pins are not derived to the camera nor main connector, so they do not exist on the breakout board so you cannot access them easily.
However, those pins are used for I2C Slave mode only, but there is no I2C Slave library in our FT90x compiler. The mikroC PRO for FT90x provides a library which supports the master I²C mode only.
Kind regards,
Unfortunately, I2C1 pins are not derived to the camera nor main connector, so they do not exist on the breakout board so you cannot access them easily.
However, those pins are used for I2C Slave mode only, but there is no I2C Slave library in our FT90x compiler. The mikroC PRO for FT90x provides a library which supports the master I²C mode only.
Kind regards,
Stefan Filipović
Re: I2C0 and I2C1 on FT90x on HMI-50C display
Hi Stephan,
Ok. Thank you.
Do you have this documentation anywhere? can I read up about the rest of the HMI-50 programming capability.
The reason is that the advertisement of 2xI2C on the HMI-50 product page is then misleading as one I2C is only a slave and not accessible from anywhere, and therefore cannot be used.
I would like to see what else is limited or missing so I don't spend time trying to find it.
Thank you.
Ok. Thank you.
Do you have this documentation anywhere? can I read up about the rest of the HMI-50 programming capability.
The reason is that the advertisement of 2xI2C on the HMI-50 product page is then misleading as one I2C is only a slave and not accessible from anywhere, and therefore cannot be used.
I would like to see what else is limited or missing so I don't spend time trying to find it.
Thank you.
Re: I2C0 and I2C1 on FT90x on HMI-50C display
Hi Stephan,
According to the FT900 datasheet the 2nd I2C, I2C1 can be master or slave.
According to the FT900 datasheet the 2nd I2C, I2C1 can be master or slave.
- stefan.filipovic
- mikroElektronika team
- Posts: 1135
- Joined: 18 Dec 2018 10:30
Re: I2C0 and I2C1 on FT90x on HMI-50C display
Hi,
I made a mistake in explanation, I wanted to say that according to the FT900 datasheet, I2C1 is by default configured to I2C1 Slave.
You may find these two blog arcticles useful:
https://www.mikroe.com/blog/mikromedia-hmi
https://www.mikroe.com/blog/mikromedia- ... y-purposes
Unfortunately, as I said before, I2C1 pins are not derived to main nor camera connectors so you do not have access to them through mikromedia HMI breakout board.
I apologize for the inconvenience caused by this.
Kind regards,
I made a mistake in explanation, I wanted to say that according to the FT900 datasheet, I2C1 is by default configured to I2C1 Slave.
You may find these two blog arcticles useful:
https://www.mikroe.com/blog/mikromedia-hmi
https://www.mikroe.com/blog/mikromedia- ... y-purposes
Unfortunately, as I said before, I2C1 pins are not derived to main nor camera connectors so you do not have access to them through mikromedia HMI breakout board.
I apologize for the inconvenience caused by this.
Kind regards,
Stefan Filipović
Re: I2C0 and I2C1 on FT90x on HMI-50C display
Hi Stephan,
Thank you for the quick reply.
I am not sure which blog you are referring to in the links. I did look at these pages which have some general information but nothing about one I2C being set to slave only.
Can you tell me how I access the 2nd I2C. I understand the break out board does not have it.
Thank you.
Thank you for the quick reply.
I am not sure which blog you are referring to in the links. I did look at these pages which have some general information but nothing about one I2C being set to slave only.
Can you tell me how I access the 2nd I2C. I understand the break out board does not have it.
Thank you.
- stefan.filipovic
- mikroElektronika team
- Posts: 1135
- Joined: 18 Dec 2018 10:30
Re: I2C0 and I2C1 on FT90x on HMI-50C display
Hi,
I was talking about pin description from the FT900 datasheet. Those pins are not derived to the accessible pins, so I'm afraid you cannot access them.
Kind regards,
I was talking about pin description from the FT900 datasheet. Those pins are not derived to the accessible pins, so I'm afraid you cannot access them.
Kind regards,
Stefan Filipović