Legacy microcontrollers Forum Discussions
Hi,
I need to program the MB9BF368 controller with command line.
I have found this thread
https://community.cypress.com/thread/47247
about this topic.
I have tried it as described, but I always get the error "No.101 Please set "hex file"".
I can't find any detailed description of the command line use of "FLASH MCU Programmer for FM0+/FM3/FM4 (FLASH).
My used command:
flash.exe flash "MB9BF368M/N/R" 4MHz xxx.bin COMxx dialog
Can you help?
Thanks
BR
Jürgen
Show LessHow i can use mb2146-07-e on windows10?.
Hi, there
I am evaluating the board S6E1C3 and need help on the hsspi peripheral.
1. I downloaded all 4 reference manuals from the following link:
and I couldn't find any introduction/discussion related to hsspi in any of them.
Does anybody know where to locate the reference manual related to the hsspi interface ?
2. There is one PDL example to use the hsspi interface, but it is not for the evaluation board I have at hand. Also, that particular example is for the use of external flash memory. My spi devices are accelerometer, external flash memory and an interface to an external bluetooth chip. Therefore, I need a general understanding of hsspi PDL.
Any comments/suggestions will be appreciated.
Thank you.
Eric
Show LessThe write/Erase characteristics of the FLASH memory are described in the data sheet.
(eg CY9B520M Series of datasheet)
I would like to confirm the worst case (Max) conditions described here.
Q1.
The condition with the shortest erase time.
→ For example, when the voltage is high (VCC = 5.5V) and the temperature is low, the erase time is the shortest?
Q2.
The condition with the longest erase time
→ For example, when the voltage is low (VCC = 2.7V) and the temperature is high, the erase time is the longest?
Q3.
Please teach if there are other factors.
→ For example,
-Erase time increases as the number of erasures increases
-Other factors
Best Regards,
Harukawa
Show LessIs there a possibility to connect a differential analog signal to the XMC4400 MCU for analog to digital conversion or do i have to convert the signal to a single ended signal to read it?
Thanks in advance
Andy Show Less
Hi, there
I've encountered an issue using the CSIO (SPI) PDL. In the attached figure (screenshot from Saleae capture), I fired 5 Mfs_Csio_SendData(Csio1, databuf, True/False), calls to write/read a SPI slave device (flash memory). The reading and writing shown in the figure of the SPI buses are all correct. I write the first byte, 0x9F to the device, and it returns 3 bytes, 0x62, 0x06, and 0x13 with me writing 3 followup dummy bytes (0xFF). Everything looks good.
When I said "it returns 3 bytes", what I actually did was to use the same function call: Mfs_Csio_SendData(CsioCh1, au8CsioMasterTxBuf[4], FALSE); with the last argument being 'False', meaning "dummy write". In this way, the MOSI will show 'FF', as it should be, and things are working fine.
The issue is, the returned values shown as 0x62, 0x06 and 0x13 are shifted to the right by 1 bit when I read them back using the function call: Mfs_Csio_ReceiveData(CsioCh1), so they become 0x31, 0x03 and 0x09. What Mfs_Csio_ReceiveData(CsioCh1) does is nothing but reading the register CsioCh1->RDR. I use the debugger to read the register CsioCh1->RDR, and indeed, they are the wrong values as pointed out.
The followings are the contents of my callback function for CSIOTX:
/**
******************************************************************************
** \brief CSIO master transfer interrupt callback function
******************************************************************************/
static void CsioMasterTxIrqCallback(void)
{
volatile en_result_t tmp;
u32SendCnt++;
if(u32SendCnt == 1)Mfs_Csio_SendData(CsioCh1, au8CsioMasterTxBuf[0], TRUE);
if(u32SendCnt == 2)
{
Mfs_Csio_SendData(CsioCh1, au8CsioMasterTxBuf[1], FALSE); // Dummy Write
tmp16[0] = Mfs_Csio_ReceiveData(CsioCh1);
}
if(u32SendCnt == 3)
{
Mfs_Csio_SendData(CsioCh1, au8CsioMasterTxBuf[2], FALSE); // Dummy Write
tmp16[1] = Mfs_Csio_ReceiveData(CsioCh1);
}
if(u32SendCnt == 4)
{
Mfs_Csio_SendData(CsioCh1, au8CsioMasterTxBuf[3], FALSE);
tmp16[2] = Mfs_Csio_ReceiveData(CsioCh1);
}
if(u32SendCnt == 5)
{
Mfs_Csio_SendData(CsioCh1, au8CsioMasterTxBuf[4], FALSE); // Dummy write
tmp16[3] = Mfs_Csio_ReceiveData(CsioCh1); // Read from here gives you 0
}
if(u32SendCnt == 6)
{
// Read it again.
while(TRUE != Mfs_Csio_GetStatus(CsioCh1, CsioTxEmpty));
Mfs_Csio_SendData(CsioCh1, au8CsioMasterTxBuf[4], FALSE); // Dummy write
/* Wait for Master TX bus idle (until last data is sent) */
while(TRUE != Mfs_Csio_GetStatus(CsioCh1, CsioTxIdle));
tmp16[4] = Mfs_Csio_ReceiveData(CsioCh1);
}
if(u32SendCnt == 7)
{
Mfs_Csio_DisableIrq(CsioCh1, CsioTxIrq);
Gpio1pin_Put( GPIO1PIN_P34, 1u); // Chip Select Pin
tmp16[5] = Mfs_Csio_ReceiveData(CsioCh1);
}
return;
}
Any comment/suggestion will be highly appreciated.
Thank you.
Regards,
Eric
Show LessThe spec of "Power ramp rate" are described in "12.4.7 Power-on Reset Timing" in the data sheet of CY9AF112NAPMC-G-MNE2.
(Min = 0.9 mV/us、Max = 1000mV/us)
Q.
How does the CPU start up if it cannot meet this spec?
1) Start up by Max (0.744 ms) of "Time until releasing Power-on reset"
2) Start up after Max (0.744 ms) of "Time until releasing Power-on reset"
-> 2-1)In this case, how long does it take to start up?
3) Power-on reset is not released and MCU does not start up
4) Other operations
Best Regards,
Harukawa
Show LessHello
I am understanding that SHE can be changed by the customer. But, what specific features of SHE can be changed by the customer? and , how can they change it?
Best Regards,
Arai
Dear,
Please tell me what's different between MB95F564KPFT-G-SNE2 and MB95F564KPFT-G-UNE2 ?
There is only different between SNE2 and UNE2 and I can't find any explanation on datasheet (https://www.cypress.com/file/239836/download)
Show Less