• Welcome to Andy's Workshop Forums. Please login or sign up.
 
April 16, 2024, 02:48:18 pm

News:

SMF - Just Installed!


Show posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - dientl

1
Hi Vport,
Did you follow the guidance when you buil the library (https://github.com/andysworkshop/stm32plus/blob/master/INSTALL.md) ?

For me, I used Cygwin and build with no matter. Also success when I build with Eclipse IDE

You should post the details error screen snapshot to figure out the error

Regards,
Ken
2
Dear all,
After we declare a can and use with below information for filter ability:
void initialise() {

      CAN_FilterInitTypeDef CANFilterInitStruct;

      CANFilterInitStruct.CAN_FilterNumber=0;
      CANFilterInitStruct.CAN_FilterMode=CAN_FilterMode_IdMask;
      CANFilterInitStruct.CAN_FilterScale=CAN_FilterScale_32bit;
      CANFilterInitStruct.CAN_FilterIdHigh=0x0000;
      CANFilterInitStruct.CAN_FilterIdLow=0x0000;
      CANFilterInitStruct.CAN_FilterMaskIdHigh=0x0000;
      CANFilterInitStruct.CAN_FilterMaskIdLow=0x0000;
      CANFilterInitStruct.CAN_FilterFIFOAssignment=0;
      CANFilterInitStruct.CAN_FilterActivation=ENABLE;

      CAN_FilterInit(&CANFilterInitStruct);
     }
 Could you please show with me how to change these parameters in case we need?

Thanks so much

Regards,
Ken
3
Dir sir,
Yes, I know. So far I can use your sharing project to connect Uno and STM32. Could you please give me some turorials in your code so I can edit to get the adc value from STM32. I see in the file named CommandExecutor.cpp have a switch case :
    case cmd::TPIN_GPIO_CONTROL:
      cmd::TpinGpioControl::execute(_tpinManager,_commandBuffer);
      break;

Of course I will declare the adc peripheral of STM32, and add that one in this switch case. Could you please give me some directions so I can edit code in 2 side: Uno and STM32 to accomplish getting the adc from stm32 to uno.

Thank you in advanced!
4
Hi all,
The project named Arduino Uno R3 graphics accelerator shield uses no pins was shared by Mr. Andy is really wonderfull for me. Could you all help me some ideas so I can get the data from STM32 chip ( such as ADC, etc) and return to the UNO board?

Thank you all and looking forward feedback from you all!