Good day all Got myself a TFmini and have been working to get this going on PH4-mini with I2C bus . the transfer should be in this form :
start | addr | write | ack | repeat start | addr | read | ack |stop . so without stop bit in the middle . i try to do the transfer with i2cMastertanssmissionTimeout() . but did not worked i dont know why. the problem is i should send { 0x01 , 0x02 , 0x07 } and get the answer in the same transfer without a stop bit in the middle . any suggstion ?
i2c chbios Pixhwak
- Giovanni
- Site Admin
- Posts: 14455
- Joined: Wed May 27, 2009 8:48 am
- Location: Salerno, Italy
- Has thanked: 1076 times
- Been thanked: 922 times
- Contact:
Re: i2c chbios Pixhwak
Hi,
Does the slave acknowledge the transmitted bytes?
If there is no acknowledge, make sure you pass the 7 bits of address aligned to right (without RW bit).
Giovanni
Does the slave acknowledge the transmitted bytes?
If there is no acknowledge, make sure you pass the 7 bits of address aligned to right (without RW bit).
Giovanni
- Edoardo1982
- Posts: 7
- Joined: Thu Aug 03, 2017 8:39 am
- Been thanked: 4 times
Re: i2c chbios Pixhwak
Hi,
I2C HAL supports combined transaction on I2C.
PH4-mini uses I2Cv2, i tested it on a STM32F0 and everything works fine.
Can you give more informations?
Edoardo
I2C HAL supports combined transaction on I2C.
PH4-mini uses I2Cv2, i tested it on a STM32F0 and everything works fine.
Can you give more informations?
Edoardo
Who is online
Users browsing this forum: No registered users and 8 guests