I am trying flashing the eval board using USB. But it fails with this error "No Cortex-M SW Device found" , not sure what is wrong here? or what setting has to be done?
Screenshot is attachedShow Less
The system has several SPI (slave) devices (LCD, Serial Flash etc, (FWIW: with different SPI clocks rates)
The TLE is using P0_1 (configured as an external interrupt) to function as a 'slave select' so that it can be individually addressed.
The system is working but I have noticed that the TLE occasionally seem to loose synch with the senders SPI clock (and just receives garbage (I have confirmed with an LA that the sender is sending correctly)
I have recently noticed that that TLE is detection an Baudrate Error (SSC2_CON.BE=1). As the clock is provided by the master I don't understand how/why the TLE slave can even detect a baud rate error?!
Despite this I am setting the baudrate (SSC2_RB = 39 ) corresponding to a 500KHz SPI clock.
This (possibly) improves things but not much . (FWIW, I have experimented with SPI clocks from 500KHz up to 4MHz with similar results (SSX_CON/BE =1) still occurs frequently (say 20-30% of the time).
Can someone provide more context around this Baudrate error (besides what is in the datasheets).
How is is intended to be used.
What happens to the SPi peripheral when this bit is set? It appears that often (but not always) 'garbage' (or 0xff) is received when BE is set.
How do I clear/reset the error?
What it the recommend way to drive the TLE as an SPI slave? (Any sample code would be very much appreciated)
As I said it works - but not 'well' (high comm error rate, unpredictable when it will glitch).
FWIW: The master talks to other (SPI) peripherals just fine.
I'm am running out of things to try - and advice would be very much appreciated.
Dear Infineon support team,
I am using TLE9842QX chip. Required example code for the EEPROM access. provide me the application note for
1. partition for EEPROM and FLASH
2. Pushing data to EEPROM
3. Fetching data from EEPROM
4. Clearing the EEPROM
Veeraju V Hallikeri
I'm hoping someone can help. I'm working with the TLE9869 Eval Kit, containing a TLE9869QXA20.
The datasheet specifies the memory map thus:
However, the project configuration for all the examples show this:
I'm wondering if the project settings are correct? They do not correspond with the datasheet. I'm experiencing extremely weird behaviour with my projects - they work fine, to a point, but adding additional static variables, doing additional calculations with doubles, etc., cause hard faults, and I have to strip them out to get things working again.
I've tried setting the memory areas as per the memory map in the data sheet (as much as I understand), but this causes other problems with flashing the device, and different types of crashes.
Further to this, if I set the memory settings as per the examples, I find that my variables are assigned to IRAM2 addresses, and they very quickly overflow beyond the boundary of this area (it being only 10 bytes).
Can someone advise please? I'm kind of stuck right now!
I try to add the example code of DMA_UART_TTY_EXAMPLE_TLE987X to my
After setting the DMA options:
the header dma_defines.h is correctly generated.
But I get following errors:
app\Main.c(69): error: #20: identifier "DMA_CH12_NoOfTrans" is undefined
char uart_tx_data[DMA_CH12_NoOfTrans] = "Hello World!\r\n";
app\Main.c(85): warning: #223-D: function "DMA_Master_En" declared implicitly
app\Main.c(187): warning: #223-D: function "DMA_Reset_Channel" declared implicitly
app\Main.c(187): error: #20: identifier "DMA_CH12" is undefined
-> dma_defines.h is not included.
and really there is no #define RTE_DEVICE_SDK_DMA in RTE_Components.h.
But I should not edit RTE_Components.h directly. How can I add
RTE_DEVICE_SDK_DMA, I can't find any setting in Keil uvison.
/* * Auto generated Run-Time-Environment Configuration File * *** Do not modify ! *** * * Project: 'my_controller' * Target: 'TLE9879_EvalKit' */ #ifndef RTE_COMPONENTS_H #define RTE_COMPONENTS_H /* * Define the Device Header File: */ #define CMSIS_device_header "tle987x.h" /* Infineon::Device:ConfigWizard_v2:2.1.12 */ #define CONFIGWIZARD 2 /* Infineon::Device:SDK:ADC1:0.2.8 */ #define RTE_DEVICE_SDK_ADC1 /* Infineon::Device:SDK:ADC2:0.2.5 */ #define RTE_DEVICE_SDK_ADC2 /* Infineon::Device:SDK:BDRV:0.4.8 */ #define RTE_DEVICE_SDK_BDRV /* Infineon::Device:SDK:BOOTROM:0.3.0 */ #define RTE_DEVICE_SDK_BROM /* Infineon::Device:SDK:CCU6:0.3.2 */ #define RTE_DEVICE_SDK_CCU6 /* Infineon::Device:SDK:CSA:0.1.7 */ #define RTE_DEVICE_SDK_CSA /* Infineon::Device:SDK:GPT12E:0.2.0 */ #define RTE_DEVICE_SDK_GPT12E /* Infineon::Device:SDK:INT:0.2.2 */ #define RTE_DEVICE_SDK_INT /* Infineon::Device:SDK:ISR:0.2.8 */ #define RTE_DEVICE_SDK_ISR /* Infineon::Device:SDK:LIN:0.1.9 */ #define RTE_DEVICE_SDK_LIN /* Infineon::Device:SDK:MON:0.1.6 */ #define RTE_DEVICE_SDK_MON /* Infineon::Device:SDK:PMU:0.2.0 */ #define RTE_DEVICE_SDK_PMU /* Infineon::Device:SDK:PORT:0.5.7 */ #define RTE_DEVICE_SDK_PORT /* Infineon::Device:SDK:SCU:0.5.4 */ #define RTE_DEVICE_SDK_SCU /* Infineon::Device:SDK:WDT1:0.3.2 */ #define RTE_DEVICE_SDK_WDT1 #endif /* RTE_COMPONENTS_H */
I am using TLE9845 for development, but found that when VS is lower than 4.9V, VDDC will drop to 0V and the chip will not work. But the Datasheet said "Single power supply from 3.0 V to 28 V". So how do I make the chip work at a voltage lower than 4.9VShow Less