DC-SHIELD_BTN7030 is an Arduino shield and hence there is an example Arduino software together with the User Guide available in the GitHub repository https://github.com/Infineon/BTN7030-...ld/tree/master
↧
[BTN7030-1EPA] Software
↧
XMC1100 Real Time Clock (RTC)
Reference Manual RTC, V3.2 - V1.3, 2016-08 page 11-16 and 11-17
"Days counter starts with value 0 for the first day of month." incorrect, should be writen as: Days counter starts with value 1 for the first day of month.
"Months counter starts with value 0 for the first month of year." incorrect, should be writen as : Months counter starts with value 1 for the first month of year.
Tested on XMC 2Go board.
"Days counter starts with value 0 for the first day of month." incorrect, should be writen as: Days counter starts with value 1 for the first day of month.
"Months counter starts with value 0 for the first month of year." incorrect, should be writen as : Months counter starts with value 1 for the first month of year.
Tested on XMC 2Go board.
↧
↧
manual PIN allocator not showing PIN !
I tried disable of Firewall and antivirus, It dint work.[Laptop used was 4GB RAM]
But when i tried using a laptop with 8GB RAM , its working.
Is there a dependency on RAM of the LAPTOP too?
But when i tried using a laptop with 8GB RAM , its working.
Is there a dependency on RAM of the LAPTOP too?
↧
Memtool to read-write a XC161CJ microcontroller's flash?
Also need to connect
“ Target presence detection. Connected to GND on target side. Pull-up and sensing on tool side”
“ Target presence detection. Connected to GND on target side. Pull-up and sensing on tool side”
↧
the problem of Distance2Go's UART about setting of the MSB/LSB
Dear, Vasanth.
I try to change the register using the function as below.
XMC_USIC_CH_SetShiftDirection(XMC_UART1_CH1, XMC_USIC_CH_SHIFT_DIRECTION_MSB_FIRST);
But, the UART_TX setting didn't change as MSB and the setting was set as the LSB when the data is transmit still.
please the information about solution in order to set the MSB.
as below, my program code for setting of UART communication.
p.s. I used Distance2Go board(XMC4200) and DAVE-4.4.2-64Bit
================================================== ==================
/*
* uart.c
*/
#include "uart.h"
#include "xmc_uart.h"
/* Initialization structure for both USIC0_CH0 and USIC0_CH1 channels */
XMC_UART_CH_CONFIG_t uart_config =
{
.data_bits = 8U,
.stop_bits = 1U,
.baudrate = 9600, //Baudrate
.parity_mode = XMC_USIC_CH_PARITY_MODE_EVEN
};
XMC_GPIO_CONFIG_t uart_tx =
{
.mode = XMC_GPIO_MODE_OUTPUT_PUSH_PULL_ALT2,
.output_level = XMC_GPIO_OUTPUT_LEVEL_LOW,
.output_strength = XMC_GPIO_OUTPUT_STRENGTH_WEAK
};
XMC_GPIO_CONFIG_t uart_rx =
{
.mode = XMC_GPIO_MODE_INPUT_TRISTATE
};
/* Transmit handling IRQ */
void USIC0_0_IRQHandler(void)
{
}
const uint8_t message[] = "Hello radar!!\n";
void uart_init()
{
XMC_UART_CH_Init(XMC_UART1_CH1, &uart_config);
XMC_UART_CH_Start(XMC_UART1_CH1);
XMC_GPIO_Init(UART_TX, &uart_tx);
// XMC_GPIO_Init(UART_RX, &uart_rx);
XMC_USIC_CH_Enable(XMC_UART1_CH1);
XMC_USIC_CH_SetShiftDirection(XMC_UART1_CH1, XMC_USIC_CH_SHIFT_DIRECTION_MSB_FIRST);
send_uart_data("Uart/n",sizeof("Uart/n"));
}
void send_uart_data(unsigned char *data, uint32_t length)
{
uint32_t index;
for (index = 0; index < length; index++)
{
XMC_UART_CH_Transmit(XMC_UART1_CH1, data[index]);
}
}
I try to change the register using the function as below.
XMC_USIC_CH_SetShiftDirection(XMC_UART1_CH1, XMC_USIC_CH_SHIFT_DIRECTION_MSB_FIRST);
But, the UART_TX setting didn't change as MSB and the setting was set as the LSB when the data is transmit still.
please the information about solution in order to set the MSB.
as below, my program code for setting of UART communication.
p.s. I used Distance2Go board(XMC4200) and DAVE-4.4.2-64Bit
================================================== ==================
/*
* uart.c
*/
#include "uart.h"
#include "xmc_uart.h"
/* Initialization structure for both USIC0_CH0 and USIC0_CH1 channels */
XMC_UART_CH_CONFIG_t uart_config =
{
.data_bits = 8U,
.stop_bits = 1U,
.baudrate = 9600, //Baudrate
.parity_mode = XMC_USIC_CH_PARITY_MODE_EVEN
};
XMC_GPIO_CONFIG_t uart_tx =
{
.mode = XMC_GPIO_MODE_OUTPUT_PUSH_PULL_ALT2,
.output_level = XMC_GPIO_OUTPUT_LEVEL_LOW,
.output_strength = XMC_GPIO_OUTPUT_STRENGTH_WEAK
};
XMC_GPIO_CONFIG_t uart_rx =
{
.mode = XMC_GPIO_MODE_INPUT_TRISTATE
};
/* Transmit handling IRQ */
void USIC0_0_IRQHandler(void)
{
}
const uint8_t message[] = "Hello radar!!\n";
void uart_init()
{
XMC_UART_CH_Init(XMC_UART1_CH1, &uart_config);
XMC_UART_CH_Start(XMC_UART1_CH1);
XMC_GPIO_Init(UART_TX, &uart_tx);
// XMC_GPIO_Init(UART_RX, &uart_rx);
XMC_USIC_CH_Enable(XMC_UART1_CH1);
XMC_USIC_CH_SetShiftDirection(XMC_UART1_CH1, XMC_USIC_CH_SHIFT_DIRECTION_MSB_FIRST);
send_uart_data("Uart/n",sizeof("Uart/n"));
}
void send_uart_data(unsigned char *data, uint32_t length)
{
uint32_t index;
for (index = 0; index < length; index++)
{
XMC_UART_CH_Transmit(XMC_UART1_CH1, data[index]);
}
}
↧
↧
Blinky Example for TC375 not building out of the box
Attachment 5687
Hi,
I am evaluating the TC375 and am trying to build the blinky example, Blinky_LED_1_KIT_TC375_LK, and am getting build errrors saying it cannot create SOMEDIR.
I searched the entire project and its configuration files and could not find the instruction to create a SOMEDIR\ directory. How can I resolve this issue?
I have attached the log file.
-Shantanu
Hi,
I am evaluating the TC375 and am trying to build the blinky example, Blinky_LED_1_KIT_TC375_LK, and am getting build errrors saying it cannot create SOMEDIR.
I searched the entire project and its configuration files and could not find the instruction to create a SOMEDIR\ directory. How can I resolve this issue?
I have attached the log file.
-Shantanu
↧
Flash and debug .hex file in Aurix Development Studio
Hi!
I'm using a TC38x MCU and I have been searching for a solution to flash and debug an already existing .hex file in Aurix Development Studio.
The MCU is connected to the PC via a MiniWiggler V3 DAP and I would like to load an external .hex file onto the MCU. I understand that I should create a debug/flash configuration in order to execute the flashing, but i did not find any way to import/add and external .hex file to the project.
Shall I modify the existing path where the IDE searches for the generated hex file after building? Because it's an external hex file it would be great if i did not need to build the whole project every time i would like to flash the binary file.
I appreciate every kind of related knowledge who has already done similar task.
Thank you for your response in advance.
I'm using a TC38x MCU and I have been searching for a solution to flash and debug an already existing .hex file in Aurix Development Studio.
The MCU is connected to the PC via a MiniWiggler V3 DAP and I would like to load an external .hex file onto the MCU. I understand that I should create a debug/flash configuration in order to execute the flashing, but i did not find any way to import/add and external .hex file to the project.
Shall I modify the existing path where the IDE searches for the generated hex file after building? Because it's an external hex file it would be great if i did not need to build the whole project every time i would like to flash the binary file.
I appreciate every kind of related knowledge who has already done similar task.
Thank you for your response in advance.
↧
ETH_LWIP basic ping response
Hey,
I am trying to implement the basic ping response example from the ETH_LWIP App with a XMC4800-F144x2048. Therefor, I try to implement the example (from the App Help --> Usage) with the ETH_LWIP App Version 4.1.18. I configured the IO pins for PHY interface linke the manual says.
When I debug the code, after I initiallized the ETH_LWIP App with the sys_check_timeouts() function an connected the COM_ETH to my computer using LAN cable, my computer can not find the IP-Adress by pinging the XMC. The Lan-Adapter is configured with a static IP. Why cant I reach my XMC?
Furthermore I have tried to implement the IOT_EXAMPLE_XMC47 (which actually is for the XMC4700-F144x2048). By generating and debugging this example, my computer can find the IP-adress of the XMC by pinging. ´
I have recognised, that there is a different version of the ETH_LWIP App used by this example project (Version 4.0.10). But I can not include this app version in my own project, which is designed for the XMC4800-F144x2048.
Does anybody know how I can fix this problem.
Thanks for your help :)
I am trying to implement the basic ping response example from the ETH_LWIP App with a XMC4800-F144x2048. Therefor, I try to implement the example (from the App Help --> Usage) with the ETH_LWIP App Version 4.1.18. I configured the IO pins for PHY interface linke the manual says.
When I debug the code, after I initiallized the ETH_LWIP App with the sys_check_timeouts() function an connected the COM_ETH to my computer using LAN cable, my computer can not find the IP-Adress by pinging the XMC. The Lan-Adapter is configured with a static IP. Why cant I reach my XMC?
Furthermore I have tried to implement the IOT_EXAMPLE_XMC47 (which actually is for the XMC4700-F144x2048). By generating and debugging this example, my computer can find the IP-adress of the XMC by pinging. ´
I have recognised, that there is a different version of the ETH_LWIP App used by this example project (Version 4.0.10). But I can not include this app version in my own project, which is designed for the XMC4800-F144x2048.
Does anybody know how I can fix this problem.
Thanks for your help :)
↧
Memory Allocation problem
Hi,
i am using Tasking Compiler V6,3 for the TC367 and i am trying to move my application to another memory location.
I read the manuals how to control the tasking linker via lsl-script, but all attempts to move my application to other address fails (ignored).
The code is always linked to the standard flash address.
To figure out, how it works i created a test application (hello world) with the eclipse IDE and try to manipulate the generated lsl-file.
This is my last try:
derivative my_tc36x extends tc36x
{
section_layout mpe:vtc:linear
{
group MY_CODE ( ordered, run_addr = 0x80001000 )
{
select ".text.*";
}
}
}
can somebody help me to figure out, why my main() is linked to the standard address 0x80000010 and not to 0x80001000 ???
My target goal is to link my application to any code-flash area or finally into the RAM area
i am using Tasking Compiler V6,3 for the TC367 and i am trying to move my application to another memory location.
I read the manuals how to control the tasking linker via lsl-script, but all attempts to move my application to other address fails (ignored).
The code is always linked to the standard flash address.
To figure out, how it works i created a test application (hello world) with the eclipse IDE and try to manipulate the generated lsl-file.
This is my last try:
derivative my_tc36x extends tc36x
{
section_layout mpe:vtc:linear
{
group MY_CODE ( ordered, run_addr = 0x80001000 )
{
select ".text.*";
}
}
}
can somebody help me to figure out, why my main() is linked to the standard address 0x80000010 and not to 0x80001000 ???
My target goal is to link my application to any code-flash area or finally into the RAM area
↧
↧
upgrade apps - After updating my project i still have the old versions of the apps
Hi ,
did someone updated his apps correctly ?
I used Apps upgrade. It generated me a new project with a migration report. It seems to be done correctly.
But if i check the APP properties I still have the "old" versions of the apps. Someone have same issue ??
Best regards,
Florian
did someone updated his apps correctly ?
I used Apps upgrade. It generated me a new project with a migration report. It seems to be done correctly.
But if i check the APP properties I still have the "old" versions of the apps. Someone have same issue ??
Best regards,
Florian
↧
XMC4500 sending values from ADC to USB
Hello everyone,
I am trying to acquire a voltage with my XMC4500 Relax Kit and then transmit the value through USB.
I am using the ADC_MEASUREMENT app activated every 1s by a TIMER app and it works fine. Then I have problems with the USB transmission.
I am using the USBD_VCOM app and I understand that the problem is the type of the value to be sent.
For example, if I try to send the character 'a' by writing
I properly see the character 'a' on my Putty terminal.
On the contrary I did non understand how to send numbers up to 4096. Although I think that only few lines of code are missing, I tried different already posted solution with no success.
Can you help me?
Emanuele
I am trying to acquire a voltage with my XMC4500 Relax Kit and then transmit the value through USB.
I am using the ADC_MEASUREMENT app activated every 1s by a TIMER app and it works fine. Then I have problems with the USB transmission.
I am using the USBD_VCOM app and I understand that the problem is the type of the value to be sent.
For example, if I try to send the character 'a' by writing
Code:
TxBuffer[0] = 'a'
On the contrary I did non understand how to send numbers up to 4096. Although I think that only few lines of code are missing, I tried different already posted solution with no success.
Can you help me?
Emanuele
Code:
#include <DAVE.h>
uint32_t event_count;
uint32_t result_Isignal;
uint32_t i = 0;
bool Isignalstatus = 0;
int8_t TxBuffer[64];
int main(void)
{
DAVE_STATUS_t status;
status = DAVE_Init();
if (status == DAVE_STATUS_FAILURE)
{
XMC_DEBUG(("DAVE Apps initialization failed with status %d\n", status));
while (1U)
{
}
}
if(USBD_VCOM_Connect() != USBD_VCOM_STATUS_SUCCESS)
{
return -1;
}
while(!USBD_VCOM_IsEnumDone());
ADC_MEASUREMENT_StartConversion(&ADC_MEASUREMENT_0);
while (1U)
{
if (Isignalstatus==1)
{
TxBuffer[0] = result_Isignal;
USBD_VCOM_SendByte(TxBuffer[0]);
CDC_Device_USBTask(&USBD_VCOM_cdc_interface);
Isignalstatus = 0;
}
}
return 1;
}
void Time_Interval_Event(void)
{
/* Acknowledge Period Match interrupt generated on TIMER_CCU_1 */
TIMER_ClearEvent(&TIMER_0);
ADC_MEASUREMENT_StartConversion(&ADC_MEASUREMENT_0);
}
/*End of measurements interrupt*/
void Adc_Measurement_Handler(void)
{
/*Read out conversion results*/
result_Isignal = ADC_MEASUREMENT_GetResult(&ADC_MEASUREMENT_Isignal_handle);
Isignalstatus = 1;
}
↧
The PingID for the Myinfineon account
I'm not 100% sure on this stuff, but I think you can enroll a new device here:
https://desktop.pingone.eu/cd-502863108.infineon
Or, try the support line:
support@infineon.com
https://desktop.pingone.eu/cd-502863108.infineon
Or, try the support line:
support@infineon.com
↧
Automotive Secure Gateway Schematic
↧
↧
Position2Go - C Communication library on Ubuntu
Hi everyone,
I am working with the demo board Position2Go. I have successfully used the C Communication Library provided by Infineon on my Windows machine to stream the data from the board to my PC.
Now I am trying to make it work on my Ubuntu 16.04 machine, however, I have encountered some difficulties. When I run the script 'extract_raw_data.c' (without compile errors) it looks like my machine is unable to open the device for communication.
In particular, the function 'open()' used in the file COMPort_Unix.c returns -1. In the same file, the variable 'port_name' contains the correct location and name of the device: "/dev/serial/by-id/usb-Infineon_IFX_CDC-if00".
I would like to add that I have not installed any Infineon related software or driver on my Ubuntu machine.
Has anyone encountered a similar problem? What advice can you give? Any help is appreciated. I can provide additional details if necessary.
Thank you very much in advance.
I am working with the demo board Position2Go. I have successfully used the C Communication Library provided by Infineon on my Windows machine to stream the data from the board to my PC.
Now I am trying to make it work on my Ubuntu 16.04 machine, however, I have encountered some difficulties. When I run the script 'extract_raw_data.c' (without compile errors) it looks like my machine is unable to open the device for communication.
In particular, the function 'open()' used in the file COMPort_Unix.c returns -1. In the same file, the variable 'port_name' contains the correct location and name of the device: "/dev/serial/by-id/usb-Infineon_IFX_CDC-if00".
I would like to add that I have not installed any Infineon related software or driver on my Ubuntu machine.
Has anyone encountered a similar problem? What advice can you give? Any help is appreciated. I can provide additional details if necessary.
Thank you very much in advance.
↧
DAVE 4 APP for RTX V2?
Is there any plan to add a DAVE 4 App for RTOS RTX V2? Or have I just not found it yet?
↧
spi clock pause before the last word
I don't think there is a workaround, because of the way the TC2xx QSPI peripheral works.
With CS_VIA_PERIPHERAL_ENGINE (i.e., QSPI internal handling of CS), to send 8 bytes, you have to send 7, set BACON.LAST, and then send the last word. The gap you're seeing is the delay in the CPU handling the interrupt.
You can get this to shrink to almost nothing if you use 3 DMA transaction sets instead of relying on the CPU, but even DMA can have a couple hundred nanoseconds of latency.
In TC3xx hardware, QSPI supports a new Move Counter mode that activates CS, sends <x> bytes, and then deactivates CS, without the little two-step shuffle that is necessary in TC2xx.
With CS_VIA_PERIPHERAL_ENGINE (i.e., QSPI internal handling of CS), to send 8 bytes, you have to send 7, set BACON.LAST, and then send the last word. The gap you're seeing is the delay in the CPU handling the interrupt.
You can get this to shrink to almost nothing if you use 3 DMA transaction sets instead of relying on the CPU, but even DMA can have a couple hundred nanoseconds of latency.
In TC3xx hardware, QSPI supports a new Move Counter mode that activates CS, sends <x> bytes, and then deactivates CS, without the little two-step shuffle that is necessary in TC2xx.
↧
Thermal performance of drive booster IC 1EBN1001AE
Hi!
For the booster IC, the datasheet currently has theta-jA and theta-jC values. Could you share psi-JT for junction to top of case? I need this to estimate worst-case jn. temperature based on our case temperature measurements.
Thanks.
For the booster IC, the datasheet currently has theta-jA and theta-jC values. Could you share psi-JT for junction to top of case? I need this to estimate worst-case jn. temperature based on our case temperature measurements.
Thanks.
↧
↧
Porting Ethernet Project with LwIP to TC377
Thanks a lot.
Meanwhile I am able to get always a link to Rtl8211. But very often sending of first message (dhcp_discover) after reset is not really working.
The function runs well, but no output of data (monitoring network with Wireshark).
Seems to be a timing or initializing issue of Rtl8211 or GETH/DMA.
If I try much times, it works. Then everything works fine for hours (without resetting the board).
In case of failing, DMA is copying the first message in TX Buffer and starts the transfer but nothing happens, but no data comes out.
So the SW runs in timeout.
Meanwhile I am able to get always a link to Rtl8211. But very often sending of first message (dhcp_discover) after reset is not really working.
The function runs well, but no output of data (monitoring network with Wireshark).
Seems to be a timing or initializing issue of Rtl8211 or GETH/DMA.
If I try much times, it works. Then everything works fine for hours (without resetting the board).
In case of failing, DMA is copying the first message in TX Buffer and starts the transfer but nothing happens, but no data comes out.
So the SW runs in timeout.
↧
Ethernet - SWR bit of DMA_MODE is set to 1 after Eth driver is initialized.
↧
[BTN8962TA] Rise and fall time with Spice / LTspice model
Hi,
the spice model for BTN8962TA has here limitations and changes in the SR resistor will nit show changes in slew rate. We will improve the model in a next revision.
BR Markus
the spice model for BTN8962TA has here limitations and changes in the SR resistor will nit show changes in slew rate. We will improve the model in a next revision.
BR Markus
↧