MOTIX™ MCU Forum Discussions
Hello,
I would like to use the BLDC_SHIELD_TLE9879 with a raspberry pi instead of an arduino, should be straight forward given that the interface is just SPI.
arduino uses 5V logic. The BLDC_SHIELD_TLE9879 user manual does not comment on the logic level - does anyone know if the board is compatible with 3.3V logic?
Thanks,
Ralph.
Show Less
Hi again,
I'm working with a BLDC motor from Maxon and a BLDC_SHIELD_TLE9879 on an arduino uno. I found out that my motor only spins ccw and only if I give it a little push. The other way it gets stuck. I thought it might have something to do with the hall sensors (I tested them and they work properly). I have contacted the manufacturer of the motor and he confirmed that everything is connected properly, but the hall sensor output is probably different from what the board is expecting.
Here is an image of the output of the sensors. From what i've seen, hall sensor 2 and 3 are inverted from what the board is expecting and according to the manufacturer the phase 2-3 is also inverted. Now my question: How/where can I change it so that it works? Can I change it somewhere in the program so that the signals are inverted? Or another way to make it work?
Let me know if you need more information.
thank you!
Show LessHello,
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?
Controller: TLE9879QXA40
Screenshot is attached
Show LessI'm currently working with the TLE9854QXW and want to implement a small example in Keil uVision. For this I have performed these steps to install the SDK. Then I followed the instruction from here to create a new project and finally have taken over the settings for the config wizard from Document TLE985x Bridge Driver Getting Started.
Unfortunately after saving the settings, the config wizard does not produce all header files do I need. For example: I need for CCU6_T12_Str_En(); the "CCU6.h"- file but I get just ccu6_defines.h. Is there any way to generate all fies automatically or do I have to copy and paste the files manually? The finished sample project from Infineon works well.
Thanks for your help. Show Less
Hello!
I have my Arduino Uno set up to two BLDC_SHIELD_TLE9879s and have my motors with encoders connected to it. I'm trying to figure out a way to keep track of the position of the motors as they work together on a x and y axis. Is there a way to keep track of the position through the hall sensors? Or maybe a different way?
Please ask if you need more information and thanks for helping!
Show LessHello,
I am using a TLE9879 as a SPI SLAVE
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.
Regards
Ivan Vernot
//realtimedesigns.com.au
Show Less
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
Best Regards,
Veeraju V Hallikeri
Show Less
Hi All,
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!
Thanks,
Andrew
Show LessI try to add the example code of DMA_UART_TTY_EXAMPLE_TLE987X to my
project.
After setting the DMA options:
the header dma_defines.h is correctly generated.
But I get following errors:
compiling Main.c...
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
DMA_Master_En();
app\Main.c(187): warning: #223-D: function "DMA_Reset_Channel" declared implicitly
DMA_Reset_Channel(DMA_CH12, DMA_CH12_NoOfTrans);
app\Main.c(187): error: #20: identifier "DMA_CH12" is undefined
DMA_Reset_Channel(DMA_CH12, DMA_CH12_NoOfTrans);
-> 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.
Regards
Volker
My RTE_Components.h:
/*
* 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 */
Show Less
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.9V
Show Less