Featured Discussions
Hello!
I have the following code that is not working. After first call of readRegister response is 0, after calling readRegister the second time, I receive the expected value.
Can you please help? I must mention that my application is based on the Infineon SPI_CPU_TC334 training and I've also tried to change spiMasterChannelConfig.channelBasedCs but I still don't receive the expected behavior.
I've also attached the source code for QSPI.
Thank you!
/**********************************************************************************************************************
* \file Cpu0_Main.c
* \copyright Copyright (C) Infineon Technologies AG 2019
*
* Use of this file is subject to the terms of use agreed between (i) you or the company in which ordinary course of
* business you are acting and (ii) Infineon Technologies AG or its licensees. If and as long as no such terms of use
* are agreed, use of this file is subject to following:
*
* Boost Software License - Version 1.0 - August 17th, 2003
*
* Permission is hereby granted, free of charge, to any person or organization obtaining a copy of the software and
* accompanying documentation covered by this license (the "Software") to use, reproduce, display, distribute, execute,
* and transmit the Software, and to prepare derivative works of the Software, and to permit third-parties to whom the
* Software is furnished to do so, all subject to the following:
*
* The copyright notices in the Software and this entire statement, including the above license grant, this restriction
* and the following disclaimer, must be included in all copies of the Software, in whole or in part, and all
* derivative works of the Software, unless such copies or derivative works are solely in the form of
* machine-executable object code generated by a source language processor.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE
* WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE
* COPYRIGHT HOLDERS OR ANYONE DISTRIBUTING THE SOFTWARE BE LIABLE FOR ANY DAMAGES OR OTHER LIABILITY, WHETHER IN
* CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
* IN THE SOFTWARE.
*********************************************************************************************************************/
#include "Ifx_Types.h"
#include "IfxCpu.h"
#include "IfxScuWdt.h"
#include "QSPI_Config.h"
#include "Timers.h"
#define LED &MODULE_P00,5
IFX_ALIGN(4) IfxCpu_syncEvent g_cpuSyncEvent = 0;
volatile uint8 delay;
static unsigned char response = 0;
void core0_main(void)
{
IfxCpu_enableInterrupts();
/* !!WATCHDOG0 AND SAFETY WATCHDOG ARE DISABLED HERE!!
* Enable the watchdogs and service them periodically if it is required
*/
IfxScuWdt_disableCpuWatchdog(IfxScuWdt_getCpuWatchdogPassword());
IfxScuWdt_disableSafetyWatchdog(IfxScuWdt_getSafetyWatchdogPassword());
/* Wait for CPU sync event */
IfxCpu_emitEvent(&g_cpuSyncEvent);
IfxCpu_waitEvent(&g_cpuSyncEvent, 1);
//init1msTimer();
initQSPI2Master();
initQSPI2MasterChannel();
resetIMMU();
selfTestIMMU();
/*uint8 xGyro, yGyro, zGyro;*/
while(1)
{
response = readRegister(WHO_AM_I, 0x00);
// response = readRegister(WHO_AM_I, 0x00);
//readIMMUAxis(&xGyro, &yGyro, &zGyro);
}
}
Show Less
Hello,
As you can see in the attached document, “Bidirectional CLLC” is mentioned. I wonder that could you please send me the PLECS file OR could you please send me the document that shows how I can control CLLC when it is on the "forward and reverse mode conditions"?
Regards,
Mehmet
Show LessHello,
As you can see in the attached document, “Bidirectional CLLC” is mentioned. I wonder that could you please send me the PLECS file OR could you please send me the document that shows how I can control CLLC when it is on the "forward and reverse mode conditions"?
Regards,
Mehmet
Show LessDear Team,
I want to know the difference between DAP miniwiggler and XMC_LINK_SEGGER_V1.
你好,我之前看到一个帖子是关于SerialNumber的批量更改以及IMG文件的批量生成,我想询问一下这个windows批量更改文件应该如何使用?我点击之后它显示的是
(应用程序)
我执行上面的gen_images
返回的画面是:
不清楚其生成的img文件在哪,以及其应该如何使用。
>能否将详细步骤讲解一下呢?
>其中的readme也观看了,它说的是将exe文件后面加参数进行执行,那这个exe是通过windows终端进行打开吗?还是怎么操作才能让他打开的时候携带参数?
希望能够解答,谢谢
Show Less
Hi Experts ,
Can you check and advise the marking format in spansion NOR flashing products ? It refer to any lot code or something ??
MPN : S29GL128P10FFI010
Any PCN and changes in the products due to the infineon and spansion meger .
Pls advise and looking forward for your support.
Thank you
Regards
Manoj balakrishnan.
Show Less
We have EVAL_PS5401-25A Evalution board with us, we are using 4 switchers (A, B, C, D) and one LDO. We made configurations based on the schematic from the User Guide.
Switchers (A, B, C) working well, we are getting excepted output in GUI and even when we are measuring with the multimeter, but for Switcher D in GUI (PowIR Center Build tool) it's showing correct value but when we are measuring with multimeter, we are seeing difference in the output voltage.
Even we have checked the voltage by multimeter at feedback resistor (R43) there we are getting the half of the excepted output voltage, but at switcher port it's showing more voltage as attached in image.
Can you please let us know where we are going wrong or any hardware issue.
Thanks & Regards
Navin
Show Less在选取IRFB4321PBF和IRFP4568PBF的时候注意到一个问题,一个导通损耗高另一个开关损耗高,在选型的时候怎么样去做这种取舍呢
工程师你好!我的问题是这样的,我用你们的开发板CY943907AEVAL1F 可以下载程序,这个开发板上用了USB转JTAG芯片FT2232HQ-TRAY,我们的产品不需要这个芯片,我们想直接用JTAG下载工具连接到LBWA1UZ1GC上下载。现在在这个步骤遇到了困难,不知道开发软件需要怎么设置?请问有相关文档供参考吗?谢谢。
Show Less