I am using delta sigma modulator for current measurements of automotive inverter and we want to transfer the current measurements on CAN-Bus.
To test this functionality, I am using AMC1304M25 with TMS320F28377S Launchpad to acquire current measurements and transfer them to PC over Can BUS respectively.
My SDFM settings are:
Clock: 10 MHz
Filter: Sinc3/ OSR_256/ Mode_0 (Modulator Data Rate= Modulator Clock Rate) / 16-Bit Data Output
Comparator: Sinc3/ OSR_32
SDFM Data Rate : 39 KSPS
CAN Bit Rate : 1 Mbps
The Problem seems to be following:
SDFM Interface is pretty faster than possible CAN transmission rate of messages and therefore, out of 1024 Samples acquired with Sigma Delta Modulator, I am getting only 340 CAN messages. 1 CAN message contains one sigma delta Sample point.
I also tried transmitting 4 Samples (8 Bytes Data) per CAN Message but still I could not synchrnoise all acquired samples to be sent over CAN successfully. In one way or another I appear to lose many samples acquired from delta sigma interface and can not figure it out to be able to transmit them all successfully without losing any data.
Is there any solution for this ?
I am very looking forward to have some suggestions. Thanks alot.