Legacy microcontrollers Forum Discussions
Hi all,
Upon request from the customer, I requested the CY95F108AHWPMC1-GS-N2E1 datasheet on Mycase but received a reply to upload it to CDC.
Thank you for your help.
Regards,
Tony Kim
Hello everyone,
Please tell me the difference between MB90F342ESPMC-GE1 and CY90F342ASPMC-GE1.
Is it possible to replacement MB90340 series from MB90340E series on the current use PC-board ? If so, can we use the program as it is?
Thank you for your support.
Best regards,
Show LessHello,
I'm looking for the interrupt that's expected if I enable interrupts for single-bit errors in SRAM (SRCFG_INTE:SEC_INT_EN=1).
Which interrupt will be triggered?
Thanks,
Thomas
Show LessWe have using BMC to control reset of MCU. But BMC and MCU have difference main power.
So it cause a illegal reset level during power up.
We try to remove P3V3_A pull-up resistor (Figure 1) and P3V3_B pull-up resistor (Figure 2) get the difference result as attached waveform.
Does reset being left HI or left low during power up is OK?
Show LessI have pretty much learned the theoretical part of I2C communications but struggling with the implementations I've come across a GitHub project where they use GPIO library with some functions very hard to understand.
My question is why do we need GPIO to implement an I2C communication rather doing in the standard way, can we use GPIO with all microcontrollers like the 8051 and I want to know the meaning of the functions below.
If anyone could give me a push on this, I'd be very grateful. Thank you!
Here are the GPIO functions..
void Init_I2C_GPIO(void)
{
GPIO_DIS_OUTPUT(SCL);
PIN_PULLUP_EN(GPIO_PIN_REG(SCL));
GPIO_DIS_OUTPUT(SDA);
PIN_PULLUP_EN(GPIO_PIN_REG(SDA));
}
void SCL_0()
{
GPIO_OUTPUT_SET(SCL, 0);
PIN_PULLUP_DIS(GPIO_PIN_REG(SCL));
}
void SCL_1()
{
GPIO_OUTPUT_SET(SCL, 1);
PIN_PULLUP_EN(GPIO_PIN_REG(SCL));
}
void SDA_0()
{
GPIO_OUTPUT_SET(SDA, 0);
PIN_PULLUP_DIS(GPIO_PIN_REG(SDA));
}
void SDA_1()
{
GPIO_OUTPUT_SET(SDA, 1);
PIN_PULLUP_EN(GPIO_PIN_REG(SDA));
}
unsigned char SDA_R()
{
return GPIO_INPUT_GET(SDA);
//return 0;
}
I have a clue with middle 4 but at 5th SDA_R() and first Init_I2C_GPIO() not quite understandable.
Why not go the standard way like this:
void I2CInit()
{
SDA = 1;
SCL = 1;
}
void I2CStart()
{
SDA = 0;
SCL = 0;
}
void I2CRestart()
{
SDA = 1;
SCL = 1;
SDA = 0;
SCL = 0;
}
void I2CStop()
{
SCL = 0;
SDA = 0;
SCL = 1;
SDA = 1;
}
How can i translate SDA_R() to the standard way shown above? Show Less
Hello.
Softune FR Family IDE/Compiler: Is there any possibility to save compiler messages (Errors, Warnings, ...) in one file and use it in another tool?
Thank you!
Show LessWe are using the MCU - MB96F6B5RBPMC-GSE1 for an automobile application.
It is to be programmed using the USART1 interface.
Please let me know which serial programmer should be used.
We don't need a debugger.
Show LessHello,
I urgently need support for setting up Clock Supervisor, MPU, TPU and PPU for Traveo S6J311EHx.
Are there any examples or application notes available?
Thanks,
Thomas
Show Less