Legacy microcontrollers Forum Discussions
Hi,
We decided to use MB9BF568MPMC-G-JNE2 controller for our new projects. As a start we are using Keil µVision IDE (MDK-Arm version 5.26).
I have already checked for example projects from keil but i couldn't get it. To start with new projects can we get some example projects for hardware drivers like SPI, CAN and UART.
Show Lessすでに’正解’とされているため、あらためてディスカッションを立ち上げました。
S6E2H14F0AGV20000 - θjc or ψjt
で回答をいただきましたが、データシートはもちろん確認したう上で、質問しています。
再度、教えてください。
教えていただきたいのは、θjaではなくて、θjc です。jc、cです。!
接合部からパッケージ上面までのTjとパッケージ表面温度(Tc)との間の熱抵抗θjcです。
または、Ψjtで、チップの接合部(Tj)とパッケージ上面の中心(Tt)との間の熱特性パラメータです。
本来、データシートに記載されていて然るべきものではないでしょうか?。
Show LessAbout Setting of MFT register(wfta/wftb:OCCP/TCCP)
We want to use MFT for PWM as below usages.
- Usages of MFT
It start from dead time of both channel.
First, I set MFT register(wfta/wftb:OCCP/TCCP) for deadtime.
next, It work for PWM of both channel.
I set MFT register(wfta/wftb:OCCP/TCCP) for expected pulse.
How much need cycle time for between each instruction (min or max)?
Do you have your recommendation or specification?
Show LessI think PZR needs to be set 1(open drain) when I uses I2C.
But, I2C poling example in PDL 2.0.2 seems not to set PZR.
How is PZR set correctly?
Show LessIn Adc_Init: SCIS01 and SCIS02 are 16bit registers. The uint8_t cast disables some channels.
Best Regards,
Simon Maurer
--- a/2.1.0/drivers/adc/adc.c 2017-12-22 17:29:24.000000000 +0100
+++ b/2.1.0/drivers/adc/adc.c 2019-01-25 13:49:19.501977384 +0100
@@ -467,9 +467,9 @@
if(NULL != pstcConfig->pstcScanInit)
{
// Set Scan Conversion Input Selection Register
- pstcAdc->SCIS01 = (uint8_t)(0x0000FFFFul & pstcConfig->pstcScanInit->u32ScanCannelSelect.u32AD_CHn);
+ pstcAdc->SCIS01 = (uint16_t)(0x0000FFFFul & pstcConfig->pstcScanInit->u32ScanCannelSelect.u32AD_CHn);
- pstcAdc->SCIS23 = (uint8_t)((0xFFFF0000ul & pstcConfig->pstcScanInit->u32ScanCannelSelect.u32AD_CHn) >> 16u);
+ pstcAdc->SCIS23 = (uint16_t)((0xFFFF0000ul & pstcConfig->pstcScanInit->u32ScanCannelSelect.u32AD_CHn) >> 16u);
// Conversion mode single, repeated
Show LessI can communicate with the QUAD-SPI FLASH N25Q03 using both standard SPI and Quad SPI on the U1C1.
So far so good.
I have then connected the N25Q03 to U2C1 on a XMC4500F144 using the below pinout:
P4.7 - Data0
P4.6 - Data1
P4.5 - Data2
P4.4 - Data3
P4.3 - CS
P4.2 - CLK
When using the Infineon XMC pin-out tool, it indicates that this setup is possible to use for Quad-SPI.
But when looking at the view for SPI Master in the pin-out tool there is no possibillity to use this setup.
The MOSI-pins are only available at P3.11 and P3.5 (DOUT0) for SPI Master, the other P4.x pins are fine.
Why is this the case ?
Cannot the U2C1 be used for Standard SPI (MOSI/MISO/CLK/CS) ?
I have rewritten the above example to use the U2C1 and tried to send data using Standard SPI but cannot get any data on my MOSI-pin. Show Less