TRAVEO™ T2G Forum Discussions
text.format{('custom.tabs.no.results')}
Hi 贵司的技术大牛,
想请教一下,如何开启/使用该芯片PLL 的展频功能?有什么详细的步骤或是相关case可以参考吗?
谢谢!
Gavin
Hi
I tested using CYT2B98, CYTVII-B-E-176-SO, and CYTVII-B-E-BB EVB.
A problem was discovered while testing ADC0 and ADC2 functions based on the SDL Adc Example code.
(SDL/tviibe2m/examples/adc/PhysicalChannel_to_DifferentLogicalChannel)
There are differences in ADC0 behavior depending on whether ADC2 is enabled or disable.
- ADC2 Disable: ADC0 conversion data normal.
- ADC2 Enable: ADC0 conversion data abnormal.
Details are below.
- The SDL adc example code reads the voltage from the ADC through a potentiometer and then turns on the LED according to the adc conversion data.
When ADC2 was enabled, the ADC0 conversion data was abnormal and the LED behavior was confirmed to be abnormal. - Currently, PERI_CLK of ADC0 and ADC2 is set to 13.3MHz (same as ADC Example)
I confirmed that the problem was resolved by lowering ADC0 PERI_CLK to 6.66MH.
(ADC0 conversion data is normal even if ADC2 is enabled)
Q1) Can the above problem occur, and are there any restrictions when using ADC0 and ADC2 together? It was confirmed that ADC2 operates normally regardless of whether ADC0 is activated, but only ADC0 appears to be affected by ADC2.
Q2) Are there any restrictions on PERI_CLK when using ADC0 and ADC2 together? (When using only ADC0, it operates normally even if PERI_CLK is set to 13.3MHz)
Additionally, I am attaching the code I tested.
Test method
1. Connect JP2.9 (P6.0: ADC[0]_0) of CYTVII-B-E-BB EVB to J89 (ADC_POT) Pin.1
2. USER_LED operates when controlling POT1 of CYTVII-B-E-BB EVB
Test code (It is almost the same as the SDL adc example)
1. Set ADC0, ADC2 peri clock
2. ADC0 Init
3. Perform ADC2 Init/DeInit operation every 5s in for loop.
(ADC0 peri clock change can be tested by modifying line 86.)
Thank you
Best & Regards
taegyunahn
Show LessWhile performing Deep sleep, before entering sleep Protocol error in arbitration layer detected bit in MTTCAN->IR register is reset, but after coming out of sleep this bit is set, what could be the possible issue in this case
Show Less
你好,我想确认一下,在CM4内核上是否可以执行SRAM中的一段Flash驱动程序?
我遇到一个现象是,当SRAM中的Flash操作相关(Write)的程序运行时,如果ROM中的程序(CAN或者1ms cycle Reload Timer)的中断处理发生,那么会产生Hard Fault。回溯Hard Fault发生的位置,发现像是在ROM中的中断处理函数里发生的Fault的样子。
即使调低ROM中的程序的中断优先级到7,也不好用。但是如果把ReloadTimer停掉,即关闭掉Timer的中断那SRAM中的程序就会好用,并且没有Hard Fault。
期待您的回答,谢谢!
Show LessI am having a problem connecting to the CYT2B75CAD (CYTVII-B-E-1M-SK Starter Kit board) using the SWD and JLink segger.
Here is the message displayed on the j-flash:
Can you help please?
Show LessHi
I'm using CYT4BF.
I had a problem while using SPI DMA, and I confirmed that it was working normally after disabling DCache.
And I was able to confirm that DCache was disabled in the SDL DMA Example.
(SDL_8.0.0/tviibh8m/examples/dma/pdma/dw_with_scb_uart/main_cm7_0.c)
Q1. What is the impact of using DCache when using DMA?
Q2. Could you please tell me in more detail why DCache needs to be Disabled when using DMA?
Q3. Does disabling DCache (or ICache) affect ITCM and DTCM?
(I think it will affect Flash and SRAM, but I don't think it will affect ITCM or DTCM.)
Best & regards
Thank you.
taegyunahn.
Show LessHi, We are getting the SPI status busy API "Driver_SPI.GetStatus(SpiDrvDSRC);"for infinite loop, while we are sending command. This is sporadic issue and we are not identifying the root cause of this issue. Please help to resolve this issue. Thanks
Show Less#TC39XB Description of the problem:
The section I set is a const type,
1. Set up a section, then add objects to this section,
#define XXX_INFO __attribute__ (used, protect)) __attribute__ (section (" info_table "))) const struct_info
Changes in the link script:
# if LCF_DEFAULT_HOST == LCF_CPU0
group (ordered, run_addr=mem:pfls0)
# endif
{
select " .text.fast.pfls.cpu0 ";
select " .text.slow.pfls.cpu0 ";
select " .text.5ms.pfls.cp0 ";
select " .text.10ms.pfls.cp0 ";
select " .text.callout.pfls.cpu0 ";
select " (.text|.text.*) ";
select " info_table ";
}
There are multiple object instances in the program, then _lc_ub_driver_table and _lc_ue_driver_table are used to obtain addresses;
As a result, these two quantities can only frame the range of the first member object;
2. If you modify the linked file, put the section in a separate group
# if LCF_DEFAULT_HOST == LCF_CPU0
group (ordered, run_addr=mem:pfls0)
# endif
{
select " driver_table ";
}
There are multiple object instances in the program, then _lc_gb_driver_table and _lc_ge_driver_table are used to obtain addresses; the range is normal at this point;
However, when there are multiple sections in my program, all stored according to this method, the contents of the sections will be interlaced, and the addresses may not be continuous, and they may be mixed with other parts of the code;
Questions:
1. Why isn't the section organized according to standard grammar? What about inconsistent performance in different situations?
2. Does it have anything to do with my storage in Flash?
3. Is there an introduction to the syntax of lsl link files?
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/TRAVEO-T2G/section%E4%B8%8D%E8%BF%9E%E7%BB%AD%E9%97%AE%E9%A2%98-ADS%E6%88%96%E8%80%85tasking%E8%BD%AF%E4%BB%B6/td-p/680108
Show Less