Posted on January 15, 2014 at 01:00
I set up CAN1 for mask filters as follows:
CAN 1, Btr 0129000a, Esr 00000000, Mcr 00000040, Msr 00000c00
Tsr 1c000000, Rf0r 00000000, Rf1r 00000000, Ier 0003875b
filter Fmr 2a1c0e00, Fm1r 00000000, Fs1r 0...
Posted on December 13, 2013 at 17:20CAN requires at least two nodes in order to work. I'm trying to determine what the error signature is for a node that is not connected to the network so that the node can go into a timed sleep/retry mode rather t...
Posted on August 26, 2013 at 22:06While dumping some memory from the CCM on an STM32F405 at address 0x1000 FF00 I noticed the GDB memory browser window cut off at 0x1000 FFEF as the end of valid memory. The last 16 bytes of CCM didn't show. Has an...
Posted on August 19, 2013 at 23:21A warning so no one else will get caught by this. On the original STM32F4 design docs pin 99 on LQFP100 is shown as RFU or PDR_ON, and diagrams show it can be connected to Vdd. The gotcha is this only applies to r...
Posted on July 12, 2013 at 17:42Here is the problem situation: I use a 16KB internal flash sector to store configuration parameters. Code in the flash performs the flash erase and write operation, which works fine. Next I enable the WWDG windowed...
Posted on August 15, 2014 at 01:00The SPI is buffered so you can't rely on just the SR status register or the TXNE bit. But you can take advantage of how the underlying SPI mechanism works to determine when the last bit has been shifted out and the...
Posted on August 13, 2014 at 22:50The 'F103 has an FSMC. The STM3210E board has a 16 bit NOR flash, 8 bit NAND flash, 16-bit SRAM and LCD controller on the FSMC. The NOR is a Spansion GL128P90FFIR2, 8M x 16 on the NE2 chip select, at 0x6400 0000. ...
Posted on August 08, 2014 at 21:18In my experience what works for JTAG also works for SWD. I use a 10 pin 2mm header, short traces about 4cm at most, with 10 ohm resistors in series between each JTAG/SWD pin and the header, and a 0.1uf cap across p...
Posted on August 08, 2014 at 21:08<< I know that my SPI works because I can communicate with my screen controller on the same SPI2. And this SPI have the same config parameters as the SPI1 on the discovery board coded by ST. So I think there is no p...
Posted on August 08, 2014 at 20:57Look at the difference between the two encoder phases. It sounds like you are oscillating back and forth, net change is zero. Make sure your direction phase is 90 degrees out from the step phase. If the direction...