I have gone through few pdfs for I2S protocol there are few ICs which works on I2S but either those ICs work for specially speakers only or some ICs detect either mic or speaker and works accordingly.
There are few ICs also which works on both mic and speaker but they uses 2 different I2S ports for communication. I have not found any IC which can use a select signal and use same port for mic and speaker. Only WM8976 IC had this feature of use select input for speaker or mic but this IC is obsolete and company is closed.
So guide us how can we proceed further achieve above requirement. Also guide us for CAN interfacing on hardware.