Not applicable
Jan 16, 2018
03:04 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 16, 2018
03:04 AM
Dear all,
In tle987 Eval Kit, I generate PWM using CCU6 and check the output in the Pins P0.x & P1.x and it functions Ok.
But when allow the PWM to connect with Bridge Drive(BRDV), I do not see any PWM at MOSFET gates.
For this, I have the following program where I wanted to check the PWM at GH1(High side MOSFET1) and it is not available but at Pin 0.4 it is available.
checking the GH1 with an oscilloscope
Screen shot in debug mode
please find the code here
https://drive.google.com/drive/u/1/folders/0B2_FEYC6LFZbcWxsMmVxakdvcms
Reg
sourav
In tle987 Eval Kit, I generate PWM using CCU6 and check the output in the Pins P0.x & P1.x and it functions Ok.
But when allow the PWM to connect with Bridge Drive(BRDV), I do not see any PWM at MOSFET gates.
For this, I have the following program where I wanted to check the PWM at GH1(High side MOSFET1) and it is not available but at Pin 0.4 it is available.
checking the GH1 with an oscilloscope
Screen shot in debug mode
please find the code here
https://drive.google.com/drive/u/1/folders/0B2_FEYC6LFZbcWxsMmVxakdvcms
Reg
sourav
- Tags:
- IFX
6 Replies
Jan 16, 2018
07:26 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 16, 2018
07:26 PM
Dear Litun,
to activate the Bridgedriver you have to enable the Chargepump and all driver stages have to be switched to PWM mode.
The Chargepump can be activated in the ConfigWizard:
Another option is to set the Register directly:
BDRV->CP_CTRL_STS.bit.CP_EN = 1u;
The driver stages can be switched to PWM mode, using the user API:
BDRV_Set_Bridge(Ch_PWM,Ch_PWM,Ch_PWM,Ch_PWM,Ch_PWM,Ch_PWM);
The CCU6 signals are assigned to dedicated driver stages.
CC60 is connected to GH1.
CC61 is connected to GH2.
CC62 is connected to GH3.
COUT60 is connected to GL1.
COUT61 is connected to GL2.
COUT62 is connected to GL3.
In the CCU6->MODCTR.bit.T12MODEN Bitfield, you can select which PWM Signal should be enabled.
If you want to use GH1 only, you should configurate the bitfield like:
CCU6->MODCTR.bit.T12MODEN = (0x1u & 0x3Fu); //6 BIT BITFIELD only CC60 activated
Best Regards,
M.K.
to activate the Bridgedriver you have to enable the Chargepump and all driver stages have to be switched to PWM mode.
The Chargepump can be activated in the ConfigWizard:
Another option is to set the Register directly:
BDRV->CP_CTRL_STS.bit.CP_EN = 1u;
The driver stages can be switched to PWM mode, using the user API:
BDRV_Set_Bridge(Ch_PWM,Ch_PWM,Ch_PWM,Ch_PWM,Ch_PWM,Ch_PWM);
The CCU6 signals are assigned to dedicated driver stages.
CC60 is connected to GH1.
CC61 is connected to GH2.
CC62 is connected to GH3.
COUT60 is connected to GL1.
COUT61 is connected to GL2.
COUT62 is connected to GL3.
In the CCU6->MODCTR.bit.T12MODEN Bitfield, you can select which PWM Signal should be enabled.
If you want to use GH1 only, you should configurate the bitfield like:
CCU6->MODCTR.bit.T12MODEN = (0x1u & 0x3Fu); //6 BIT BITFIELD only CC60 activated
Best Regards,
M.K.
Not applicable
Jan 17, 2018
01:10 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 17, 2018
01:10 AM
Dear M.K,
Thank you very much for your quick reply.
If you check the code in the link, I had enabled the charge pump.
But as you told again, I had checked the same with charge pump enabled, but I don't see any PWM at the gate of GH1.(And PWM is available pin P0.4 .)
Also I have made CCU6->MODCTR.bit.T12MODEN = (0x1u & 0x3Fu); //6 BIT BITFIELD only CC60 activated.
With this code, my intention is to check whether the Bridge Drive MOSFETs are functioning or not.
Also, I have checked on Pin no. 9 which is GH1 (TLE9879 VQFN-48 chip in on the Eval kit) and there is no signal is coming.
I suspect there is some internal pre-driver problem in the chip. Please confirm.
Please reply....
Thank you very much for your quick reply.
If you check the code in the link, I had enabled the charge pump.
But as you told again, I had checked the same with charge pump enabled, but I don't see any PWM at the gate of GH1.(And PWM is available pin P0.4 .)
Also I have made CCU6->MODCTR.bit.T12MODEN = (0x1u & 0x3Fu); //6 BIT BITFIELD only CC60 activated.
With this code, my intention is to check whether the Bridge Drive MOSFETs are functioning or not.
Also, I have checked on Pin no. 9 which is GH1 (TLE9879 VQFN-48 chip in on the Eval kit) and there is no signal is coming.
I suspect there is some internal pre-driver problem in the chip. Please confirm.
Please reply....
Jan 17, 2018
01:44 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 17, 2018
01:44 AM
Hi,
I cannot access your link. (Company Firewall)
Did you set the Driver to PWM Mode?
BDRV_Set_Bridge(Ch_PWM,Ch_PWM,Ch_PWM,Ch_PWM,Ch_PWM ,Ch_PWM);
Best Regards,
M.K.
I cannot access your link. (Company Firewall)
Did you set the Driver to PWM Mode?
BDRV_Set_Bridge(Ch_PWM,Ch_PWM,Ch_PWM,Ch_PWM,Ch_PWM ,Ch_PWM);
Best Regards,
M.K.
Not applicable
Jan 17, 2018
02:03 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 17, 2018
02:03 AM
Thanks again,
Yes, after setting the PWM, I enable the driver by BDRV_Set_Bridge(Ch_Off,Ch_PWM,Ch_Off,Ch_Off,Ch_Off ,Ch_Off);(Here just to check one MOSFET, GH1)
I have also checked with the complete driver on by BDRV_Set_Bridge(Ch_PWM,Ch_PWM,Ch_PWM,Ch_PWM,Ch_PWM ,Ch_PWM). But I do not see any PWM at the GATE terminals and so as on TLE9879 VQFN-48 chip respective legs.
I look forward to hearing from you.....Thanks
Reg
sourav
017627755601
Yes, after setting the PWM, I enable the driver by BDRV_Set_Bridge(Ch_Off,Ch_PWM,Ch_Off,Ch_Off,Ch_Off ,Ch_Off);(Here just to check one MOSFET, GH1)
I have also checked with the complete driver on by BDRV_Set_Bridge(Ch_PWM,Ch_PWM,Ch_PWM,Ch_PWM,Ch_PWM ,Ch_PWM). But I do not see any PWM at the GATE terminals and so as on TLE9879 VQFN-48 chip respective legs.
I look forward to hearing from you.....Thanks
Reg
sourav
017627755601
Attachments are accessible only for community members.
Jan 23, 2018
12:24 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 23, 2018
12:24 AM
Hi,
I created a small project, which generates a PWM Signal on GH1:
If your Hardware is fully functional the program generates a 20kHz, 50% dutycycle PWM Signal on GH1.
Here is a scopeshot, how it looks like:
Channel 1 (blue) : GH1 Signal
Channel 2 (red) : CC60 Signal at P0.4
If your Bridgedriver still does not work, your board is probably damaged.
Best Regards,
M.K.
I created a small project, which generates a PWM Signal on GH1:
If your Hardware is fully functional the program generates a 20kHz, 50% dutycycle PWM Signal on GH1.
Here is a scopeshot, how it looks like:
Channel 1 (blue) : GH1 Signal
Channel 2 (red) : CC60 Signal at P0.4
If your Bridgedriver still does not work, your board is probably damaged.
Best Regards,
M.K.
Not applicable
Jan 24, 2018
06:54 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Jan 24, 2018
06:54 AM
It is confirmed that my chip is damaged.
I do not know how it is possible because I was working on PWM communication program and then when I tried the program for bldc motor it was not moving.
By the way, it is very difficult to identify that chip has been damaged because it works for all other peripheral except Bridge Drive.
I do not know how it is possible because I was working on PWM communication program and then when I tried the program for bldc motor it was not moving.
By the way, it is very difficult to identify that chip has been damaged because it works for all other peripheral except Bridge Drive.