Skip navigation
All Places > Automotive MCUs Community

SPC5 Automotive MCUs

Log in to follow, share, and participate in this community.

Recent Activity

alem_
Hello, I'm working with SPC56EL60L3 and SPC5STUDIO v5.0. I need to implement flash array integrity check,as part of the power on self test procedure. I got some sample code from ST application engineering, but I can't get it to work. The odd thing is that, if I try to run the code in debug mode, it works.. When I try to run it outside of the… (Show more)
in SPC5 Automotive MCUs
Vladimir Romanov
You can enable serial driver in discovery boards with integrated jtag. 1) Download FT_Prog from FTDI site 2) Change ftdi chip serial number to 1626 (see serial.png) 3) remove, insert USB cabe. "PLS USB Serial port" will be listed in device manager 4) For SPC570S-Disp board place jumper between TX &TXD (JP4), RX & RXD  (JP1)
in SPC5 Automotive MCUs
alem_
Hello, I'm working with SPC56EL60L3 and SPC5studio 5.0. My question is related to core exceptions handling: let's consider a division by zero. What happens if such a division occur? I there any predefined service routine that handles the exception? How is it possible to configure the behaviour of the microcontroller to handle this kind of… (Show more)
in SPC5 Automotive MCUs
123.abc
Hi, I am using the SPC570S40E1 microcontroller. When looking at the MOSI line on the scope, I am seeing spikes right around the end of a frame even when transmitting all zeros. The device I am trying to communicate with requires a 40 bit message. To achieve that, I am sending 16,16 and 8 bit frames.    There is one spike at beginning of the second… (Show more)
in SPC5 Automotive MCUs
Yuri Nagornii
Hi all. I have a problem with SPC570S50E1.   SWT has been gonfigure with:   void swt_init(bool status) { INTC_PSR (SPC5_SWT_NUMBER) = INTC_PSR_ENABLE(INTC_PSR_CORE0, SPC5_SWT_PRIORITY); SWT_2.TO.R = 0x0186A000;                /* 1.6s / 16000000Hz = 256000000 = 0x0186A000 */ SWT_2.CR.B.SMD = 0;                         /* Fixed Service… (Show more)
in SPC5 Automotive MCUs
dieter 123
Hi i need to set up a demo for CAN protocol. I need to recieve some CAN cmds and toggle a pin. Which eval board should I get? Where would I find example projects for a can receiver? Thx
in SPC5 Automotive MCUs
William craig
SPC560B40x how to get the programmers reference or what ever they call the long form documentation for these chips. This is not the power arch manual but the how to use the CAN controller ADC ect?
in SPC5 Automotive MCUs
Binbin Zhang
Hi ST expert,   I am trying to use SPC5 as a multi-channel PWM controller. Normally for this kind of application, the duty cycle calculation will be done in an interrupt. For 100kHz PWM, the allowed interrupt duration is <10uS, for example 8uS max. The rest of time (10uS-8uS=2uS) should be reserved for other processes, such as communication etc.… (Show more)
in SPC5 Automotive MCUs
vierman.gert
When compiling a SPC5 studio generated demo program with -Os to optimize on size, the resulting code stalls during initialisation. in eirqInit() the loop     while (eirqconf[i].eirqNumber != -1) {   never terminates when the eirqconf[] table has no entries except for the terminator record where irq is set to -1     const eirq_config… (Show more)
in SPC5 Automotive MCUs
vierman.gert
Hello,   Trying to make a workaround for the flash-not-ready-after-leaving-power-saving problem, I am placing the below function in a section which goes into the .data section:   __attribute__ (( __section__ ("halt"))) void halt0(void) { ME.HALT0.B.CFLAON = ME.RUN[0].B.CFLAON = 1; ME.HALT0.B.DFLAON = ME.RUN[0].B.DFLAON = 1; ME.MCTL.R =… (Show more)
in SPC5 Automotive MCUs
Load more items