Legacy microcontrollers Forum Discussions
text.format{('custom.tabs.no.results')}
Hello:
I would like to ask why the IRS2795 used in my LLC switching power supply automatically stops working after running for a period of time. Does it have anything to do with the parameter selection of the resonant network? What causes this situation?
Resonant network parameters are lr=100uH, cr=22nF, lm=500uH.
Thank you!
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/%E7%94%B5%E6%BA%90%E7%AE%A1%E7%90%86%E8%8A%AF%E7%89%87/IRS27951/td-p/675971
Show LessHi everyone,
we are having problems getting the firmware on the CY91F467P microcontrollers. The PCB design is an old one, before the part MB91F465P from Fujitsu/Spansion/Cypress was used. With the old part we did not have any problems flashing the firmware.
We use the internal Boot-ROM via USART4 and the tool "FME FR-Flashprogrammer V4.5.10 Build 9".
This is what we found out till now:
- the quartz (4MHz) on X0 and X1 swings as it is supposed to do
- when releasing the reset pin the current consumption increases slightly, the microcontroller seems to execute something
- the programming tool sends an 'V' to the RX pin of the UART4, but the Boot-ROM does not reply
Is there anything special to the CY91F467P that we need to keep in mind when flashing the firmware? The hardware design is proven to work with the MB91F465P.
BR, Stephan
I am using XMC4500 and have a problem, which occurs sometimes.
In general my CAN-Communication works fine.
Sometimes the received data and ID are mixed up with another message. For Example:
Receveid data:
Message 1) CAN ID: 0x181; Message: 0x19 00 1A 00 05 00 36 FF
Message 2) CAN ID: 0x141; Message: 0x67 8E 7B 8E 02 20 36 DD
My progamm process the message: CAN ID: 0x181 and Message 0x67 8E 7B 8E 02 20 36 DD
Therefore the data are not plausible.
Here is our can node configuration:
void canIf_xmcConfigNode(XMC_CAN_NODE_t * const can_node,
const XMC_CAN_NODE_NOMINAL_BIT_TIME_CONFIG_t * const nodeConfig)
{
OS_DO_PRIVIL(XMC_CAN_NODE_NominalBitTimeConfigure(can_node, nodeConfig));
OS_DO_PRIVIL(XMC_CAN_NODE_EnableConfigurationChange(can_node));
OS_DO_PRIVIL(XMC_CAN_NODE_SetInitBit(can_node));
if(can_node == CAN_NODE0)
{
XMC_CAN_NODE_SetReceiveInput(can_node, XMC_CAN_NODE_RECEIVE_INPUT_RXDCC); //CAN.N0_RXDC
}
else
{
XMC_CAN_NODE_SetReceiveInput(can_node, XMC_CAN_NODE_RECEIVE_INPUT_RXDCA); //CAN.N1_RXDA , CAN.N2_RXDA
}
OS_DO_PRIVIL(XMC_CAN_NODE_DisableConfigurationChange(can_node));
OS_DO_PRIVIL(XMC_CAN_NODE_Enable(can_node));
/* Enable CAN Alert Interrupt */
OS_DO_PRIVIL(can_node->NCR |= CAN_NODE_NCR_ALIE_Msk);
}
I am using one MO for receiving messages.
For Transmit massages I am using separate MO for each CAN-ID.
For receive CAN-Mgs the XMC_CAN_MO_Receive function from XMClib v2.1.20 is used.
However, the message will received by an interrupt, which pushes the message into a queue.
The OS process it afterwards. With a debugger I found out, that the message is corrupted before it is pushed to the Queue.
We are using classB selftests from Hitex. In these selftest the interrupts will deactived for short moments.
Our guess is, that during the interrupt-deactivation the can-node wont work properly.
By incresing the deactivation of interrupts, the failure rate increases.
Do you have any idea, how i can reduce this failure?
i tried to use a fifo-Receive Buffer, without any change.
Best regards,
Thorben Show Less
BTS724G was used to make a 24 PWM controller for fan control. The board is ready, now there are two issues. Can any boss help me solve this? Thank you very much. The circuit diagram is attached.
Problem 1: Short-circuit protection fails during peak testing.
Question 2: The working frequency is only 8KHZ, and I want to achieve 50KHZ.
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/%E6%99%BA%E8%83%BD%E7%94%B5%E6%BA%90%E5%BC%80%E5%85%B3/BTS724G-%E7%94%B5%E8%B7%AF%E8%AE%BE%E8%AE%A1%E6%97%A0%E6%B3%95%E8%BE%BE%E5%88%B0%E7%9B%AE%E6%A0%87%E7%9A%84%E9%97%AE%E9%A2%98/td-p/683903
Show Lesssmartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/%E4%BC%A0%E7%BB%9F%E5%BE%AE%E6%8E%A7%E5%88%B6%E5%99%A8/xe164fn/td-p/687744
Show Lesshow can i with Memtool read back and save-to-disk of the current memory content?
Thanks
For a customer of us we need to place the SAK-C505CA. The controller needs to be programmed before production and I was wondering if there is an SMD IC mount availiable that we could place on the PCB and afterwards mount the microcontroller.
Show LessHello, how do I define a variable to a specified RAM address? For example, define the i variable at RAM address 0x0200, thank you!
smartconx_target@Q!w2e3r4t5y6u7i8o9p0||/t5/%E4%BC%A0%E7%BB%9F%E5%BE%AE%E6%8E%A7%E5%88%B6%E5%99%A8/softune-%E5%A6%82%E4%BD%95%E6%8A%8A%E4%B8%80%E4%B8%AA%E5%8F%98%E9%87%8F%E5%AE%9A%E4%B9%89%E5%9C%A8%E6%8C%87%E5%AE%9A%E5%9C%B0%E5%9D%80/td-p/673835
Show Less