Jan 07, 2019
08:36 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 07, 2019
08:36 AM
We want to implement IIC on an existing design for which we have only specific pins available.
I am following the Datasheet Chapter 15.5.1.1 Signal Description ff.
We have the pins available as outlined in the picture and we want to implement a single master I2C. We do not allow clock stretching by a slave.
Following the specification ....
the pin assignment of module IIC A shows separate pins for the input and output signals for SDA and SCL.
This assignment can be used if the application does not provide pins having DOUT0 and a DX0 stage input for the same pin
(similar for SCLKOUT and DX1).
....
I should be able to set-up something like this:
SDA-IN:
USIC1_CH1.DX0D I P0.0
SDA-OUT
USIC1_CH1.DOUT0 O P0.1
SCL-OUT
USIC1_CH1.SCLKOUT O P1.8
SCL-IN
USIC1_CH1.DX1G I USIC1_CH1.SCLKOUT
I cannot select this pinning in DAVE.
When I generate some I2CMaster-code with Dave and another pinning which lines to I have to change to get to the pinning as outlined above?
Thx
I am following the Datasheet Chapter 15.5.1.1 Signal Description ff.
We have the pins available as outlined in the picture and we want to implement a single master I2C. We do not allow clock stretching by a slave.
Following the specification ....
the pin assignment of module IIC A shows separate pins for the input and output signals for SDA and SCL.
This assignment can be used if the application does not provide pins having DOUT0 and a DX0 stage input for the same pin
(similar for SCLKOUT and DX1).
....
I should be able to set-up something like this:
SDA-IN:
USIC1_CH1.DX0D I P0.0
SDA-OUT
USIC1_CH1.DOUT0 O P0.1
SCL-OUT
USIC1_CH1.SCLKOUT O P1.8
SCL-IN
USIC1_CH1.DX1G I USIC1_CH1.SCLKOUT
I cannot select this pinning in DAVE.
When I generate some I2CMaster-code with Dave and another pinning which lines to I have to change to get to the pinning as outlined above?
Thx
1 Reply
Jan 08, 2019
04:09 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 08, 2019
04:09 AM
Hi,
The I2C_MASTER APP does not allow this. You will need to use the I2C_CONFIG APP.
Regards,
Jesus
The I2C_MASTER APP does not allow this. You will need to use the I2C_CONFIG APP.
Regards,
Jesus