How do i transmit the data of DAC through CAN using F28379D
2 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
I want to transmit the output of the DAC through CAN to another F28379D board. I realised that the CAN transmit/receive can be done only in digital format. since the output of DAC is analog I cannot transmit it through CAN. To do my task I want to extract the data from the F28379D before it is being converted to analog singal and communicate through CAN to another board. Can you help help me how to access the DACVAL registers in the F28379D and extract that data using matlab simulink so that i can communicate with other boards.
0 comentarios
Respuestas (1)
Sumukh
el 7 de Oct. de 2024
Hi saandeep,
I am assuming that you want to transmit digital data via CAN from one board to another board of type F28379D. This functionality is currently not supported in the "C2000 Microcontroller Blockset".
The DAC output cannot be used when transmitting through CAN. However, a possible workaround is as follows: the DAC output of one board can be converted back to digital using the ADC peripheral on the same board and stored in MATLAB. You can refer to the following documentation to know more about how to configure the ADC peripheral to get the analog data of DAC and convert it to digital form:
This digital data can then be passed to another board using “CAN Transmit” block through the Simulink model itself. You can refer to the following documentation to learn more about how to transmit data to the board using “CAN Transmit” block:
I hope this helps resolve the query.
0 comentarios
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!