Attachments are accessible only for community members.
Anonymous
Not applicable
Oct 21, 2014
03:13 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 21, 2014
03:13 AM
HW: 20737.
SW: SDK2.1
Problem: Use I2C driver API,
cfa_bsc_OpExtended(buffer, length, NULL, 0, slave_address,I2C_SLAVE_OPERATION_WRITE); |
where if the length > 16B, like length = 32B, from I2C monitor,
the write action will only take 16B into I2C bus.
Symptom:
I try to make a I2C write to one device component;
size = 33B
40 43 33 00 10 68 1C 6B 09 79 0C 80 00 C8 00 32 00 14 03 E8 01 00 C8 10 04 00 0A 10 5E FF CE FF CE
after calling I2C API,
the data is truncated into 2 section and plz see the attached snapshot.
Is any place to configure the I2C max. size?
Solved! Go to Solution.
Labels
- Labels:
-
Debug
-
I2C
-
MasterSlave
-
SDK 2.X
1 Solution
Anonymous
Not applicable
Oct 21, 2014
03:20 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Oct 21, 2014
03:20 AM
As datasheet of BCM20737 described, it has 16 bytes of buffer for each tx and rx.
To write data more than 16 bytes, we need to use separated data within 16bytes length.
3 Replies