• Welcome to Andy's Workshop Forums. Please login or sign up.
 
April 17, 2024, 07:31:29 pm

News:

SMF - Just Installed!


Recent posts

Pages 1 2 3 4 5 6 7 8 9 10
1
stm32plus C++ library / Getting started & capacitive t...
Last post by sixtyfive - August 03, 2020, 05:29:02 am
Hi all, hi Andy,

for my current project I'm finally taking the plunge and trying to move from the comfortable garden that is the Arduino/PlatformIO world to try and learn to "properly" program a microcontroller with a less bloated setup. I've always liked your hardware projects, and so now, since the µC in question is an STM32F042(K6), I'm wondering if the same will be true for your software, projects, too, and if stm32plus would be a good trail to start wandering down.

So far I've only spent time reading various of your blog articles and browsing the forums to get an idea how to set up a toolchain in Linux. The one thing that truly scares me, though, is: how will I get what ST call "touch sensing control" to work (the project requires 4 simple buttons - a binary "touched" or "not touched" is enough, though)? There's AN5105, which has pretty scary-looking code in it, and then there's an Arduino library called ADCTouchSensor which has quite readable code but looks as if it's specifically not using the hardware's built-in touch controller.

Looking at the stm32plus sources I'm wondering if there's no direct support for capacitive touch sensing but perhaps it could be made to work by learning about the registers involved and doing it half-manually?

Cheers
Jonathan
2
General discussion / Re: Asus Z10PE-D16 WS 4101 BIO...
Last post by rockbert - April 17, 2020, 05:03:51 pm
Hi Andy,
after restoring your bios with button from usb its still normal 4101.
How can i realize the bifurcation?
Thanks in advance.

Robert
3
General discussion / Re: Asus Z10PE-D16 WS 4101 BIO...
Last post by rockbert - April 17, 2020, 04:00:04 pm
Hi Andy,
i loaded your bios via iKVM-Console succesfully three times, but it looks like normal version 4101.
So how can i reach the settings to enable PCIE bifurcation, cant find it.

Thanks in advance.
Robert
4
Hardware projects / again hp z800
Last post by mateqsz - April 02, 2020, 01:53:11 pm
hi, i know big (26 pages) thread in this forum about z800 but still can't run it.
have mobo z800, aliexpress adapter 24p+2molex to 18+10p, 680W psu and what i need to do to run?
which pins are for power button?
5
stm32plus C++ library / Re: errors in building library...
Last post by dientl - March 05, 2020, 09:52:43 pm
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
6
stm32plus C++ library / Help to change the Can filter ...
Last post by dientl - March 05, 2020, 08:41:52 pm
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
7
General discussion / Asus Z10PE-D16 WS 4101 BIOS mo...
Last post by Andy Brown - March 04, 2020, 09:12:43 am
I've recently been upgrading my PC from one based around the HP Z800 motherboard to a new one based on a pair of cheap Xeon E5-2678 v3 CPUs in an Asus Z10PE-D16 WS board. As part of that upgrade I've installed an Asrock Ultra Quad NVME PCIe card adapter. Like the equivalent Asus Hyper card this requires bifurcation of the PCIe slot which means splitting it from fixed x8 or x16 lanes to x4/x4 or x4/x4/x4/x4.

The Asus BIOS doesn't expose this option, but it is there if you load the BIOS into AMIBCP. I've done that, and made the option visible. The modified BIOS can be downloaded here:

https://drive.google.com/file/d/1YSEnI8z1pOtUhZz416uyEbQSFcA_x-Q7/view?usp=sharing

I have confirmed that the option is now visible but as yet I only have one NVME drive on the Asrock card so I can't confirm if it actually takes effect when selected. I'm posting this here in the hope it's helpful for someone.

I flashed this BIOS by writing it to a USB drive and using the BIOS flashback option where you hold down the button on the back of board where the IOs are and boot the machine.
8
Hardware projects / Re: HP Z440 12 pin Memory conn...
Last post by xzchina - February 26, 2020, 11:51:07 pm
Quote from: hen6e on February 13, 2018, 07:04:53 pmAs I have learnt, the p1 connector pinout should be as shown,but I need your confirm.
The 10、1 Pin is output for 5V equipment like sata from VRMs on the motherboard.
The 16 pin is a POWER_GOOD signal,which trun to HIGH when the PSU finish startting period.
The 17 pin is a 5v stand_by voltage which is different from z420's 11V.
The 18 pin is a negative 12V input for RS232.
The 8 pin is PS_on,connect this pin to groung will trun on the PSU.
The 9 pin PSU_ID tells the motherboard which psu is installed ,it is different from standard ATX psu.
If you have oscilloscope or logic analyzer, please capture the waveform of PSU_ID.
Thank you!


I come from China
24pin -> 18pin
Is this correct? 
9
stm32plus C++ library / errors in building library
Last post by vport - February 19, 2020, 05:21:48 am
I am getting errors in building stm32 plus library on windows platform google serach shows that error are due to python 3 instead of 2 can you update file SConstruct for python 3
 thanks
10
Hardware projects / Requesting a bios dump from a ...
Last post by hp_z800 - February 17, 2020, 08:32:06 am
Keeping it simple, can anyone provide me a complete bios dump from a z600 (rev3)? I am planning on replacing the bios chip (rev1) with the replacement bios (rev3) for that updated block date. please correct me if it is possible.
Pages 1 2 3 4 5 6 7 8 9 10