Legacy microcontrollers Forum Discussions
Hello,
I'm working on a S6BT112A design without a MCU and can therefore not simply delay the rise of NSLP on Power-On.
Would it be a valid design to connect NSLP permanently to +5V?
Would this put the S6BT112A into Normal Mode after Power On?
+5V would be available sooner to the circuit than V_Bat, could this be an issue if the NSLP & SELMS Pins are driven high before the Bat Pin is powered?
Here is a quick illustration of my intended circuit.
Best Regards
Achim
Show LessHello,
When a software watchdog reset (SWDGR) occurs, if DSRAMR is set correctly, is the data in SRAM2 retained?
At this time, the data in SRAM0/1 can not be retained, is this right?
Regards,
Shimamura
Show LessI'm using an MB9BF368R with IAR Workbench and PDL 2.1.
When I'm trying to write an 16-bit value to workflash, only 8-bit were written.
Here is my code example:
__disable_interrupt();
uint32_t adr = 0x200C008D;
WFlash_ChipErase();
uint16_t test = 0x12AB;
WFlash_WriteData16Bit((uint16_t*)adr, (uint16_t*)&test, 1);
__enable_interrupt();
Does anyone have a code example of how to use the PDL 2.1 workflash functions?
BR
Jürgen
Show LessI have a function that I executed on my board (Application kit TC275) from the HighTec Free tool chain and I try to retrieve this value to my PC by the USB connection. Also, I want to know the size that the function take on my board and to retrieve it on my PC. (maybe I can retrieve all these informations on a txt file that the board create and send to the PC by USB ?)
main(){
// initialization of the board
my_function(); // how can I retrieve the return value on the PC and also the size on memory of this function
}
Thank you in advance. Show Less
Base on datasheet https://www.cypress.com/file/190691/download
15.3 Errata Summary mention Silicon reversion has Rev.B & Rev.C.
Which silicon reversion is Cypress current ship out?
How to identify?
Thanks,
Mitchell
Show LessHello,
with the manuals/documentation and PDL examples I try to write a controler for BLDC. The goal is to have 3 current channels and up to 6 further channels for e.g. temperature measurement hardware triggered.
The idea is to configure the MFT as up/down counter to generate the 3 PWM signals, or even 6 for High/Low side. At a given pointer after writing to the PWM cycle register, the ADC channel scan must be started using the MFT (FRT, OCU, WFG). This means, both must be configured properly. In ideal the DMA stores the channels and I'm able to use the samples to calculate physicals for further processing.
The reference manuals (Timer, Analog, etc.) shows what all is possible, but not how to. The PDL 2.1.0 has some examples which doesn't cover those, a lot of software triggered stuff - for my knowledge not really usefull. Further, the documentation mentions some examples which doesn't exist, e.g. from FM4 Peripheral Driver Library
chapter 7.2.3ADC Examples adc_bt, adc_dma, adc_irq, adc_mft, ...
So, are there any up-to-date examples using the PDL useable here? How to test proper configuration with combining MFT, ADC via e.g. testing ISR etc? How to get samples in a fast manner without iterate over all scanned channels? (As I understood, the Adc_ReadScanFifo() reads out the fifo and I have to dispatch the u32 data, even emptying/iterating the fifo to get a specific scanned channel).
Attached my (non working) work-in-progress for these as IAR and eclipse (for editing) project, so other IDE like KEIL shouldn't have a problem.
Show LessHi
I need to program the micro MB9BF418TPMC with batch files, but I can't find anything that can help me, I didn't find any shell ..
Can you help me?
Thank you
Greetings
RT,SFDC里面CY9BF218SPMC-GK7E1是量产的状态,不过最新的停产通知好像已经发出来了,请帮忙确认下这颗料状态?如果停产,是否有可替换的料,不一定要P2P的,和218S功能资源一样的也行?
During serial programming of MB9BF568R the FLASH MCU programmer erase the working flash sector starting from 0x200C0000.
I've searched out for some FLASH MCU programmer setting, but nothing.
Is there a way to perform serial programming without erasing data flash memory?
Thanks
Mauro
Show Less