You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the function c5000_spi0_writereg in the md380tools allows you to write to the registers of the C5000 but the problem is that you can only give the register number and the data to be written (1 integer).But I'd like to create a custom voice LC frame. The c5000 documentation shows how to:
_Voice LC Header:
CPU 0x50 set to send the type 0x10, write 72bit LC data, write to send enable, the chip done CRC, BPTC, interleaved and framed in the next time slot to send, chip open voice coding, you can control the CPU to open voice coding. Receiving, on the other hand, gives the DataType, CC, PI, and 72bit LC data (or CRC check error) in the receive interrupt error)._
But with c5000_spi0_writereg in can do :
c5000_spi0_writereg (0x50,0x10) but how can i add the 72bit LC data ? The function doesn’t accept more data.
The system_hrc5000.c gives some examples :
_/* -- Reset FM registers to default --------------------------------*/
state=OS_ENTER_CRITICAL();
c5000_spi0_writereg(FM_SET_REGISTER, FM_DEFAULT);
c5000_spi0_readreg(FM_SET_REGISTER, hrc5000_reg);
OS_EXIT_CRITICAL(state);_
but nothing to add more data with the function. How can i add data to the function ?
The text was updated successfully, but these errors were encountered:
Hello Travis,
the function c5000_spi0_writereg in the md380tools allows you to write to the registers of the C5000 but the problem is that you can only give the register number and the data to be written (1 integer).But I'd like to create a custom voice LC frame. The c5000 documentation shows how to:
_Voice LC Header:
CPU 0x50 set to send the type 0x10, write 72bit LC data, write to send enable, the chip done CRC, BPTC, interleaved and framed in the next time slot to send, chip open voice coding, you can control the CPU to open voice coding. Receiving, on the other hand, gives the DataType, CC, PI, and 72bit LC data (or CRC check error) in the receive interrupt error)._
But with c5000_spi0_writereg in can do :
c5000_spi0_writereg (0x50,0x10) but how can i add the 72bit LC data ? The function doesn’t accept more data.
The system_hrc5000.c gives some examples :
_/* -- Reset FM registers to default --------------------------------*/
state=OS_ENTER_CRITICAL();
c5000_spi0_writereg(FM_SET_REGISTER, FM_DEFAULT);
c5000_spi0_readreg(FM_SET_REGISTER, hrc5000_reg);
OS_EXIT_CRITICAL(state);_
but nothing to add more data with the function. How can i add data to the function ?
The text was updated successfully, but these errors were encountered: