Search found 15 matches
- Wed Jul 20, 2022 10:09 am
- Forum: Bug Reports
- Topic: How to use PWM Timer 16, 17 on NUCLEO-F302R8?
- Replies: 6
- Views: 2206
Re: How to use PWM Timer 16, 17 on NUCLEO-F302R8?
Hi, TIM2 counter is 32 bits wide and has 4 comparators, see the STM32 RM for details. Other timers are 16 bits. BTW, make sure that the timers are actually started by the driver, it could be a SW issue on that specific platform. Giovanni Finally, did it. After changed 'STM32_PWM_USE_TIM1' define fr...
- Tue Jul 19, 2022 8:10 am
- Forum: Bug Reports
- Topic: How to use PWM Timer 16, 17 on NUCLEO-F302R8?
- Replies: 6
- Views: 2206
Re: How to use PWM Timer 16, 17 on NUCLEO-F302R8?
Hi, Apparently mcuconf.h does not have all required settings for the 302, just add the missing definitions, you could take them from the mcuconf.h of an F303. Giovanni Thank you Giovanni for your reply. I tried add missing definitions like below #define STM32_PWM_USE_ADVANCED FALSE #define STM32_PW...
- Wed Jul 13, 2022 3:22 am
- Forum: Bug Reports
- Topic: How to use PWM Timer 16, 17 on NUCLEO-F302R8?
- Replies: 6
- Views: 2206
How to use PWM Timer 16, 17 on NUCLEO-F302R8?
Hello. I'm testing PWM Timer. There are TIM1, 2 , 6, 15, 16 , 17 on NUCLEO-F302R8. I want use TIM 2 , 16 , 17 for led dimming I made 'RT-STM32F302R8-NUCLEO64_MYBOARD' project. I'm working on 'ChibiOS 20.3.1 stable' version(checked Components section in 'readme.txt') First, I did led dimming using TI...
- Wed Jul 13, 2022 2:51 am
- Forum: STM32 Support
- Topic: please check console log, when use chprintf
- Replies: 2
- Views: 1023
Re: please check console log, when use chprintf
Giovanni wrote:Hi,
Do not pass uint64_t to chprintf(), cast it to uin32_t or assign values to 32 bits variables beforehand.
Giovanni
Aright. No more problem. Thank you
- Mon Jun 13, 2022 8:59 am
- Forum: STM32 Support
- Topic: please check console log, when use chprintf
- Replies: 2
- Views: 1023
please check console log, when use chprintf
Hello, somebody help me please? Below is my example code. uint64_t tempVal = 315989888600; chprintf(chp1, "\t tempVal : %d %03d\r\n", (tempVal / 1000), (tempVal % 1000)); uint64_t tempVal2 = tempVal % 1000; chprintf(chp1, "\t tempVal2: %03d\r\n", tempVal2); And I got console log ...
- Mon Feb 07, 2022 6:52 am
- Forum: STM32 Support
- Topic: STM32F302K8 CAN bus test
- Replies: 1
- Views: 1004
STM32F302K8 CAN bus test
Hi, I'm trying CAN bus test on STM32F302K8(custom board). I transmit uavcan data using 1Mbit/s(with below cancfg), /* CAN_MCR */ CAN_MCR_ABOM | // Automatic Bus-Off Management CAN_MCR_AWUM | // Automatic WakeUp Mode CAN_MCR_TXFP, // Transmit FIFO Priority /* CAN_BTR */ //CAN_BTR_LBKM | // Loop BacK ...
- Fri Oct 22, 2021 3:54 am
- Forum: STM32 Support
- Topic: Firmware bypass using 2 i2c ports Topic is solved
- Replies: 9
- Views: 4067
Re: Firmware bypass using 2 i2c ports Topic is solved
There's an alternative I2C slave, originally written by genosensor, and modified by me for the later I2C ports, if you search I tried I2C master, slave test from link: viewtopic.php?t=3544 I used 2 boards - Board-1(I2C Master) - Board-2(I2C Slave) Print receive data on Board-2(I2C Slave) Push user ...
- Wed Oct 20, 2021 10:37 am
- Forum: STM32 Support
- Topic: Firmware bypass using 2 i2c ports Topic is solved
- Replies: 9
- Views: 4067
Re: Firmware bypass using 2 i2c ports Topic is solved
There's an alternative I2C slave, originally written by genosensor, and modified by me for the later I2C ports, if you search I tried I2C master, slave test from link: https://forum.chibios.org/viewtopic.php?t=3544 I used 2 boards - Board-1(I2C Master) - Board-2(I2C Slave) Print receive data on Boa...
- Tue Oct 12, 2021 11:01 am
- Forum: STM32 Support
- Topic: Firmware bypass using 2 i2c ports Topic is solved
- Replies: 9
- Views: 4067
Re: Firmware bypass using 2 i2c ports Topic is solved
Thank you, Bob.
I'm trying that. But, It's still not easy.
I will keep doing
- Mon Sep 13, 2021 6:21 am
- Forum: STM32 Support
- Topic: Firmware bypass using 2 i2c ports Topic is solved
- Replies: 9
- Views: 4067
Re: Firmware bypass using 2 i2c ports Topic is solved
Aright, I will try.
Thank you Giovanni.
Thank you Giovanni.