Legacy microcontrollers Forum Discussions
Legacy microcontrollers
Dear Infineon Support TeamWe have plan to used XC2766 or XC2786, but I can not find XC2786 or XC2766 Dip file for DAVE2.How can I get the XC2786 or XC...
Show More
Dear Infineon Support Team
We have plan to used XC2766 or XC2786, but I can not find XC2786 or XC2766 Dip file for DAVE2.
How can I get the XC2786 or XC2766 Dip file or another method to used DAVE2 for XC2786 or XC2766?
Best Regard.
CHO Show Less
We have plan to used XC2766 or XC2786, but I can not find XC2786 or XC2766 Dip file for DAVE2.
How can I get the XC2786 or XC2766 Dip file or another method to used DAVE2 for XC2786 or XC2766?
Best Regard.
CHO Show Less
Legacy microcontrollers
I'm working with a customer who is planning to use our XC886 device for communication between several devices in a robotic assembly. One of the requi...
Show More
I'm working with a customer who is planning to use our XC886 device for communication between several devices in a robotic assembly. One of the requirements is CAN communication. I found a USCALE kit with example CAN software. I am trying to build and run the code to demo. I have imported the DAVE project into DAVE Bench and have built the code. I am getting the following error when I do this:
'Invoking: SDCC Linker'
"C:/DAVE-Bench-201\SDCC_XC800\bin\sdcc" --debug -mXC800 -pXC886_8FF --model-large --iram-size 0x100 -Wl -bBSEG=0x20 --xram-loc 0xF000 --xram-size 0x600 --code-loc 0x0000 --code-size 0x8000 --data-loc 0x00 --idata-loc 0x80 --stack-loc 0x80 -Wl -bPSEG=0xF000 -o "./USC_CAN.hex" "./CAN.rel" "./MAIN.rel" "./MemInitxc88x.rel" "./SHARED_INT.rel" "./UART.rel" "./startupxc886.rel"
ERROR: Undefined Global '__xc886_genRAMCLEAR' referenced by module 'MAIN'
make: *** [USC_CAN.hex] Error 1
I assume that I have a settings issue. Can you help me determine the problem?
Thank You! Show Less
'Invoking: SDCC Linker'
"C:/DAVE-Bench-201\SDCC_XC800\bin\sdcc" --debug -mXC800 -pXC886_8FF --model-large --iram-size 0x100 -Wl -bBSEG=0x20 --xram-loc 0xF000 --xram-size 0x600 --code-loc 0x0000 --code-size 0x8000 --data-loc 0x00 --idata-loc 0x80 --stack-loc 0x80 -Wl -bPSEG=0xF000 -o "./USC_CAN.hex" "./CAN.rel" "./MAIN.rel" "./MemInitxc88x.rel" "./SHARED_INT.rel" "./UART.rel" "./startupxc886.rel"
ERROR: Undefined Global '__xc886_genRAMCLEAR' referenced by module 'MAIN'
make: *** [USC_CAN.hex] Error 1
I assume that I have a settings issue. Can you help me determine the problem?
Thank You! Show Less
Legacy microcontrollers
I am a student in Nanjing University of Technology in China and I am using XC2797 to make a controller for excavator.Now I am studying entering Stopo...
Show More
I am a student in Nanjing University of Technology in China and I am using XC2797 to make a controller for excavator.Now I am studying entering Stopover or Standby Mode. I have used "ScuConfigTool.exe" and generated "Scu_Cfg.h". Together with "Scu.c" "Scu.h" "Test.c". But I fond a problem:my compiler is Keil, there is some words I can not understand.
In "Scu_Cfg.h", I have "#define SCU_COMPILER (SCU_COMPILER_KEIL)", but in"Scu.h",there are
#if(SCU_COMPILER != SCU_COMPILER_KEIL)
#if(SCU_STANDBY_USED || SCU_STOPOVER_USED)
****
/* type for wake-up timer configuration */
typedef struct
{
uint16 Interval; /* Timer interval, 0...65535 */
uint8 Autostop; /* Timer behavior on trigger:
* 0 = continue (Interval = period for wake-up events,
* only for base line or higher)
* 1 = stop (Interval = power-down time) */
uint8 Divider; /* Divider (written to CLKDIV), only for base line or higher
* 0...7, will be limited to SCU_CLKDIV_MAX */
} Scu_TimerType;
/* type for power-saving configuration */
typedef struct
{
uint8 Mode; /* power-saving mode:
* 0 = normal stop-over,
* 1 = stop-over with crystal on,
* 2 = normal standby,
* 3 = standby with FSM */
uint8 Channels; /* combination of WUT and ESR wake-up channels:
* Bit0 = WUT, Bit1...3 = ESR0...2, Bit 4 = STM */
Scu_TimerType Timer; /* WUT configuration, only relevant if timer is specified
* in Channels */
} Scu_PowerSavingCfgType;
****
#endif /* (SCU_STANDBY_USED || SCU_STOPOVER_USED) */
#endif /* (SCU_COMPILER != SCU_COMPILER_KEIL) */
And in "Scu.c",there are:
#if(SCU_STANDBY_USED || SCU_STOPOVER_USED)
static Scu_PowerSavingCfgType PowerSavingCfg;
#endif
When used "PowerSavingCfg", there will be waring and error such as:
power\Test.c(165): warning C34: 'PowerSavingCfg': missing declaration specifiers
power\Test.c(165): error C42: 'PowerSavingCfg': not in formal parameter list
*****
I want to know how to slove the problem??
My Email is 570953337@qq.com, please help me!Thank you very much! Show Less
In "Scu_Cfg.h", I have "#define SCU_COMPILER (SCU_COMPILER_KEIL)", but in"Scu.h",there are
#if(SCU_COMPILER != SCU_COMPILER_KEIL)
#if(SCU_STANDBY_USED || SCU_STOPOVER_USED)
****
/* type for wake-up timer configuration */
typedef struct
{
uint16 Interval; /* Timer interval, 0...65535 */
uint8 Autostop; /* Timer behavior on trigger:
* 0 = continue (Interval = period for wake-up events,
* only for base line or higher)
* 1 = stop (Interval = power-down time) */
uint8 Divider; /* Divider (written to CLKDIV), only for base line or higher
* 0...7, will be limited to SCU_CLKDIV_MAX */
} Scu_TimerType;
/* type for power-saving configuration */
typedef struct
{
uint8 Mode; /* power-saving mode:
* 0 = normal stop-over,
* 1 = stop-over with crystal on,
* 2 = normal standby,
* 3 = standby with FSM */
uint8 Channels; /* combination of WUT and ESR wake-up channels:
* Bit0 = WUT, Bit1...3 = ESR0...2, Bit 4 = STM */
Scu_TimerType Timer; /* WUT configuration, only relevant if timer is specified
* in Channels */
} Scu_PowerSavingCfgType;
****
#endif /* (SCU_STANDBY_USED || SCU_STOPOVER_USED) */
#endif /* (SCU_COMPILER != SCU_COMPILER_KEIL) */
And in "Scu.c",there are:
#if(SCU_STANDBY_USED || SCU_STOPOVER_USED)
static Scu_PowerSavingCfgType PowerSavingCfg;
#endif
When used "PowerSavingCfg", there will be waring and error such as:
power\Test.c(165): warning C34: 'PowerSavingCfg': missing declaration specifiers
power\Test.c(165): error C42: 'PowerSavingCfg': not in formal parameter list
*****
I want to know how to slove the problem??
My Email is 570953337@qq.com, please help me!Thank you very much! Show Less
Legacy microcontrollers
Hello,first of all, I have to say that I'm a total beginner in microcontrollers and thatI've never had any contact with them until I got XE167F Easy K...
Show More
Hello,
first of all, I have to say that I'm a total beginner in microcontrollers and that
I've never had any contact with them until I got XE167F Easy Kit.
So this is my starting point in learning about microcontrollers.
Also sorry for my English, I'm not a native English speaker.
I'm trying to connect XE167 to ETH Click Ethernet module using SPI. And I'm stuck at the very beginning.
The problem is, I can't get the SSC_vSendData function to work.
I used DAVE to configure USIC0 module.
Channel U0C0 is configured as ASC, channel U0C1 is configured as SSC.
I'm using port 10 pins as SPI lines.
Checked DAVE generated code and now I'm reading through the Infineon documentation and everything seems fine.
Well at least it all seems fine to me when I don't know exactly what I'm looking for.
I used oscilloscope to check the SPI lines.
When I run SendData function, there was no change SCK an MOSI lines as they stayed low.
But CS line went from 1 to 0 for 4,5 ms (although baud rate was set to 2,000 kbaud).
Also there is a tutorial on SPI communication with EEPROM.
Followed it step by step but it still didn't work.
Is there anything that I need to enable / disable before using SPI.
I tried different channels, changing settings in DAVE but I can't figure out why can't I get the clock on SCK line.
So what should I do?
Any help would be very much appreciated!
Best regards,
Jiminy Show Less
first of all, I have to say that I'm a total beginner in microcontrollers and that
I've never had any contact with them until I got XE167F Easy Kit.
So this is my starting point in learning about microcontrollers.
Also sorry for my English, I'm not a native English speaker.
I'm trying to connect XE167 to ETH Click Ethernet module using SPI. And I'm stuck at the very beginning.
The problem is, I can't get the SSC_vSendData function to work.
I used DAVE to configure USIC0 module.
Channel U0C0 is configured as ASC, channel U0C1 is configured as SSC.
I'm using port 10 pins as SPI lines.
Checked DAVE generated code and now I'm reading through the Infineon documentation and everything seems fine.
Well at least it all seems fine to me when I don't know exactly what I'm looking for.
I used oscilloscope to check the SPI lines.
When I run SendData function, there was no change SCK an MOSI lines as they stayed low.
But CS line went from 1 to 0 for 4,5 ms (although baud rate was set to 2,000 kbaud).
Also there is a tutorial on SPI communication with EEPROM.
Followed it step by step but it still didn't work.
Is there anything that I need to enable / disable before using SPI.
I tried different channels, changing settings in DAVE but I can't figure out why can't I get the clock on SCK line.
So what should I do?
Any help would be very much appreciated!
Best regards,
Jiminy Show Less
Legacy microcontrollers
Legacy microcontrollers
Hello,I´m trying to programm the flash memory of a XC2786 microprocessor situated on a board that has a JTAG connector. I have installed the last vers...
Show More
Hello,
I´m trying to programm the flash memory of a XC2786 microprocessor situated on a board that has a JTAG connector. I have installed the last version of DAS (downloaded from Infineon web). I have the DAP miniwiggler and a cable which connects board JTAG connector signals with miniwiggler JTAG connector signals.
UDAS server runs properly, but DAS Device Scanner doesn´t find the target. It says "No Device (DAS JDS miniwigglerJTAG/DAP/SPD v2)". I can see one green LED flashing in the miniwiggler that demonstrates miniwiggler is trying to connect to target board, and another green LED that shows the power supply of target. There is a third LED that I always see off.
If I press the botton "info" in DAS Device scanner program I can read the following information:
Device No Device connected
Device ID0 is 0x00000000
Device ID1 is 0x00000000
Valid Address Maps: None
Connected over DAS Server
Name: UDAS
Provider: Infineon
Release V3.3 (Mar 12 2013) based on
Server library V3.0 and DAS API V4.0
Host address "localhost" on port 61105
Process ID 3864
Server provides these ports:
DummyDevice 1 instances
JTAG 16 instances
Using Port JTAG 0, device select 255
Execution Frontend (ECF)
Name: UDAS JDS
Provider: Infineon
Release V1.1 (Mar 12 2013)
ECF Hardware
Name: DAS JDS miniWiggler JTAG/DAP/SPD V2
Provider: Infineon
Serial Number: MWWHC2FAA
Please, ¿any help? I have everything checked and it seems to be OK, but it´s clear that there is something wrong. Show Less
I´m trying to programm the flash memory of a XC2786 microprocessor situated on a board that has a JTAG connector. I have installed the last version of DAS (downloaded from Infineon web). I have the DAP miniwiggler and a cable which connects board JTAG connector signals with miniwiggler JTAG connector signals.
UDAS server runs properly, but DAS Device Scanner doesn´t find the target. It says "No Device (DAS JDS miniwigglerJTAG/DAP/SPD v2)". I can see one green LED flashing in the miniwiggler that demonstrates miniwiggler is trying to connect to target board, and another green LED that shows the power supply of target. There is a third LED that I always see off.
If I press the botton "info" in DAS Device scanner program I can read the following information:
Device No Device connected
Device ID0 is 0x00000000
Device ID1 is 0x00000000
Valid Address Maps: None
Connected over DAS Server
Name: UDAS
Provider: Infineon
Release V3.3 (Mar 12 2013) based on
Server library V3.0 and DAS API V4.0
Host address "localhost" on port 61105
Process ID 3864
Server provides these ports:
DummyDevice 1 instances
JTAG 16 instances
Using Port JTAG 0, device select 255
Execution Frontend (ECF)
Name: UDAS JDS
Provider: Infineon
Release V1.1 (Mar 12 2013)
ECF Hardware
Name: DAS JDS miniWiggler JTAG/DAP/SPD V2
Provider: Infineon
Serial Number: MWWHC2FAA
Please, ¿any help? I have everything checked and it seems to be OK, but it´s clear that there is something wrong. Show Less
Legacy microcontrollers
I need to wake up the mcu if on CAN Bus is present any type of traffic, so if the CAN Bus became active. I don't have find any application note, the o...
Show More
I need to wake up the mcu if on CAN Bus is present any type of traffic, so if the CAN Bus became active. I don't have find any application note, the only information I have found is:
21.3.2 Port Input Control
There is the possibility to select the input lines for the RXDCANx inputs for the CAN
nodes. The selected input is connected to the CAN node and is also available to wake
up the system.
on XE166N user manual. But is not clear what it means.
Can someone tell me if is possible to wake up mcu from CAN and if yes, how? Is there some settings for DAVE ? Is there some example code?
My MCU is XC2268N
Best regards
GIAN Show Less
21.3.2 Port Input Control
There is the possibility to select the input lines for the RXDCANx inputs for the CAN
nodes. The selected input is connected to the CAN node and is also available to wake
up the system.
on XE166N user manual. But is not clear what it means.
Can someone tell me if is possible to wake up mcu from CAN and if yes, how? Is there some settings for DAVE ? Is there some example code?
My MCU is XC2268N
Best regards
GIAN Show Less
Legacy microcontrollers
Hello, I have been asked to assess a customer's PCB design for the XC2787X. During this discussion, a question has arisen is regarding a recommendatio...
Show More
Hello,
I have been asked to assess a customer's PCB design for the XC2787X. During this discussion, a question has arisen is regarding a recommendation in the applicaiton note AP16116 titled "Design Guidelines for XC2000 & XE166 Microcontroller Board Layout.
This application note recommends the use of a 5~10uF inductor in the supply path at the regulator. In the PCB design, my customer is only able to place an 0603 inductor which is too small to handle all of the current from the regulator to the circuit on the 5V rail. It would be very difficult for them to place the inductor to supply the microcontroller only.
What is the main purpose of this inductor? Is it for conducted emissions or is it for immunity/susceptibility? If the inductor is for immunity/susceptibiility, what is the problem which this inductor addresses?
"Inductance/ferrite beads in the range L ~5-10µH should be inserted in the supply paths at the regulator output." - Page 7 of AP16116.
Regards,
Chris Show Less
I have been asked to assess a customer's PCB design for the XC2787X. During this discussion, a question has arisen is regarding a recommendation in the applicaiton note AP16116 titled "Design Guidelines for XC2000 & XE166 Microcontroller Board Layout.
This application note recommends the use of a 5~10uF inductor in the supply path at the regulator. In the PCB design, my customer is only able to place an 0603 inductor which is too small to handle all of the current from the regulator to the circuit on the 5V rail. It would be very difficult for them to place the inductor to supply the microcontroller only.
What is the main purpose of this inductor? Is it for conducted emissions or is it for immunity/susceptibility? If the inductor is for immunity/susceptibiility, what is the problem which this inductor addresses?
"Inductance/ferrite beads in the range L ~5-10µH should be inserted in the supply paths at the regulator output." - Page 7 of AP16116.
Regards,
Chris Show Less
Legacy microcontrollers
Hello, A few days ago i killed the xc878 from one of my easy kit xc800 board - after i changed the ic im not able to upload code to the board using th...
Show More
Hello,
A few days ago i killed the xc878 from one of my easy kit xc800 board - after i changed the ic im not able to upload code to the board using the usb to serial interface (some notes about the changed ic - on the board there is a SAF XC878 CM 16FFA but i didn't find the exact replacement instead i bought a SAX XC878 CLM 16FFA - from infineons sites it looks like it is the same ic but the SAX its automotive grade, couldn't find anything related to CM/CLM)
the ftdi on the board still works, i tested both the usb to uart and the usb to jtag(i used it to upload code with the debug option) but i can't use the fload application with the uart connection anymore
So my question - does the xc878 need some kind of bootloader or do i need to do something to get upload via uart working again ?
Any suggestion its appreciated,
Vlad Show Less
A few days ago i killed the xc878 from one of my easy kit xc800 board - after i changed the ic im not able to upload code to the board using the usb to serial interface (some notes about the changed ic - on the board there is a SAF XC878 CM 16FFA but i didn't find the exact replacement instead i bought a SAX XC878 CLM 16FFA - from infineons sites it looks like it is the same ic but the SAX its automotive grade, couldn't find anything related to CM/CLM)
the ftdi on the board still works, i tested both the usb to uart and the usb to jtag(i used it to upload code with the debug option) but i can't use the fload application with the uart connection anymore
So my question - does the xc878 need some kind of bootloader or do i need to do something to get upload via uart working again ?
Any suggestion its appreciated,
Vlad Show Less
Legacy microcontrollers
Hi..We are going to write the driver to program the internal Flash of XC232D from TMS controller via UART.I have some doubts before starting the drive...
Show More
Hi..
We are going to write the driver to program the internal Flash of XC232D from TMS controller via UART.I have some doubts before starting the driver.
1)Do we need follow the same sequence specified in the application note i.e BSL-->2nd BSL-->Minimon-->Flash Driver???
2) If possible can you please share the hex files of all the above.
Reagrds,
Silpa Show Less
We are going to write the driver to program the internal Flash of XC232D from TMS controller via UART.I have some doubts before starting the driver.
1)Do we need follow the same sequence specified in the application note i.e BSL-->2nd BSL-->Minimon-->Flash Driver???
2) If possible can you please share the hex files of all the above.
Reagrds,
Silpa Show Less