This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Hi Team,
I am using TAS2764 EVM for my work. I am using PPC3 for the device configuration and testing. While doing the same I have found that inside the Limiter headroom adjustment window there is a portion greyed out. It contains the adjustments for slope, inflection point etc. While going through the datasheet I have found that the LIM_SLOPE1-4 registers are used for slope adjustment. I found the calculation for slope as:
dec2hex{256*round [LIM_SLOPE*2^20]}
Could you please help me on how to execute this equation. If I am setting LIM_SLOPE as 0x12 how the calculation would be. My sample calculation is as follows:
dec2hex{256*round[18*2^20]} = dec2hex{256*round[18874368]} = 0x120000000. Is this right? Or for 1V/V slope how the LIM_SLOPE value can be calculated?
Also what is the different values of LIM_SLOPE 1 - 4? is it for different channels?
Also I have seen three graphs inside the console.
My sample calculation for the SDL threshold value for +2.5% headroom will be
SDL Threshold = (PVDD*97.5)-((PVDD*97.5)*99.25)/10000 = (16*97.5)-((16*97.5)*99.25)/10000 = 15.483
Is this right? And can we change the default 0.75 offset in headroom?
2. Thermal fold back graph
Is there is any equation to plot the graph ?
3. BOP graph
how the graph is plotted ? How the slider parameters are affecting the graph?
Also when I try to Power up the device using PPC3 after connecting to the device. It is writing to almost 300 register commands via i2c. Is all these commands necessary or is there is any simple initialization commands for the device.
Regards,
Vineeth
Hi Vineeth,
Regarding LIM_SLOPE, you should notice this is a 32-bit coefficient, based on this you cannot set such a high slope as 18 as you would need at least 33-bits. As an example, default value is 0x10000000 corresponding to 1V/V slope.
From PPC3, you can uncheck the "Limiter Dynamic Headroom Enable" to access the Threshold, Inflection and Slope. These are alternative modes, you can use either Dynamic or set each parameter individually.
LIM_SLOPE 1 - 4 are 4 registers of 8-bits each, all are used for slope configuration as this is a 32-bit coefficient.
Can you elaborate on you questions about SDL Threshold? I'm not clear on this one.
Similar equations are provided for thermal foldback parameters on TF_SLOPE, TF_TEMP_TH and TF_MAX_ATTN. Attenuation is applied logarithmically for listening purposes.
The main parameters on BOP are threshold and max attenuation. Threshold sets at which voltage (horizontal axis) the BOP triggers, and the vertical value to the left of that threshold is the max attenuation. It applies similarly for all 4 levels so you can have stepped attenuation depending on the VBAT level.
PPC3 may be writing to both devices on the EVM, the same settings for each one. You may use "Export All Registers" option from the main dialog on the top-left corner. It's still configuring all registers but should be less commands. Otherwise you'll have to check which registers can remain in default settings and remove from the sequence.
Best regards,
-Ivan Salazar
Applications Engineer
Hi Ivan,
Can you elaborate on you questions about SDL Threshold? I'm not clear on this one.
I wanted to know how to calculate the peak output from the graph for a specified headroom. It was also shown that there is an offset of 0.75% headroom added to dynamic headroom. I didn't got this point.
I really appreciate if you can help me with one other problem also. I wanted to test the IV sense feature of the TAS2764 using I2S without using PPC3. Is there is any sample code for that? Can I use the EVM and CCS to do the same. If I am using the USB connection mode instead of JTAG how can I write the code for the same. If you can provide me with some sample code it would be really helpful. Although I found one I2S.h file in TI archive still I don't know how to use it and I am using USB connection at the same time?
Regards,
Vineeth
Hi Vineeth,
I'll check about the 0.75% headroom and get back with some feedback next week.
What test do you need to do with IV sense? Are you trying to initialize TAS2764 so that it sends I and V sense data back through I2S, then record on the PC like if EVM was a sound card? Are you able to do this using PPC3 already but want to test this with a different controller other than the xMOS onboard?
You can write the initialization over I2C to the device using either PPC3, or any external controller connected to J28. If using an external controller, you can get the required register settings from "Export All Registers" as mentioned before, or you can use the I2C monitor on PPC3 to record all the settings you perform on the GUI (this option would create a larger command list).
Best regards,
-Ivan Salazar
Applications Engineer
Hi Ivan,
Thank you for your response.
My idea is to read the I2S data in a bare metal environment from the EVM.
Are you trying to initialize TAS2764 so that it sends I and V sense data back through I2S, then record on the PC like if EVM was a sound card?
Yes I want to initialize the TAS2764 so that it sends I and V data back through I2S. May be I can use PPC3 for initialization, but I want to read the I2S data from the board in a bare metal environment. If I want to do the same since the board is connected through USB which uses XMOS on board, I need to write code for both XMOS and I2S using TAS2764 right? As of now I don't have any sample code for either of this that's why I asked you for a sample code.
My another thought was I will write a code to both initialize (I2C) and read the data from the EVM via I2S. But Still the board is communicating through USB so, I don't know how to address the XMOS part.
Regards,
Vineeth
Hi Vineeth,
For testing purposes I would suggest to use J28 to connect bare metal I2S host, while using PPC3->USB->xMOS for I2C control. The procedure would be as follows:
The overall connection would be like this:
Best regards,
-Ivan Salazar
Applications Engineer
Hi Ivan,
Thank you for your response. I will try this. May I ask is there is any sample I2S code available ?
Regards,
Vineeth
Hi Vineeth,
I'll share an example setup/results later today or tomorrow morning.
Best regards,
-Ivan Salazar
Applications Engineer
Hi Vineeth,
Attached is a configuration script that enables IV-sense feedback, you can follow the same hardware setup I mentioned a couple comments above:
w 70 7f 00 w 70 00 00 w 70 00 00 w 70 01 00 w 70 02 00 w 70 03 28 w 70 04 21 w 70 05 41 w 70 06 00 w 70 07 20 w 70 08 09 w 70 09 02 w 70 0A 0a w 70 0B 80 w 70 0C 10 w 70 0D 03 w 70 0E 44 w 70 0F 40 w 70 10 04 w 70 11 05 w 70 12 06 w 70 13 08 w 70 14 0a w 70 15 00 w 70 16 12 w 70 17 0c w 70 18 00 w 70 19 0d w 70 1A 00 w 70 1B 22 w 70 1C 32 w 70 1D 40 w 70 1E 32 w 70 1F 02 w 70 20 06 w 70 21 2c w 70 22 00 w 70 23 30 w 70 24 02 w 70 25 06 w 70 26 32 w 70 27 00 w 70 28 30 w 70 29 02 w 70 2A 06 w 70 2B 38 w 70 2C 00 w 70 2D 30 w 70 2E 02 w 70 2F 06 w 70 30 3e w 70 31 00 w 70 32 30 w 70 33 ff w 70 34 c6 w 70 35 bd w 70 36 ad w 70 37 a8 w 70 38 03 w 70 39 ff w 70 3A ff w 70 3B fc w 70 3C be w 70 3D df w 70 40 f6 w 70 41 00 w 70 42 00 w 70 43 04 w 70 44 18 w 70 47 00 w 70 48 00 w 70 49 00 w 70 4A 02 w 70 4B 19 w 70 4F 00 w 70 50 00 w 70 51 00 w 70 52 1c w 70 53 d0 w 70 54 62 w 70 55 58 w 70 56 78 w 70 5C 19 w 70 5D 81 w 70 60 21 w 70 63 48 w 70 65 08 w 70 67 03 w 70 68 44 w 70 6A 12 w 70 6B 01 w 70 6C 00 w 70 6D 00 w 70 6E 1a w 70 6F 00 w 70 70 96 w 70 71 00 w 70 7D 30 w 70 7E 0a w 70 7F 00 w 70 7f 00 w 70 00 01 w 70 19 40 w 70 3D 00 w 70 3E 00 w 70 3F 00 w 70 40 00 w 70 41 00 w 70 42 00 w 70 43 00 w 70 44 00 w 70 45 00
Best regards,
-Ivan Salazar
Applications Engineer
Hi Ivan,
Thank you for your response and pardon me for my late reply. I was busy with some other work which was urgent. I will try this and get back to you. For now I will close this thread.
Regards,
Vineeth