Hi,
I am using TM4C123GH6PZ (Tiva C series Micro controller). Here I am using SMBus communication through I2C communication for my application and also I am using CAN communication.
If i use the following clock setting my SMBus communication is working fine and I can able to do write and read operation. its replying proper values. In this clock setting my CAN Bus is not working.
SysCtlClockSet(SYSCTL_SYSDIV_1 | SYSCTL_USE_OSC | SYSCTL_USE_PLL | SYSCTL_OSC_MAIN | SYSCTL_XTAL_8MHZ);
If i use the following clock setting my CAN bus communication is working and SMBus communication is happening but while reading data from peripheral IC, its giving zero values only. its not giving a proper data.
SysCtlClockSet(SYSCTL_SYSDIV_2_5 | SYSCTL_USE_OSC | SYSCTL_USE_PLL | SYSCTL_OSC_MAIN | SYSCTL_XTAL_8MHZ);
I want to use both communication simultaneously.
Plz give the solution for this clock issue.